====== Grt-Cpx: Mysen, Heier, 1972 ======
=== Details ===
This sensor from [[:about_tpf|TPF]] collection
^ Article | |
^ Collibration | |
^ Precision | |
^ Ranges | |
^ Renew sensors | |
* заголовок
* краткое описание
* статья
* ссылка
* карточка
* подробное описание
* код
* тест
=== Source ===
source("utilities_tpf.r");
sensors.t.grt_cpx_mysen_heier_1972 <- function(Grt, Cpx, ...){
Grt <- tpf.recalc_minaral("GRT",Grt);
Cpx <- tpf.recalc_minaral("CPX",Cpx);
X <- (Grt$Fe_p2_pfu + Grt$Fe_p3_pfu) / Grt$Mg_pfu;
Y <- (Cpx$Fe_p2_pfu + Cpx$Fe_p3_pfu) / Cpx$Mg_pfu;
T <- 2475 / (log(X / Y) + 0.781) - 273;
return(data.frame(Name=paste0(Cpx$Name,"-", Grt$Name),T_calc=T));
}
sensors.t.grt_cpx_mysen_heier_1972.args <- function(){
ars <- list();
ars$minerals <- c("Grt", "Cpx");
ars$ranges <- c();
return(ars);
}
#sensors.t.grt_cpx_mysen_heier_1972.test <- function(){
#
#}
{{tag> tpf Cpx Grt }}