psf_from_grid
- romanisim.psf.psf_from_grid(psfgrid, x_0=None, y_0=None, size=185)
Calculate a PSF profile from a GriddedPSFModel at the specified position
- Parameters:
- psfgridGriddedPSFModel
The PSF model to calculate from
- x_0, y_0float or None
Position to calculate the psf. If None, (0., 0.) is used
- sizeint
Stamp size. Must be odd. The default, 185, is the default stamp size for the STPSF stamp.
- Returns:
- psfnd.array
The psf profile.