====== Grt-Bt: Aranovich, 1988 ======
=== Details ===
This sensor from [[:about_tpf|TPF]] collection
^ Article | |
^ Collibration | |
^ Precision | |
^ Ranges | |
^ Renew sensors | |
* заголовок
* краткое описание
* статья
* ссылка
* карточка
* подробное описание
* код
* тест
=== Source ===
source("utilities_tpf.r");
sensors.t.grt_bt_aranovich_1988 <- function(Grt, Bt, P, ...){
Bt <- tpf.recalc_minaral("BT",Bt);
Grt <- tpf.recalc_minaral("GRT",Grt);
M <- (Bt$Fe_p2_pfu + Bt$Fe_p3_pfu) / Bt$Mg_pfu;
A <- (Bt$Al_c4_pfu + Bt$Al_c6_pfu - 1) / 2;
W <- Bt$Ti_pfu;
FF <- F;
Z <- (Grt$Fe_p3_pfu + Grt$Fe_p2_pfu) / Grt$Mg_pfu;
Y <- Grt$Ca_pfu / (Grt$Fe_p2_pfu + Grt$Fe_p3_pfu + Grt$Ca_pfu + Grt$Mg_pfu + Grt$Mn_pfu);
if (Y>0.300) {
warning(" CANNOT BE USED FOR CA/(FE+MG+CA+MN) IN GRT >0.3");
}
if (Y<0.300) {
K <- log(Z / M);
L <- FF / 2;
T <- (7751 + 0.038 * P * 1000 - 1903 * (A + W) + 5737 * Y) / (1.9872 * K + 5.185 - 0.287 * (A + W) + 2.88 * Y - 1.466 * L) - 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_aranovich_1988.args <- function(){
ars <- list();
ars$minerals <- c("Grt", "Bt");
ars$ranges <- c("P");
return(ars);
}
#sensors.t.grt_bt_aranovich_1988.test <- function(){
#
#}
{{tag> tpf Grt Bt }}