make_galaxies¶
- romanisim.catalog.make_galaxies(coord, n, radius=0.1, index=None, faintmag=26, hlr_at_faintmag=0.6, bandpasses=None, rng=None, seed=50)¶
Make a simple parametric catalog of galaxies.
- Parameters:
- coordastropy.coordinates.SkyCoord
Location around which to generate sources.
- nint
number of sources to generate
- radiusfloat
radius in degrees of cap in which to uniformly generate sources
- indexint
power law index of magnitudes
- faintmagfloat
faintest AB magnitude for which to generate sources Note this magnitude is in a “fiducial” band which is not observed. Actual requested bandpasses are equal to this fiducial band plus 1 mag of Gaussian noise.
- hlr_at_faintmagfloat
typical half light radius at faintmag (arcsec)
- bandpasseslist[str]
list of names of bandpasses for which to generate fluxes.
- rnggalsim.BaseDeviate
random number generator to use
- seedint
seed to use for random numbers, only used if rng is None
- Returns:
- catalogastropy.Table
Table for use with table_to_catalog to generate catalog for simulation.