Grt-Bt: Goldman, Albee, 1977

Details

This sensor from TPF collection

Article
Collibration
Precision
Ranges
Renew sensors

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

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

Source

source("utilities_tpf.r");

sensors.t.grt_bt_goldman_albee_1977 <- function(Grt, Bt, ...){
    Grt <- tpf.recalc_minaral("GRT",Grt);
    Bt <- tpf.recalc_minaral("BT2",Bt);

    X <- Grt$Mn_pfu / (Grt$Mg_pfu + Grt$Ca_pfu + Grt$Mn_pfu + Grt$Fe_p2_pfu + Grt$Fe_p3_pfu);
    Y <- Grt$Ca_pfu / (Grt$Mg_pfu + Grt$Ca_pfu + Grt$Mn_pfu + Grt$Fe_p2_pfu + Grt$Fe_p3_pfu);
    N <- Grt$Mg_pfu / (Grt$Fe_p2_pfu + Grt$Fe_p3_pfu);
    M <- Bt$Mg_pfu / (Bt$Fe_p2_pfu + Bt$Fe_p3_pfu);
    Z <- (Bt$Fe_p2_pfu + Bt$Fe_p3_pfu) / (Bt$Mg_pfu + Bt$Fe_p2_pfu + Bt$Fe_p3_pfu);
    K <- Bt$Ti_pfu / (Bt$Fe_p2_pfu + Bt$Fe_p3_pfu + Bt$Mg_pfu + Bt$Mn_pfu + Bt$Ti_pfu + Bt$Al_c4_pfu + Bt$Al_c6_pfu - 4 + Bt$Si_pfu);
    L <- (Bt$Al_c4_pfu + Bt$Al_c6_pfu - 4 + Bt$Si_pfu) / (Bt$Fe_p2_pfu + Bt$Fe_p3_pfu + Bt$Mg_pfu + Bt$Mn_pfu + Bt$Ti_pfu + Bt$Al_c4_pfu + Bt$Al_c6_pfu - 4 + Bt$Si_pfu);
    T <- sqrt(5.57 * 1000000 * 0.177 / ( - log(N / M) - 1.22 * X - 2.14 * Y + 1.4 * Z +      0.942 * K - 1.59 * L - 0.492)) - 273.15;
    return(data.frame(Name=paste0(Grt$Name,"-", Bt$Name),T_calc=T));
}

sensors.t.grt_bt_goldman_albee_1977.args <- function(){
    ars <- list();
    ars$minerals <- c("Grt", "Bt");
    ars$ranges <- c();
    return(ars);
}

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