craftutils.observation.image.IFUImage.attenuate_by_bandpass(band: Filter, ext: int = 1) Attenuate the cube flux as a function of wavelength using an imaging bandpass. Parameters¶ band: Filter¶filter to attenuate by. ext: int = 1¶FITS extension to apply transformation to. Returns¶