sdss_flagexist¶
- pydl.pydlutils.sdss.sdss_flagexist(flagname, bitname, flagexist=False, whichexist=False)[source]¶
Check for the existence of flags.
- Parameters:
- flagname
str The name of a bitmask group. Not case-sensitive.
- bitname
strorlist The name(s) of the specific bitmask(s) within the
flagnamegroup.- flagexist
bool, optional If flagexist is True, return a tuple with the second component indicating whether the binary flag named
flagnameexists, even ifbitnameis wrong.- whichexist
bool, optional If whichexist is True, return a list containing existence test results for each individual flag.
- flagname
- Returns:
boolortupleA boolean value or a tuple of bool.