<commit_before># Licensed under a 3-clause BSD style license - see LICENSE.rst
#This module implements the base NDData class.

__all__ = ['NDData']


class NDData(object):
    """Class to store array type data.
    `NDData` provides a superclass for all array based data.

    Initialize an NDData object with data
    Parameters
    ----------
    data : `~numpy.ndarray`
        n-dimensional array containing the n-dimensional data
    error: `~numpy.ndarray`, optional
        n-dimensional array containing the error of the data
    mask: `~numpy.ndarray`, optional
        n-dimensional array masking the data (suggested dtype=`bool`)
    wcs: `astropy.wcs`, optional
        WCS-object containing the world coordinate algorithms for the adta
    meta: `dict`-like object, optional
        contains meta data for the n-dimensional data
    units: `astropy.units`, optional
        describing the units of the data

    """
    def __init__(self, data, error=None, mask=None, wcs=None, meta=None,
                 units=None):
        self.data = data
        self.error = error
        self.mask = mask
        self.wcs = wcs
        self.meta = meta
        self.units = units
<commit_msg>fixes in nddata to get docs to build correctly<commit_after># Licensed under a 3-clause BSD style license - see LICENSE.rst
#This module implements the base NDData class.

__all__ = ['NDData']


class NDData(object):
    """Class to store array type data.

    `NDData` provides a superclass for all array based data.

    Parameters
    ----------
    data : `~numpy.ndarray`
        n-dimensional array containing the n-dimensional data
    error : `~numpy.ndarray`, optional
        n-dimensional array containing the error of the data
    mask : `~numpy.ndarray`, optional
        n-dimensional array masking the data (suggested dtype=`bool`)
    wcs : `astropy.wcs`, optional
        WCS-object containing the world coordinate algorithms for the adta
    meta : `dict`-like object, optional
        contains meta data for the n-dimensional data
    units : `astropy.units`, optional
        describing the units of the data

    """
    def __init__(self, data, error=None, mask=None, wcs=None, meta=None,
                 units=None):
        self.data = data
        self.error = error
        self.mask = mask
        self.wcs = wcs
        self.meta = meta
        self.units = units

{'fraction_non_alphanumeric': 0.08874005860192549, 'fraction_numerical': 0.0008371703641691084, 'mean_word_length': 2.499267935578331, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2938522', 'n_tokens_mistral': 671, 'n_tokens_neox': 651, 'n_words': 250}