This sensor from TPF collection
Article | |
---|---|
Collibration | |
Precision | |
Ranges | |
Renew sensors |
source("utilities_tpf.r"); sensors.t.ol_cpx_mori_green_1978 <- function(Ol, Cpx, ...){ Ol <- tpf.recalc_minaral("OL",Ol); Cpx <- tpf.recalc_minaral("CPX",Cpx); Z <- (Cpx$Fe_p2_pfu + Cpx$Fe_p3_pfu) / (Cpx$Mg_pfu); M <- (Ol$Fe_p2_pfu + Ol$Fe_p3_pfu) / (Ol$Mg_pfu); X <- (Ol$Fe_p2_pfu + Ol$Fe_p3_pfu) / (Ol$Fe_p2_pfu + Ol$Fe_p3_pfu + Ol$Mg_pfu); if (X<0.2) { T <- 1900 / (log(M / Z) + 1.28) - 273; } if (X>0.2) { warning(" IS NOT TO BE USED FOR FE/(FE+MG) IN OL >0.2"); } return(data.frame(Name=paste0(Cpx$Name,"-", Ol$Name),T_calc=T)); } sensors.t.ol_cpx_mori_green_1978.args <- function(){ ars <- list(); ars$minerals <- c("Ol", "Cpx"); ars$ranges <- c(); return(ars); } #sensors.t.ol_cpx_mori_green_1978.test <- function(){ # #}