====== Grt-Hbl: Wells, 1979 ====== === Details === This sensor from [[:about_tpf|TPF]] collection ^ Article | | ^ Collibration | | ^ Precision | | ^ Ranges | | ^ Renew sensors | | * заголовок * краткое описание * статья * ссылка * карточка * подробное описание * код * тест === Source === source("utilities_tpf.r"); sensors.t.grt_hbl_wells_1979 <- function(Grt, Hbl, P, ...){ Grt <- tpf.recalc_minaral("GRT",Grt); Hbl <- tpf.recalc_minaral("HBL",Hbl); X <- (Grt$Fe_p2_pfu + Grt$Fe_p3_pfu) / Grt$Mg_pfu; Y <- (Hbl$Fe_p2_pfu + Hbl$Fe_p3_pfu) / Hbl$Mg_pfu; K <- log(Y / X); T <- (8186 - 0.0303 * (P * 1000 - 1)) / (5.77 - 1.98721 * K) - 273; warning(" ACCURACY +/- 50 C"); return(data.frame(Name=paste0(Hbl$Name,"-", Grt$Name),P=P,T_calc=T)); } sensors.t.grt_hbl_wells_1979.args <- function(){ ars <- list(); ars$minerals <- c("Grt", "Hbl"); ars$ranges <- c("P"); return(ars); } #sensors.t.grt_hbl_wells_1979.test <- function(){ # #} {{tag> tpf Hbl Grt }}