add_more_metadata

romanisim.l3.add_more_metadata(metadata, efftimes, filter_name, wcs, shape, nexposures)

Fill in the L3 metadata for simulations.

Updates the ‘metadata’ array in place. Touches a number of fields in metadata.coadd_info, metadata.photometry, metadata.resample, metadata.wcsinfo and the metadata root.

Parameters:
metadata

metadata to update

efftimesnp.ndarray

exposure time on each pixel

filter_namestr

name of filter

wcsgwcs.wcs.WCS

WCS for mosaic

shapetuple[2]

shape of mosaic

nexposuresint

number of exposures contributing to mosaic