make_one_psf_galsim
- romanisim.psf.make_one_psf_galsim(sca, filter_name, wcs=None, pix=None, chromatic=False, extra_convolution=None, **kw)
Make a PSF profile for Roman at a specific detector location using the galsim library
- Parameters:
- scaint
SCA number
- filter_namestr
name of filter
- wcscallable (optional)
function giving mapping from pixels to sky for use in computing local scale of image for stpsf PSFs
- pixtuple (float, float)
pixel location of PSF on focal plane
- extra_convolutiongalsim.gsobject.GSObject or None
Additional convolution to add to PSF
- **kwdict
Additional keywords passed to galsim.roman.getPSF or stpsf.calc_psf, depending on whether stpsf is set.
- Returns:
- profilegalsim.gsobject.GSObject
galsim profile object for convolution with source profiles when rendering scenes.