This sensor from TPF collection
Article | |
---|---|
Collibration | |
Precision | |
Ranges | |
Renew sensors |
source("utilities_tpf.r"); sensors.t.chl_chd_perchuk_1989 <- function(Chl, Chd, ...){ Chd <- tpf.recalc_minaral("CHD",Chd); Chl <- tpf.recalc_minaral("CHL",Chl); X <- Chl$Mg_pfu / (Chl$Mg_pfu + Chl$Fe_p2_pfu + Chl$Fe_p3_pfu + Chl$Mn_pfu); Y <- Chd$Mg_pfu / (Chd$Mg_pfu + Chd$Fe_p2_pfu + Chd$Fe_p3_pfu + Chd$Mn_pfu); K <- - log(Y * (1 - X) / (1 - Y) / X); T <- 1823 / (K + 1) - 273; warning(" CAN BE USED ONLY FOR 350<T(C)<700."); return(data.frame(Name=paste0(Chd$Name,"-", Chl$Name),T_calc=T)); } sensors.t.chl_chd_perchuk_1989.args <- function(){ ars <- list(); ars$minerals <- c("Chl", "Chd"); ars$ranges <- c(); return(ars); } #sensors.t.chl_chd_perchuk_1989.test <- function(){ # #}