This sensor from TPF collection
| Article | |
|---|---|
| Collibration | |
| Precision | |
| Ranges | |
| Renew sensors |
source("utilities_tpf.r");
sensors.t.opx_ilm_bishop_1980 <- function(Opx, Ilm, P, ...){
Ilm <- tpf.recalc_minaral("ILM",Ilm);
Opx <- tpf.recalc_minaral("OPX",Opx);
X <- Ilm$Fe_p2_pfu / (Ilm$Fe_p2_pfu + Ilm$Mg_pfu);
Y <- Opx$Mg_pfu / Opx$Fe_p2_pfu;
Z <- Ilm$Mg_pfu / Ilm$Fe_p2_pfu;
T <- (1646 + 1634 * X + 0.0124 * 1000 * P) / log(Y / Z) - 273;
return(data.frame(Name=paste0(Ilm$Name,"-", Opx$Name),P=P,T_calc=T));
}
sensors.t.opx_ilm_bishop_1980.args <- function(){
ars <- list();
ars$minerals <- c("Opx", "Ilm");
ars$ranges <- c("P");
return(ars);
}
#sensors.t.opx_ilm_bishop_1980.test <- function(){
#
#}