This sensor from TPF collection
Article | |
---|---|
Collibration | |
Precision | |
Ranges | |
Renew sensors |
source("utilities_tpf.r"); sensors.t.grt_bt_perchuk_1981 <- function(Grt, Bt, ...){ Bt <- tpf.recalc_minaral("BT",Bt); Grt <- tpf.recalc_minaral("GRT",Grt); X <- Grt$Mg_pfu / (Grt$Fe_p2_pfu + Grt$Fe_p3_pfu + Grt$Mg_pfu + Grt$Mn_pfu); Y <- Bt$Mg_pfu / (Bt$Fe_p2_pfu + Bt$Fe_p3_pfu + Bt$Mg_pfu + Bt$Mn_pfu); T <- 3650 / (log(Y / (1 - Y) * (1 - X) / X) + 2.57) - 273; return(data.frame(Name=paste0(Grt$Name,"-", Bt$Name),T_calc=T)); } sensors.t.grt_bt_perchuk_1981.args <- function(){ ars <- list(); ars$minerals <- c("Grt", "Bt"); ars$ranges <- c(); return(ars); } #sensors.t.grt_bt_perchuk_1981.test <- function(){ # #}