This sensor from TPF collection
| Article | |
|---|---|
| Collibration | |
| Precision | |
| Ranges | |
| Renew sensors | 
source("utilities_tpf.r");
sensors.t.grt_hbl_lavrenteva_perchuk_1989_b <- function(Grt, Hbl, ...){
    Grt <- tpf.recalc_minaral("GRT",Grt);
    Hbl <- tpf.recalc_minaral("HBL",Hbl);
    M <- Grt$Mg_pfu / (Grt$Fe_p2_pfu + Grt$Fe_p3_pfu + Grt$Mg_pfu + Grt$Mn_pfu);
    MA <- Hbl$Mg_pfu / (Hbl$Fe_p2_pfu + Hbl$Fe_p3_pfu + Hbl$Mg_pfu + Hbl$Mn_pfu);
    LNK <- log(MA / (1 - MA) * (1 - M) / M);
    T <- 3330 / (LNK + 2.333) - 273;
    warning(" CA,NA,AL CONTENT IN HBL IS NOT TAKEN INTO ACCOUNT");
    return(data.frame(Name=paste0(Hbl$Name,"-", Grt$Name),T_calc=T));
}
sensors.t.grt_hbl_lavrenteva_perchuk_1989_b.args <- function(){
    ars <- list();
    ars$minerals <- c("Grt", "Hbl");
    ars$ranges <- c();
    return(ars);
}
#sensors.t.grt_hbl_lavrenteva_perchuk_1989_b.test <- function(){
#
#}