docs: def resample(self, resampledWaveTab):
          """Resample the spectrum for the given wavelength set.
  
          Given wavelength array must be monotonically increasing or decreasing.
  
          Parameters
          ----------
          resampledWaveTab : array_like
              Wavelength set for resampling.
  
          Returns
          -------
          resampled : `ArraySpectralElement`
              Resampled spectrum. This is no longer a real `Box` spectrum.
  
          """
          return ArraySpectralElement(
              wave=resampledWaveTab.copy(), waveunits='angstrom',
              throughput=self(resampledWaveTab).copy())