psfstamp_to_galsimimage

romanisim.psf.psfstamp_to_galsimimage(psf, stampwcs, extra_convolution=None)

Convert an STPSF/CRDS PSF stamp to a galsim profile.

Parameters:
psfnp.ndarray

The oversampled PSF stamp.

stampwcsgalsim.wcs.BaseWCS

WCS of the stamp; see psf_stamp_wcs.

extra_convolutiongalsim.gsobject.GSObject or None

Additional convolution to add to the PSF.

Returns:
galsim.InterpolatedImage