add_objects_to_l3
- romanisim.l3.add_objects_to_l3(l3_mos, source_cat, exptimes, xpos, ypos, psf, etomjysr=1.0, maggytoes=1.0, filter_name=None, bandpass=None, rng=None, seed=None)
Add objects to a Level 3 mosaic
- Parameters:
- l3_mosMosaicModel or galsim.Image
Mosaic of images
- source_catlist[CatalogObject]
List of catalog objects to add to l3_mos
- exptimeslist
Exposure times to scale back to rate units
- xpos, yposarray_like
x & y positions of sources (pixel) at which sources should be added
- psfgalsim.Profile
PSF to use
- etomjysr: float
Factor to convert electrons to MJy / sr
- maggytoesfloat
Factor to convert maggies to e/s
- filter_namestr
Filter to use to select appropriate flux from objlist. This is only used when achromatic PSFs and sources are being rendered.
- bandpassgalsim.Bandpass
Bandpass in which mosaic is being rendered. This is used only in cases where chromatic profiles & PSFs are being used.
- rnggalsim.BaseDeviate
random number generator to use
- seedint
seed to use for random number generator
- Returns:
- outinfo: Information from romanisim.image.add_objects_to_image. Note
that l3_mos is updated in place.