====== Sph-Tro-Fer: Balabin, 1987 ======
=== Details ===
This sensor from [[:about_tpf|TPF]] collection
^ Article | |
^ Collibration | |
^ Precision | |
^ Ranges | |
^ Renew sensors | |
* заголовок
* краткое описание
* статья
* ссылка
* карточка
* подробное описание
* код
* тест
=== Source ===
source("utilities_tpf.r");
sensors.p.sph_tro_fer_balabin_1987 <- function(Sph, Tro, Fer, Temp, ...){
T <- Temp;
Sph <- tpf.recalc_minaral("SPH",Sph);
N <- Sph$Fe_pfu / (Sph$Fe_pfu + Sph$Zn_pfu + Sph$Ni_pfu) * 100;
TT <- T + 273.15;
P <- (log(N) - 1.8435 + 94.45 / TT) / (0.0053 - 41.15 / TT);
warning("CAN BE USED ONLY FOR SPASE SAMPLES");
return(data.frame(Name=paste0(Sph$Name),Temp=Temp,P_calc=P));
}
sensors.p.sph_tro_fer_balabin_1987.args <- function(){
ars <- list();
ars$minerals <- c("Sph", "Tro", "Fer");
ars$ranges <- c("Temp");
return(ars);
}
#sensors.p.sph_tro_fer_balabin_1987.test <- function(){
#
#}
{{tag> tpf Sph }}