make_cosmos_galaxies
- romanisim.catalog.make_cosmos_galaxies(coord, radius=0.1, bandpasses=None, rng=None, seed=50, filename=None, cat_area=None, **kwargs)
Make a catalog of galaxies from sources in the COSMOS catalog. https://cosmos2020.calet.org/
- Parameters:
- coordastropy.coordinates.SkyCoord
Location around which to generate sources.
- radiusfloat
Radius in degrees in which to uniformly generate sources.
- bandpasseslist[str]
List of names of bandpasses in which to generate fluxes.
- rnggalsim.BaseDeviate
Random number generator to use.
- seedint
Seed to use for random numbers, only used if rng is None.
- filenamestring
Optional filename of a catalog of galaxies to draw from. Code assumes a format similar to that of COSMOS.
- cat_areafloat
Area of catalog file in square degrees.
- Returns:
- catalogastropy.Table
Table for use with table_to_catalog to generate catalog for simulation.