NDDataBase¶
-
class
astropy.nddata.NDDataBase[source]¶ Bases:
objectBase metaclass that defines the interface for N-dimensional datasets with associated meta information used in
astropy.All properties and
__init__have to be overridden in subclasses. SeeNDDatafor a subclass that defines this interface onnumpy.ndarray-likedata.See also: http://docs.astropy.org/en/stable/nddata/
Attributes Summary
dataThe stored dataset. maskMask for the dataset. metaAdditional meta information about the dataset. uncertaintyUncertainty in the dataset. unitUnit for the dataset. wcsWorld coordinate system (WCS) for the dataset. Attributes Documentation
-
data¶ The stored dataset.
-
mask¶ Mask for the dataset.
Masks should follow the
numpyconvention that valid data points are marked byFalseand invalid ones withTrue.
-
uncertainty¶ Uncertainty in the dataset.
Should have an attribute
uncertainty_typethat defines what kind of uncertainty is stored, such as"std"for standard deviation or"var"for variance.
-
unit¶ Unit for the dataset.
-
wcs¶ World coordinate system (WCS) for the dataset.
-