make_psf
- romanisim.psf.make_psf(sca, filter_name, wcs=None, psftype='galsim', pix=None, chromatic=False, variable=False, extra_convolution=None, date=None, ipc_kernel=None, **kw)
Make a PSF profile for Roman.
Optionally supports spatially variable PSFs via interpolation between the four corners of an SCA.
- 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
- psftypeOne of [‘epsf’, ‘galsim’, ‘stpsf]
How to determine the PSF.
- pixtuple (float, float)
pixel location of PSF on focal plane
- variablebool
True if a variable PSF object is desired
- dateastropy.time.Time or None
Date of simulation. If None, current date is used. Needed for psftype=’epsf’ to choose the appropriate epsf reference.
- extra_convolutiongalsim.gsobject.GSObject or None
Additional convolution to add to PSF profiles
- ipc_kernelnp.ndarray[3, 3] or None
The IPC kernel that romanisim.l1.make_l1 will apply; only used for psftype=’epsf’. See make_one_psf_epsf.
- **kwdict
Additional keywords passed to make_one_psf
- Returns:
- psfromanisim.psf.VariablePSF
PSF object for rendering scenes; a ConstantPSF unless variable is set. Use at_position(x, y) to get the galsim profile to convolve with source profiles.