====== Ol-Opx-Qtz: Fonarev, 1987 ====== === Details === This sensor from [[:about_tpf|TPF]] collection ^ Article | | ^ Collibration | | ^ Precision | | ^ Ranges | | ^ Renew sensors | | * заголовок * краткое описание * статья * ссылка * карточка * подробное описание * код * тест === Source === source("utilities_tpf.r"); sensors.p.ol_opx_qtz_fonarev_1987 <- function(Ol, Opx, Qtz, Temp, ...){ T <- Temp; Ol <- tpf.recalc_minaral("OL",Ol); X <- (Ol$Fe_p2_pfu + Ol$Fe_p3_pfu) / (Ol$Fe_p2_pfu + Ol$Fe_p3_pfu + Ol$Mg_pfu + Ol$Ca_pfu + Ol$Mn_pfu + Ol$Al_c6_pfu); P <- - 387.25 + 1295.13 * X - 1517.95 * X^2 + 611.59 * X^3 + 0.00917 * (T + 273.15); warning(" ONLY OL COMPOSITION IS USED, ACCURACY +-(0.4-0.9) KBAR"); return(data.frame(Name=paste0(Ol$Name),Temp=Temp,P_calc=P)); } sensors.p.ol_opx_qtz_fonarev_1987.args <- function(){ ars <- list(); ars$minerals <- c("Ol", "Opx", "Qtz"); ars$ranges <- c("Temp"); return(ars); } #sensors.p.ol_opx_qtz_fonarev_1987.test <- function(){ # #} {{tag> tpf Ol }}