====== Grt-Crd: Lavrenteva, Perchuk, 1981 ======
=== Details ===
This sensor from [[:about_tpf|TPF]] collection
^ Article | |
^ Collibration | |
^ Precision | |
^ Ranges | |
^ Renew sensors | |
* заголовок
* краткое описание
* статья
* ссылка
* карточка
* подробное описание
* код
* тест
=== Source ===
source("utilities_tpf.r");
sensors.t.grt_crd_lavrenteva_perchuk_1981 <- function(Grt, Crd, P, ...){
Grt <- tpf.recalc_minaral("GRT",Grt);
Crd <- tpf.recalc_minaral("CRD",Crd);
X <- Grt$Mg_pfu / (Grt$Mg_pfu + Grt$Mn_pfu + Grt$Fe_p2_pfu + Grt$Fe_p3_pfu);
Z <- Crd$Mg_pfu / (Crd$Mg_pfu + Crd$Mn_pfu + Crd$Fe_p2_pfu + Crd$Fe_p3_pfu);
K <- (Z / (1 - Z)) * ((1 - X) / X);
T <- (3126 + 0.0178 * (P * 1000 - 6000)) / (log(K) + 1.287) - 273;
warning(" ACCURACY +/-11 C");
return(data.frame(Name=paste0(Crd$Name,"-", Grt$Name),P=P,T_calc=T));
}
sensors.t.grt_crd_lavrenteva_perchuk_1981.args <- function(){
ars <- list();
ars$minerals <- c("Grt", "Crd");
ars$ranges <- c("P");
return(ars);
}
#sensors.t.grt_crd_lavrenteva_perchuk_1981.test <- function(){
#
#}
{{tag> tpf Crd Grt }}