====== Hbl: Hollister, 1987 ======
=== Details ===
This sensor from [[:about_tpf|TPF]] collection
^ Article | |
^ Collibration | |
^ Precision | |
^ Ranges | |
^ Renew sensors | |
* заголовок
* краткое описание
* статья
* ссылка
* карточка
* подробное описание
* код
* тест
=== Source ===
source("utilities_tpf.r");
sensors.p.hbl_hollister_1987 <- function(Hbl, ...){
Hbl <- tpf.recalc_minaral("HBL",Hbl);
X <- Hbl$Si_pfu + Hbl$Ti_pfu + Hbl$Al_c4_pfu + Hbl$Al_c6_pfu + Hbl$Cr_pfu + Hbl$Fe_p2_pfu + Hbl$Fe_p3_pfu + Hbl$Mn_pfu + Hbl$Mg_pfu + Hbl$Ca_pfu;
Z <- Hbl$Al_c6_pfu + Hbl$Al_c4_pfu;
K <- 15 / X;
A <- K * Z;
P <- - 4.76 + 5.64 * A;
warning(" ACCURACY +/- 1");
return(data.frame(Name=paste0(Hbl$Name),P_calc=P));
}
sensors.p.hbl_hollister_1987.args <- function(){
ars <- list();
ars$minerals <- c("Hbl");
ars$ranges <- c();
return(ars);
}
#sensors.p.hbl_hollister_1987.test <- function(){
#
#}
{{tag> tpf Hbl }}