====== Grt-Bt: Glebovitsky, Drugova, 1979 ======
=== Details ===
This sensor from [[:about_tpf|TPF]] collection
^ Article | |
^ Collibration | |
^ Precision | |
^ Ranges | |
^ Renew sensors | |
* заголовок
* краткое описание
* статья
* ссылка
* карточка
* подробное описание
* код
* тест
=== Source ===
source("utilities_tpf.r");
sensors.t.grt_bt_glebovitsky_drugova_1979 <- function(Grt, Bt, ...){
Bt <- tpf.recalc_minaral("BT",Bt);
Grt <- tpf.recalc_minaral("GRT",Grt);
X <- Grt$Mg_pfu / (Grt$Fe_p2_pfu + Grt$Mg_pfu);
Y <- Bt$Mg_pfu / (Bt$Fe_p2_pfu + Bt$Mg_pfu);
F <- Grt$Fe_p2_pfu;
M <- Grt$Mn_pfu;
C <- Grt$Ca_pfu;
B <- Bt$Fe_p2_pfu;
T <- 1250 * (X * (1 - Y) / Y / (1 - X) + 0.3 * (F - 1.8) + 0.97 * (M - 0.03) - 0.43 * (B - 0.82)) + 385;
if (T>720) {
warning(" STAUROLITE MUST NOT BE PRESENT IN THE ASSEMBLAGE");
}
if (T<720) {
T <- 1250 * (X * (1 - Y) / Y / (1 - X) + 0.43 * (F - 2.12) + 0.25 * (M - 0.1) + 0.23 * (C - 0.19) - 0.38 * (B - 1.06)) + 385;
warning(" STAUROLITE MUST NOT BE PRESENT IN THE ASSEMBLAGE");
}
return(data.frame(Name=paste0(Grt$Name,"-", Bt$Name),T_calc=T));
}
sensors.t.grt_bt_glebovitsky_drugova_1979.args <- function(){
ars <- list();
ars$minerals <- c("Grt", "Bt");
ars$ranges <- c();
return(ars);
}
#sensors.t.grt_bt_glebovitsky_drugova_1979.test <- function(){
#
#}
{{tag> tpf Grt Bt }}