read_catalog

romanisim.catalog.read_catalog(filename, coord, date=None, bandpasses=None, radius=0.6, **kwargs)

Read a catalog (or directory of catalogs) into a list of CatalogObjects.

Catalog must be readable by astropy.table.Table.read(…) and contain columns enumerated in the docstring for table_to_catalog(…).

Parameters:
filenamestr or None

Filename of catalog or directory to read If None, will call Gaia website

coordastropy.coordinates.SkyCoord

Location around which to generate sources.

dateastropy.time.Time

Optional argument to provide a date and time for stellar search

bandpasseslist[str]

Bandpasses for which fluxes are tabulated in the catalog

radius: float

Radius over which to search healpix for source file indicies

Returns:
catastropy.Table

Table for use with table_to_catalog to generate catalog for simulation.