U
    e»{j×  ã                   @   s,   d dl mZmZ dgZG dd„ ded�ZdS )é    )ÚABCMetaÚabstractmethodÚ
NDDataBasec                   @   sˆ   e Zd ZdZedd„ ƒZeedd„ ƒƒZeedd„ ƒƒZeedd	„ ƒƒZ	eed
d„ ƒƒZ
edd„ ƒZeedd„ ƒƒZeedd„ ƒƒZdS )r   aj  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. See
    `NDData` for a subclass that defines this interface on `numpy.ndarray`-like
    ``data``.

    See also: https://docs.astropy.org/en/stable/nddata/

    c                 C   s   d S )N© ©Úselfr   r   úY/var/www/html/bwave/python/venv/lib/python3.8/site-packages/astropy/nddata/nddata_base.pyÚ__init__   s    zNDDataBase.__init__c                 C   s   dS )zThe stored dataset.Nr   r   r   r   r   Údata   s    zNDDataBase.datac                 C   s   dS )z³Mask for the dataset.

        Masks should follow the ``numpy`` convention that **valid** data points
        are marked by ``False`` and **invalid** ones with ``True``.
        Nr   r   r   r   r   Úmask    s    zNDDataBase.maskc                 C   s   dS )zUnit for the dataset.Nr   r   r   r   r   Úunit*   s    zNDDataBase.unitc                 C   s   dS )z.World coordinate system (WCS) for the dataset.Nr   r   r   r   r   Úwcs0   s    zNDDataBase.wcsc                 C   s   dS )z\Image representation of the PSF for the dataset.

        Should be `ndarray`-like.
        Nr   r   r   r   r   Úpsf7   s    zNDDataBase.psfc                 C   s   dS )zWAdditional meta information about the dataset.

        Should be `dict`-like.
        Nr   r   r   r   r   Úmeta?   s    zNDDataBase.metac                 C   s   dS )zà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.
        Nr   r   r   r   r   ÚuncertaintyH   s    	zNDDataBase.uncertaintyN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r	   Úpropertyr
   r   r   r   r   r   r   r   r   r   r   r   
   s.   

)Ú	metaclassN)Úabcr   r   Ú__all__r   r   r   r   r   Ú<module>   s   