make_one_psf_epsf
- romanisim.psf.make_one_psf_epsf(sca, filter_name, wcs=None, pix=None, chromatic=False, extra_convolution=None, date=None, ipc_kernel=None, **kw)
Make a PSF profile for Roman at a specific detector location using CRDS reftype epsf
- 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
- chromaticbool
Create a multiwavelength-based psf.
- extra_convolutiongalsim.gsobject.GSObject or None
Additional convolution to add to PSF
- dateastropy.time.Time or None
Date of simulation. If None, current date is used. Needed for psftype=’epsf’ to choose the appropriate epsf reference.
- ipc_kernelnp.ndarray[3, 3] or None
The IPC kernel to deconvolve from the ePSF. It should match the kernel that is later reapplied in romanisim.l1.make_l1. If None, romanisim.models.ipc.ipc_kernel is used, which is also what make_l1 falls back to.
- **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. The
pixel_convolvedattribute records whether the profile already includes the pixel response function; see romanisim.image.add_objects_to_image.