FlagCollection#
- class astropy.nddata.FlagCollection(*args, **kwargs)[source]#
Bases:
dictThe purpose of this class is to provide a dictionary for containing arrays of flags for the
NDDataclass. Flags should be stored in Numpy arrays that have the same dimensions as the parent data, so theFlagCollectionclass adds shape checking to a dictionary.The
FlagCollectionshould be initialized like a dict, but with the addition of ashape=keyword argument used to pass the NDData shape.