FlagCollection¶
- class astropy.nddata.FlagCollection(*args, **kwargs)[source]¶
Bases:
OrderedDictThe 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 an ordered dictionary class.The
FlagCollectionshould be initialized like anOrderedDict, but with the addition of ashape=keyword argument used to pass the NDData shape.