make_stars¶
- romanisim.catalog.make_stars(coord, n, radius=0.1, index=None, faintmag=26, truncation_radius=None, bandpasses=None, rng=None, seed=51)¶
Make a simple parametric catalog of stars.
If truncation radius is None, this makes a uniform distribution. If the truncation_radius is not None, it makes a King distribution where the core radius is given by the radius and the truncation radius is given by truncation_radius.
- 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 generate sources
- indexint
power law index of magnitudes; uniform density & standard candle implies 3/5.
- 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.
- truncation_radiusfloat
truncation radius of cluster if not None; otherwise ignored.
- bandpasseslist[str]
list of names of bandpasses for which to generate fluxes.
- rnggalsim.BaseDeviate
random number generator to use
- seedint
seed for random number generator to use, only used if rng is None
- Returns:
- catalogastropy.Table
Table for use with table_to_catalog to generate catalog for simulation.