When resampling a spectrum that contains NANs using Spectrum.resample() and changing the number of pixels, the output will contain NANs in wavelength regions that were valid before. A possible fix would be to replace the following statement in Spectra.resample().
When resampling a spectrum that contains NANs using Spectrum.resample() and changing the number of pixels, the output will contain NANs in wavelength regions that were valid before. A possible fix would be to replace the following statement in Spectra.resample().
with