====== Opx-Ol-Qtz: Fonarev, 1987 ======
=== Details ===
This sensor from [[:about_tpf|TPF]] collection
^ Article | |
^ Collibration | |
^ Precision | |
^ Ranges | |
^ Renew sensors | |
* заголовок
* краткое описание
* статья
* ссылка
* карточка
* подробное описание
* код
* тест
=== Source ===
source("utilities_tpf.r");
sensors.p.opx_ol_qtz_fonarev_1987 <- function(Opx, Ol, Qtz, Temp, ...){
T <- Temp;
Opx <- tpf.recalc_minaral("OPX",Opx);
X <- (Opx$Fe_p2_pfu + Opx$Fe_p3_pfu) / (Opx$Fe_p2_pfu + Opx$Fe_p3_pfu + Opx$Mg_pfu + Opx$Ca_pfu + Opx$Mn_pfu + Opx$Al_c6_pfu);
P <- - 31.83 + 62.09 * X - 54.84 * X^2 + 28.7 * X^3 + 0.00663 * (T + 273.15);
warning(" ONLY OPX COMPOSITION IS INVOLVED IN CALCULATIONS, ACCURACY +-0.4 KBAR");
return(data.frame(Name=paste0(Opx$Name),Temp=Temp,P_calc=P));
}
sensors.p.opx_ol_qtz_fonarev_1987.args <- function(){
ars <- list();
ars$minerals <- c("Opx", "Ol", "Qtz");
ars$ranges <- c("Temp");
return(ars);
}
#sensors.p.opx_ol_qtz_fonarev_1987.test <- function(){
#
#}
{{tag> tpf Opx }}