Use the spectrum 1d object from specutils for describing a 1d spectrum
Use the spectrum 1d object from specutils for describing a 1d spectrum