This sensor from TPF collection
Article | |
---|---|
Collibration | |
Precision | |
Ranges | |
Renew sensors |
source("utilities_tpf.r"); sensors.t.grt_ms_krogh_raheim_1978 <- function(Grt, Ms, P, ...){ Ms <- tpf.recalc_minaral("MS",Ms); Grt <- tpf.recalc_minaral("GRT",Grt); X <- Grt$Fe_p2_pfu / Grt$Mg_pfu; Y <- Ms$Fe_p2_pfu / Ms$Mg_pfu; T <- (3685 + 77.1 * P) / (log(X / Y) + 3.52) - 273; return(data.frame(Name=paste0(Ms$Name,"-", Grt$Name),P=P,T_calc=T)); } sensors.t.grt_ms_krogh_raheim_1978.args <- function(){ ars <- list(); ars$minerals <- c("Grt", "Ms"); ars$ranges <- c("P"); return(ars); } #sensors.t.grt_ms_krogh_raheim_1978.test <- function(){ # #}