This sensor from TPF collection
Article | |
---|---|
Collibration | |
Precision | |
Ranges | |
Renew sensors |
source("utilities_tpf.r"); sensors.t.ol_spl_jackson_1969 <- function(Ol, Spl, ...){ Spl <- tpf.recalc_minaral("SPL",Spl); Ol <- tpf.recalc_minaral("OL",Ol); XOL <- Ol$Mg_pfu / (Ol$Fe_p2_pfu + Ol$Fe_p3_pfu); XSPL <- Spl$Mg_pfu / Spl$Fe_p2_pfu; ICR <- Spl$Cr_pfu / (Spl$Fe_p3_pfu + Spl$Al_c4_pfu + Spl$Al_c6_pfu + Spl$Cr_pfu); IAL <- (Spl$Al_c4_pfu + Spl$Al_c6_pfu) / (Spl$Fe_p3_pfu + Spl$Al_c4_pfu + Spl$Al_c6_pfu + Spl$Cr_pfu); IFE <- Spl$Fe_p3_pfu / (Spl$Fe_p3_pfu + Spl$Al_c4_pfu + Spl$Al_c6_pfu + Spl$Cr_pfu); K <- XOL / XSPL; T <- (5580 * ICR + 1018 * IAL - 1720 * IFE + 2400) / (0.9 * ICR + 2.56 * IAL - 3.08 * IFE - 1.47 + 1.9872 * log(K)) - 273.15; return(data.frame(Name=paste0(Spl$Name,"-", Ol$Name),T_calc=T)); } sensors.t.ol_spl_jackson_1969.args <- function(){ ars <- list(); ars$minerals <- c("Ol", "Spl"); ars$ranges <- c(); return(ars); } #sensors.t.ol_spl_jackson_1969.test <- function(){ # #}