AstroDataMixin
- class astrodata.AstroDataMixin[source]
 Bases:
objectMixin with AstroData-like behavior for NDData-like classes.
Mixin for
NDData-like classes (such asSpectrum1D) to enable them to behave similarly toAstroDataobjects.- These behaviors are:
 maskattributes are combined with bitwise, not logical, or, since the individual bits are important.The WCS must be a
gwcs.WCSobject and slicing results in the model being modified.There is a settable
varianceattribute.Additional attributes such as OBJMASK can be extracted from the .meta[‘other’] dict
Attributes Summary
The shape of the data.
The size of the data.
Access the contents of
uncertainty.Return the WCS of the data as a gWCS object.
Attributes Documentation
- shape
 The shape of the data.
- size
 The size of the data.
- variance
 Access the contents of
uncertainty.
- wcs
 Return the WCS of the data as a gWCS object.
This is a gWCS object, not a FITS WCS object.
This is returning wcs from an inhertited class, see NDData.wcs for more details.