photobiology (version 0.9.26)

convolve_each: Convolve function for collections of spectra

Description

Convolve function for collections of spectra which applies an operation on all the individual members of the collection(s) of spectra.

Usage

convolve_each(e1, e2, oper = `*`, sep = "_", ...)

Arguments

e1

an object of class generic_mspct or generic_scpt or numeric

e2

an object of class generic_mspct or generic_scpt or numeric

oper

function, usually but not necessarily an operator with two arguments.

sep

character Used when pasting the names of members of e1 and e2 to form the names of members of the returned collection of spectra.

...

additional arguments passed to oper if present.

See Also

Other math operators and functions: MathFun, ^.generic_spct, div-.generic_spct, log, minus-.generic_spct, mod-.generic_spct, plus-.generic_spct, round, sign, slash-.generic_spct, times-.generic_spct