This sensor from TPF collection
Article | |
---|---|
Collibration | |
Precision | |
Ranges | |
Renew sensors |
source("utilities_tpf.r"); sensors.t.mag_ilm_anderson_lindsley_1985_a <- function(Mag, Ilm, ...){ Ilm <- tpf.recalc_minaral("ILM",Ilm); Mag <- tpf.recalc_minaral("MAG",Mag); X <- (Mag$Ti_pfu - Mag$Mn_pfu / 2) / (Mag$Ti_pfu - Mag$Mn_pfu / 2 + Mag$Fe_p3_pfu / 2); Y <- (Ilm$Ti_pfu - Ilm$Mn_pfu + Ilm$Al_pfu / 2) / (Ilm$Ti_pfu - Ilm$Mn_pfu + Ilm$Al_pfu / 2 + Ilm$Fe_p3_pfu / 2); A1 <- - 3 * X^2 + 4 * X - 1; A2 <- 3 * X^2 - 2 * X; A3 <- - 3 * Y^2 + 4 * Y - 1; A4 <- 3 * Y^2 - 2 * Y; K <- 8.314 * log(X * (1 - Y)^2 / Y^2 / (1 - X)); T <- ( - A1 * 48050 - A2 * 32075 + A3 * 136900 + A4 * 33020 + 30782) / ( - A1 * 41.4 - A2 * 30.3 + A3 * 111.965 + A4 * 2.5008 + 6.0655 - K) - 273; warning(" X(i)- after LINDSLEY D.H.,SPENCER K.J.(1982)"); return(data.frame(Name=paste0(Ilm$Name,"-", Mag$Name),T_calc=T)); } sensors.t.mag_ilm_anderson_lindsley_1985_a.args <- function(){ ars <- list(); ars$minerals <- c("Mag", "Ilm"); ars$ranges <- c(); return(ars); } #sensors.t.mag_ilm_anderson_lindsley_1985_a.test <- function(){ # #}