R/meth.q.fun.r

Defines functions CH4_q_fun

Documented in CH4_q_fun

#' Gives values for the CH4 production from pectin BSWF as a function of wavelength
#'
#' This function gives a set of numeric multipliers that can be used
#' as a weight to calculate effective doses and irradiances. The
#' returned values are on quantum based effectiveness relative units.
#'
#' @param w.length numeric array of wavelengths (nm)
#'
#' @return a numeric array of the same length as \code{w.length} with values for the BSWF normalized
#' as in the original source (300 nm) but based on quantum effectiveness.
#'
#' @export
#' @examples
#' CH4_q_fun(293:400)
#'
#' @family BSWF functions
#'
CH4_q_fun <- function(w.length) {
    CH4_e_fun(w.length) * 300 / w.length
}

Try the photobiologyWavebands package in your browser

Any scripts or data that you put into this service are public.

photobiologyWavebands documentation built on Oct. 24, 2023, 5:07 p.m.