## S3 method for class 'source_mspct':
eq_ratio(spct, w.band = NULL,
wb.trim = getOption("photobiology.waveband.trim", default = TRUE),
use.cached.mult = getOption("photobiology.use.cached.mult", default =
FALSE), use.hinges = getOption("photobiology.use.hinges", default = NULL),
..., idx = !is.null(names(spct)))
eq_ratio(spct, w.band, wb.trim, use.cached.mult, use.hinges, ...)
## S3 method for class 'default':
eq_ratio(spct, w.band, wb.trim, use.cached.mult, use.hinges,
...)
## S3 method for class 'source_spct':
eq_ratio(spct, w.band = NULL,
wb.trim = getOption("photobiology.waveband.trim", default = TRUE),
use.cached.mult = getOption("photobiology.use.cached.mult", default =
FALSE), use.hinges = getOption("photobiology.use.hinges", default = NULL),
...)source_mspct: Calculates energy:photon from asource_mspctobject.default: Default for generic functionsource_spct: Method forsource_spctobjectse_ratio.source_mspct,
energy_ratio, photon_ratio,
photons_energy_ratio,
q_ratio.source_mspct,
qe_ratio.source_mspcteq_ratio(sun.spct, new_waveband(400,700))Run the code above in your browser using DataLab