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