This sensor from TPF collection
Article | |
---|---|
Collibration | |
Precision | |
Ranges | |
Renew sensors |
source("utilities_tpf.r"); sensors.t.ol_spl_fujii_1977 <- function(Ol, Spl, ...){ Spl <- tpf.recalc_minaral("SPL",Spl); Ol <- tpf.recalc_minaral("OL",Ol); X <- Spl$Cr_pfu / (Spl$Cr_pfu + Spl$Al_pfu + Spl$Fe_p3_pfu); Z <- Spl$Fe_p3_pfu / (Spl$Cr_pfu + Spl$Al_pfu + Spl$Fe_p3_pfu); N <- Spl$Fe_p2_pfu / Spl$Mg_pfu; M <- Ol$Mg_pfu / (Ol$Fe_p2_pfu + Ol$Fe_p3_pfu); T <- (775 + 2010 * X) / (log(M * N) - 0.006 - X * 0.003 - Z * 4) - 273; return(data.frame(Name=paste0(Spl$Name,"-", Ol$Name),T_calc=T)); } sensors.t.ol_spl_fujii_1977.args <- function(){ ars <- list(); ars$minerals <- c("Ol", "Spl"); ars$ranges <- c(); return(ars); } #sensors.t.ol_spl_fujii_1977.test <- function(){ # #}