====== Grt-Bt: Perchuk, 1986 ======
=== Details ===
This sensor from [[:about_tpf|TPF]] collection
^ Article | |
^ Collibration | |
^ Precision | |
^ Ranges | |
^ Renew sensors | |
* заголовок
* краткое описание
* статья
* ссылка
* карточка
* подробное описание
* код
* тест
=== Source ===
source("utilities_tpf.r");
sensors.t.grt_bt_perchuk_1986 <- function(Grt, Bt, P, ...){
Bt <- tpf.recalc_minaral("BT",Bt);
Grt <- tpf.recalc_minaral("GRT",Grt);
Z <- Grt$Ca_pfu / (Grt$Mg_pfu + Grt$Ca_pfu + Grt$Mn_pfu + Grt$Fe_p2_pfu + Grt$Fe_p3_pfu);
XX <- Grt$Mg_pfu / (Grt$Mg_pfu + Grt$Mn_pfu + Grt$Fe_p2_pfu + Grt$Fe_p3_pfu);
YY <- Bt$Mg_pfu / (Bt$Mg_pfu + Bt$Mn_pfu + Bt$Fe_p2_pfu + Bt$Fe_p3_pfu);
QT <- Bt$Fe_p2_pfu + Bt$Fe_p3_pfu + Bt$Mg_pfu;
FF <- F;
FB <- FF / (2 * QT);
K <- log(YY / (1 - YY) * (1 - XX) / XX);
T <- (3720 + 2871 * Z + (0.012 - 0.02 * FB) * P * 1000 + 2469 * FB) / (K + 2.868 + 0.625 * Z - 3.27 * FB) - 273;
warning(" THE QUANTITY OF 'F' IN BT IS USED. ");
return(data.frame(Name=paste0(Grt$Name,"-", Bt$Name),P=P,T_calc=T));
}
sensors.t.grt_bt_perchuk_1986.args <- function(){
ars <- list();
ars$minerals <- c("Grt", "Bt");
ars$ranges <- c("P");
return(ars);
}
#sensors.t.grt_bt_perchuk_1986.test <- function(){
#
#}
{{tag> tpf Grt Bt }}