Calling pad_spectrum on a FilterSequence does not propagate a non-default method arg when pad_spectrum is called on the individual filters. The solution is to add method below:
for response in sorted_responses:
padded_spectrum, padded_wavelength = response.pad_spectrum(
padded_spectrum, padded_wavelength, method)
Calling
pad_spectrum
on aFilterSequence
does not propagate a non-defaultmethod
arg whenpad_spectrum
is called on the individual filters. The solution is to addmethod
below:Thanks to Anand for reporting this.