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