# Path: ccdproc/ccddata.py



from collections import OrderedDict
from os import listdir, path
from astropy.table import Table, MaskedColumn
from astropy.utils import minversion
from astropy.utils.exceptions import AstropyUserWarning
from .ccddata import fits_ccddata_reader, _recognized_fits_file_extensions
import fnmatch
import re
import logging
import numpy as np
import numpy.ma as ma
import astropy.io.fits as fits
import warnings

        # the numpy convention is that the mask is True for values to
        # be omitted, hence use ~matches.
        logger.debug('Matches: %s', matches)
        self.summary['file'].mask = ma.nomask
        self.summary['file'].mask[~matches] = True

    def _fits_files_in_directory(self, extensions=None,
                                 compressed=True):
        """
        Get names of FITS files in directory, based on filename extension.

        Parameters
        ----------
        extensions : list of str or None, optional
            List of filename extensions that are FITS files. Default is
            ``['fit', 'fits', 'fts']``.
            Default is ``None``.

        compressed : bool, optional
            If ``True``, compressed files should be included in the list
            (e.g. `.fits.gz`).
            Default is ``True``.

        Returns
        -------
        list
            *Names* of the files (with extension), not the full pathname.
        """


# Path: ccdproc/ccddata.py



# Path: ccdproc/image_collection.py
from collections import OrderedDict
from os import listdir, path
from astropy.table import Table, MaskedColumn
from astropy.utils import minversion
from astropy.utils.exceptions import AstropyUserWarning
from .ccddata import fits_ccddata_reader, _recognized_fits_file_extensions
import fnmatch
import re
import logging
import numpy as np
import numpy.ma as ma
import astropy.io.fits as fits
import warnings


        # the numpy convention is that the mask is True for values to
        # be omitted, hence use ~matches.
        logger.debug('Matches: %s', matches)
        self.summary['file'].mask = ma.nomask
        self.summary['file'].mask[~matches] = True

    def _fits_files_in_directory(self, extensions=None,
                                 compressed=True):
        """
        Get names of FITS files in directory, based on filename extension.

        Parameters
        ----------
        extensions : list of str or None, optional
            List of filename extensions that are FITS files. Default is
            ``['fit', 'fits', 'fts']``.
            Default is ``None``.

        compressed : bool, optional
            If ``True``, compressed files should be included in the list
            (e.g. `.fits.gz`).
            Default is ``True``.

        Returns
        -------
        list
            *Names* of the files (with extension), not the full pathname.
        """


        full_extensions = extensions or list(_recognized_fits_file_extensions)