====== Cpx-Opx: Finnerty, Boyd, 1984 ======
For Cpx-Opx. Only for garnet peridotites. Constraint for CPX: 2*(CA/(CA+MG)) < 1.
=== Details ===
This sensor from [[:about_tpf|TPF]] collection
^ Article | (clarification required) |
^ Callibration | |
^ Precision | |
^ Ranges | |
^ Renew sensors | |
* заголовок
* краткое описание
* статья
* ссылка
* карточка
* подробное описание
* код
* тест
=== Source ===
source("utilities_tpf.r");
sensors.t.cpx_opx_finnerty_boyd_1984 <- function(Cpx, P, usePFU = FALSE, ...){
row_names = Cpx$Name;
if(!usePFU) Cpx <- tpf.recalc_minaral("CPX",Cpx);
X <- Cpx$Ca_pfu / (Cpx$Ca_pfu + Cpx$Mg_pfu);
T <- rep(NaN, nrow(Cpx));
if (2 * X<1) {
T <- exp((log(1 - 2 * X) + 5.37 * log(1941 + 5.04 * P)) / 5.37) - 273.15;
}
return(data.frame(Name=paste0(row_names),P=P,T_calc=T));
}
sensors.t.cpx_opx_finnerty_boyd_1984.args <- function(){
ars <- list();
ars$minerals <- c("Cpx");
ars$ranges <- c("P");
return(ars);
}
sensors.t.cpx_opx_finnerty_boyd_1984.test <- function(){
sensors.t.cpx_opx_finnerty_boyd_1984(data.frame(Name=c('Test'), SiO2_wtp=c(50), CaO_wtp=c(10), MgO_wtp=c(20)),15);
}
{{tag> tpf Cpx AP_igroup fixed}}