libera_utils.quality_flags.LiberaQualityFlag#
- class libera_utils.quality_flags.LiberaQualityFlag(value)#
Bases:
LiberaFlag
TODO: Once these quality flags are well defined, write tests against them
- __init__(*args, **kwds)#
Methods
Return the set of all set flags that form a subset of the queried flag value.
Attributes
Summarize quality flag value
MISSING_DATA
- decompose()#
Return the set of all set flags that form a subset of the queried flag value. Note that this is not the minimum set of quality flags but rather a full set of all flags such that when they are ORed together, they produce self.value
- Returns:
A tuple containing (members, not_covered) members is a list of flag values that are subsets of value not_covered is zero if the OR of members recreates value. Non-zero otherwise if bits are set in value that do not exist as named values in cls.
- Return type: