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