read_catalog

grizli.utils.read_catalog(file, sextractor=False, format=None)[source]

Wrapper around gread.

Parameters
filestr

The path to the catalog file.

sextractorbool, optional

If True, assumes the catalog is in SExtractor format. Default is False.

formatstr, optional

The format of the catalog file. Auto-detects formats ‘csv’ and ‘fits’ and defaults to ‘ascii.commented_header’.

Returns
tableTable

The catalog table.