OneDSpectrum

class spectral_cube.lower_dimensional_structures.OneDSpectrum(value, beam=None, read_beam=False, **kwargs)[source]

Bases: spectral_cube.lower_dimensional_structures.BaseOneDSpectrum, spectral_cube.base_class.BeamMixinClass

Methods Summary

with_beam(beam[, raise_error_jybm])

Attach a new beam object to the OneDSpectrum.

Methods Documentation

with_beam(beam, raise_error_jybm=True)[source]

Attach a new beam object to the OneDSpectrum.

Parameters
beamBeam

A new beam object.