Bases: astropy.nddata.NDDataBase
A basic class for array-based data.
The key distinction from raw numpy arrays is the presence of additional metadata such as uncertainties, a mask, units, and/or a coordinate system.
Parameters: | data : ndarray, ndarray-like, or NDData
uncertainty : any type, optional
mask : ndarray-like, optional
wcs : undefined, optional
meta : dict-like object, optional
unit : UnitBase instance or str, optional
|
---|
Notes
The data in a NDData object should be accessed through the data attribute.
For example:
>>> from astropy.nddata import NDData
>>> x = NDData([1,2,3])
>>> x.data
array([1, 2, 3])
Attributes Summary
data | |
mask | |
meta | |
unit | |
wcs |
Attributes Documentation