Skip to contents

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.

Note

At least one of e1 and e2 must be a generic_mspct object or derived.