STDPSFGrid

class photutils.psf.STDPSFGrid(filename)[source]

Bases: ModelGridPlotMixin

Class to read and plot “STDPSF” format ePSF model grids.

STDPSF files are FITS files that contain a 3D array of ePSFs with the header detailing where the fiducial ePSFs are located in the detector coordinate frame.

The oversampling factor for STDPSF FITS files is assumed to be 4.

Parameters:
filenamestr

The name of the STDPDF FITS file. A URL can also be used.

Examples

>>> psfgrid = STDPSFGrid.read('STDPSF_ACSWFC_F814W.fits')
>>> psfgrid.plot_grid()