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

Details

This sensor from TPF collection

Article
Collibration
Precision
Ranges
Renew sensors

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

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

Source

source("utilities_tpf.r");

sensors.t.grt_crd_sil_qtz_hutcheon_froese_gordon_1974_a <- function(Grt, Crd, Sil, Qtz, ...){
    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;
    T <- 58141.139 / (3.648 * K - 3.8252 * L) - 273;
    return(data.frame(Name=paste0(Crd$Name,"-", Grt$Name),T_calc=T));
}

sensors.t.grt_crd_sil_qtz_hutcheon_froese_gordon_1974_a.args <- function(){
    ars <- list();
    ars$minerals <- c("Grt", "Crd", "Sil", "Qtz");
    ars$ranges <- c();
    return(ars);
}

#sensors.t.grt_crd_sil_qtz_hutcheon_froese_gordon_1974_a.test <- function(){
#
#}
, ,
  • sensors/t/grt_crd_sil_qtz_hutcheon_froese_gordon_1974_a.txt
  • Последние изменения: 2018/11/12 15:08
  • (внешнее изменение)