SpectrumList

class specutils.SpectrumList(iterable=(), /)[source]

Bases: list, NDIOMixin

A list that is used to hold a list of Spectrum1D objects

The primary purpose of this class is to allow loaders to return a list of spectra that have different shapes. For spectra that have the same shape but different spectral axes, see SpectrumCollection. For a spectrum or spectra that all share the same spectral axis, use Spectrum1D. For more on this topic, see Overview of How Specutils Represents Spectra.