simulate_cps

romanisim.l3.simulate_cps(image, filter_name, efftimes, objlist=None, psf=None, xpos=None, ypos=None, coord=None, sky=0, bandpass=None, effreadnoise=None, maggytoes=None, etomjysr=None, rng=None, seed=None, ignore_distant_sources=10)

Simulate average MegaJanskies per steradian in a single SCA.

Parameters:
imagegalsim.Image

Image onto which other effects should be added, with associated WCS.

filter_namestr

filter to simulate

efftimesnp.ndarray or float

Time Roman spent observing each part of the sky. If an array, shape must match shape parameter.

objlistlist[CatalogObject], Table, or None

Sources to render

psfgalsim.Profile

PSF to use when rendering sources

xpos, yposarray_like (float)

x, y positions of each source in objlist

coordarray_like (float)

ra, dec positions of each source in objlist (deg)

skyfloat or array_like

Image or constant with the electron / pix / sec from sky.

bandpassgalsim.Bandpass

bandpass being used. Only used for chromatic objects

effreadnoisefloat

Effective read noise for mosaic (MJy / sr)

maggytoes: float

Factor to convert electrons to MJy / sr; one maggy makes this many e/s.

etomjysrfloat

Factor to convert electron to MJy/sr; one e/s/pix corresponds to this MJy/sr.

rnggalsim.BaseDeviate

random number generator

seedint

seed for random number generator

ignore_distant_sourcesint

Ignore sources more than this distance off image.

Returns:
imagegalsim.Image

Idealized image of scene as seen by Roman (MJy / sr)

extrasdict

catalog of simulated objects in image, noise, and misc. debug