This function takes two spectra from seewave (or equivalent) and adds their values. The spectra must have the same bins.
Arguments
- s1
First spectrum
- s2
Second spectrum
- coerceNegative
Sets any values below zero to zero in output.
Examples
if (FALSE) {
subtractSpectra(spec1, spec2)
}