read_catalog¶
- romanisim.catalog.read_catalog(filename, bandpasses)¶
Read a catalog 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
filename of catalog to read
- bandpasseslist[str]
bandpasses for which fluxes are tabulated in the catalog
- Returns:
- list[CatalogObject]
list of catalog objects in filename