NDDataBase#
- class astropy.nddata.NDDataBase[source]#
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: https://docs.astropy.org/en/stable/nddata/
Attributes Summary
The stored dataset.
Mask for the dataset.
Additional meta information about the dataset.
Image representation of the PSF for the dataset.
Uncertainty in the dataset.
Unit for the dataset.
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
.
- psf#
Image representation of the PSF for the dataset.
Should be
ndarray
-like.
- 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.