sdss_flagname¶
- pydl.pydlutils.sdss.sdss_flagname(flagname, flagvalue, concat=False)[source]¶
Return a list of flag names corresponding to the values.
- Parameters:
- Returns:
- Raises:
KeyError
If
flagname
is invalid
Examples
>>> from pydl.pydlutils.sdss import sdss_flagname >>> sdss_flagname('ANCILLARY_TARGET1',2310346608843161600) ['BRIGHTGAL', 'BLAZGX', 'ELG']