This sensor from TPF collection
Article | |
---|---|
Collibration | |
Precision | |
Ranges | |
Renew sensors |
source("utilities_tpf.r"); sensors.t.cpx_opx_sachtleben_seck_1981 <- function(Cpx, Opx, P, ...){ Opx <- tpf.recalc_minaral("OPX",Opx); X <- 100 * Opx$Ca_pfu / (Opx$Ti_pfu + Opx$Al_c6_pfu + Opx$Cr_pfu + Opx$Fe_p2_pfu + Opx$Fe_p3_pfu + Opx$Mn_pfu + Opx$Mg_pfu + Opx$Ca_pfu + Opx$Na_pfu); if (P>14.999) { T <- 812 + 163.1 * X - 10.3 * X * X; } if (P<14.999) { warning(" IS NOT TO BE USED FOR P<15 KBAR"); } return(data.frame(Name=paste0(Opx$Name),P=P,T_calc=T)); } sensors.t.cpx_opx_sachtleben_seck_1981.args <- function(){ ars <- list(); ars$minerals <- c("Cpx", "Opx"); ars$ranges <- c("P"); return(ars); } #sensors.t.cpx_opx_sachtleben_seck_1981.test <- function(){ # #}