This sensor from TPF collection
| Article | |
|---|---|
| Collibration | |
| Precision | |
| Ranges | |
| Renew sensors |
source("utilities_tpf.r");
sensors.t.cal_dol_puhan_1979 <- function(Cal, Dol, ...){
Cal <- tpf.recalc_minaral("CAL",Cal);
X <- Cal$Mg_pfu / (Cal$Mg_pfu + Cal$Fe_p2_pfu + Cal$Fe_p3_pfu + Cal$Ca_pfu + Cal$Mn_pfu);
TT <- 1414 / (0.4869 - log(X)) - 273.15;
if (TT<601.0) {
T <- TT;
}
if (TT>601.0) {
warning(" CANNOT USED FOR THESE COMPOSITIONS");
}
return(data.frame(Name=paste0(Cal$Name),T_calc=T));
}
sensors.t.cal_dol_puhan_1979.args <- function(){
ars <- list();
ars$minerals <- c("Cal", "Dol");
ars$ranges <- c();
return(ars);
}
#sensors.t.cal_dol_puhan_1979.test <- function(){
#
#}