====== Pl-L: Drake, 1976 ======
=== Details ===
This sensor from [[:about_tpf|TPF]] collection
^ Article | |
^ Collibration | |
^ Precision | |
^ Ranges | |
^ Renew sensors | |
* заголовок
* краткое описание
* статья
* ссылка
* карточка
* подробное описание
* код
* тест
=== Source ===
source("utilities_tpf.r");
sensors.t.pl_l_drake_1976 <- function(Pl, L, ...){
Pl <- tpf.recalc_minaral("PL",Pl);
L <- tpf.recalc_minaral("L",L);
X <- Pl$Na_pfu / Pl$Ca_pfu;
K <- L$Ca_pfu / (L$Ca_pfu + L$Al_c4_pfu + L$Al_c6_pfu + L$Na_pfu + L$Si_pfu);
L <- (L$Al_c4_pfu + L$Al_c6_pfu) / (L$Ca_pfu + L$Al_c4_pfu + L$Al_c6_pfu + L$Na_pfu + L$Si_pfu);
M <- L$Na_pfu / (L$Ca_pfu + L$Al_c4_pfu + L$Al_c6_pfu + L$Na_pfu + L$Si_pfu);
N <- L$Si_pfu / (L$Ca_pfu + L$Al_c4_pfu + L$Al_c6_pfu + L$Na_pfu + L$Si_pfu);
F <- K + L - M - N;
R <- M * N / K / L;
Q <- 20.31 + log(R / X);
T <- (Q + sqrt(Q^2 + 4 * 0.01248 * 12900 * F)) / 2 / 0.01248 - 273;
return(data.frame(Name=paste0(L$Name,"-", Pl$Name),T_calc=T));
}
sensors.t.pl_l_drake_1976.args <- function(){
ars <- list();
ars$minerals <- c("Pl", "L");
ars$ranges <- c();
return(ars);
}
#sensors.t.pl_l_drake_1976.test <- function(){
#
#}
{{tag> tpf L Pl }}