diff --git a/ccdproc/ccddata.py b/ccdproc/ccddata.py index f9e45953..9f0a1ea7 100644 --- a/ccdproc/ccddata.py +++ b/ccdproc/ccddata.py @@ -16,7 +16,7 @@ from astropy.wcs import WCS -__all__ = ['CCDData'] +__all__ = ['CCDData', 'fits_ccddata_reader', 'fits_ccddata_writer'] class CCDData(NDDataArray): @@ -70,6 +70,18 @@ class CCDData(NDDataArray): If the ``uncertainty`` or ``mask`` inputs cannot be broadcast (e.g., match shape) onto ``data``. + Methods + ------- + read(*args, **kwargs) + ``Classmethod`` to create an CCDData instance based on a ``FITS`` file. + This method uses :func:`fits_ccddata_reader` with the provided + parameters. + write(*args, **kwargs) + Writes the contents of the CCDData instance into a new ``FITS`` file. + This method uses :func:`fits_ccddata_writer` with the provided + parameters. + + Notes ----- `~astropy.nddata.NDData` objects can be easily converted to a regular