This sensor from TPF collection
Article | |
---|---|
Collibration | |
Precision | |
Ranges | |
Renew sensors |
source("utilities_tpf.r"); sensors.t.bt_crd_grt_kurepin_1991_a <- function(Bt, Crd, Grt, ...){ Grt <- tpf.recalc_minaral("GRT",Grt); X <- (Grt$Fe_p2_pfu + Grt$Fe_p3_pfu) / (Grt$Fe_p2_pfu + Grt$Fe_p3_pfu + Grt$Mg_pfu); T <- 1219 - 708 * X; warning(" GRT COMPOSITION IS INVOLVED IN CALCULATION"); return(data.frame(Name=paste0(Grt$Name),T_calc=T)); } sensors.t.bt_crd_grt_kurepin_1991_a.args <- function(){ ars <- list(); ars$minerals <- c("Bt", "Crd", "Grt"); ars$ranges <- c(); return(ars); } #sensors.t.bt_crd_grt_kurepin_1991_a.test <- function(){ # #}