NDDataBase¶
-
class
astropy.nddata.
NDDataBase
[source] [edit on github]¶ Bases:
object
Base 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. SeeNDData
for a subclass that defines this interface onnumpy.ndarray
-likedata
.See also: http://docs.astropy.org/en/stable/nddata/
Attributes Summary
data
The stored dataset. mask
Mask for the dataset. meta
Additional meta information about the dataset. uncertainty
Uncertainty in the dataset. unit
Unit for the dataset. wcs
World coordinate system (WCS) for the dataset. Attributes Documentation
-
data
¶ The stored dataset.
-
mask
¶ Mask for the dataset.
Masks should follow the
numpy
convention that valid data points are marked byFalse
and invalid ones withTrue
.
-
uncertainty
¶ Uncertainty in the dataset.
Should have an attribute
uncertainty_type
that 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.
-