clean_catalog

astroquery.wfau.clean_catalog(wfau_catalog, clean_band='K_1', badclass=-9999, maxerrbits=41, minerrbits=0, maxpperrbits=60)[source]

Attempt to remove ‘bad’ entries in a catalog.

Parameters:
wfau_catalogBinTableHDU

A FITS binary table instance from the WFAU survey.

clean_band'K_1', 'K_2', 'J', 'H'

The band to use for bad photometry flagging.

badclassint

Class to exclude.

minerrbitsint
maxerrbitsint

Inside this range is the accepted number of error bits.

maxpperrbitsint

Exclude this type of error bit.