Grt-Crd-Sil-Qtz: Hutcheon, Froese, Gordon, 1974 <B>

Details

This sensor from TPF collection

Article
Collibration
Precision
Ranges
Renew sensors

Использовать Проверить

  • заголовок
  • краткое описание
  • статья
  • ссылка
  • карточка
  • подробное описание
  • код
  • тест

Source

source("utilities_tpf.r");

sensors.p.grt_crd_sil_qtz_hutcheon_froese_gordon_1974_b <- function(Grt, Crd, ...){
    Name <- paste0(Crd$Name,"-", Grt$Name);

    Grt <- tpf.recalc_minaral("GRT",Grt);
    Crd <- tpf.recalc_minaral("CRD",Crd);

    X <- Crd$Mg_pfu / (Crd$Fe_p2_pfu + Crd$Fe_p3_pfu + Crd$Mg_pfu + Crd$Mn_pfu);
    Y <- (Crd$Fe_p2_pfu + Crd$Fe_p3_pfu) / (Crd$Fe_p2_pfu + Crd$Fe_p3_pfu + Crd$Mg_pfu + Crd$Mn_pfu);
    A <- Grt$Mg_pfu / (Grt$Fe_p2_pfu + Grt$Fe_p3_pfu + Grt$Mg_pfu + Grt$Mn_pfu);
    B <- (Grt$Fe_p2_pfu + Grt$Fe_p3_pfu) / (Grt$Fe_p2_pfu + Grt$Fe_p3_pfu + Grt$Mg_pfu + Grt$Mn_pfu);
    K <- 6 * log(X / A) * 1.9872 - 22.95;
    L <- 6 * log(Y / B) * 1.9872 - 18;
    P <- (6582.352 * K + 9035.7252 * L) / ( - 3.6480 * K + 3.8252 * L) / 1000;
    return(data.frame(Name=Name,P_calc=P));
}

sensors.p.grt_crd_sil_qtz_hutcheon_froese_gordon_1974_b.args <- function(){
    ars <- list();
    ars$minerals <- c("Grt", "Crd");
    ars$ranges <- c();
    return(ars);
}

#sensors.p.grt_crd_sil_qtz_hutcheon_froese_gordon_1974_b.test <- function(){
#
#}
, ,
  • sensors/p/grt_crd_sil_qtz_hutcheon_froese_gordon_1974_b.txt
  • Последние изменения: 2020/02/19 13:24
  • — f0ma