Barak 0.3.2 documentation

barak.io.readsex

«  barak.io.parse_config   ::   Contents   ::   barak.io.readtabfits  »

barak.io.readsex

barak.io.readsex(filename, catnum=None)[source]

Read a sextractor catalogue into a Numpy record array.

Parameters :

filename : str

Sextractor output catalogue name

catnum : int, optional

If the Sextractor file is in LDAC_FITS format and contains more than one catalogue, this option specifies the catalogue number.

Returns :

s : numpy record array

Record array with field names the same as those in the sextractor catalogue.

«  barak.io.parse_config   ::   Contents   ::   barak.io.readtabfits  »