====== Cal-Dol: Puhan, 1979 ======
=== Details ===
This sensor from [[:about_tpf|TPF]] collection
^ Article | |
^ Collibration | |
^ Precision | |
^ Ranges | |
^ Renew sensors | |
* заголовок
* краткое описание
* статья
* ссылка
* карточка
* подробное описание
* код
* тест
=== Source ===
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(){
#
#}
{{tag> tpf Cal }}