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