====== Gn-Sph: Tauson, 1986 ======
=== Details ===
This sensor from [[:about_tpf|TPF]] collection
^ Article | |
^ Collibration | |
^ Precision | |
^ Ranges | |
^ Renew sensors | |
* заголовок
* краткое описание
* статья
* ссылка
* карточка
* подробное описание
* код
* тест
=== Source ===
source("utilities_tpf.r");
sensors.t.gn_sph_tauson_1986 <- function(Gn, Sph, ...){
Sph <- tpf.recalc_minaral("SPH",Sph);
Gn <- tpf.recalc_minaral("GN",Gn);
X <- Sph$Hg_pfu / (Sph$Pb_pfu + Sph$Zn_pfu + Sph$Hg_pfu + Sph$Fe_pfu);
Y <- Gn$Hg_pfu / (Gn$Pb_pfu + Gn$Zn_pfu + Gn$Hg_pfu + Gn$Fe_pfu);
T <- 3130 / (log(X / Y) + 1.3) - 273.15;
if (T<350) {
if (T>350) {
warning(" IS NOT TO BE USED FOR THESE COMPOSITIONS ");
}}
return(data.frame(Name=paste0(Sph$Name,"-", Gn$Name),T_calc=T));
}
sensors.t.gn_sph_tauson_1986.args <- function(){
ars <- list();
ars$minerals <- c("Gn", "Sph");
ars$ranges <- c();
return(ars);
}
#sensors.t.gn_sph_tauson_1986.test <- function(){
#
#}
{{tag> tpf Sph Gn }}