EPSFFitter#
- class photutils.psf.EPSFFitter(*, fitter=None, fit_boxsize=5, **fitter_kwargs)[source]#
Bases:
objectDeprecated since version 3.0: EPSFFitter is deprecated and will be removed in a version 4.0. Use EPSFBuilder with the fitter, fit_shape, and fitter_maxiters parameters instead.
Class to fit an ePSF model to one or more stars.
- Parameters:
- fitter
astropy.modeling.fitting.Fitter, optional A
Fitterobject. IfNone, then the defaultTRFLSQFitterwill be used.- fit_boxsizeint, tuple of int, or
None, optional The size (in pixels) of the box centered on the star to be used for ePSF fitting. This allows using only a small number of central pixels of the star (i.e., where the star is brightest) for fitting. If
fit_boxsizeis a scalar then a square box of sizefit_boxsizewill be used. Iffit_boxsizehas two elements, they must be in(ny, nx)order.fit_boxsizemust have odd values and be greater than or equal to 3 for both axes. IfNone, the fitter will use the entire star image.- **fitter_kwargsdict, optional
Any additional keyword arguments (except
x,y,z, orweights) to be passed directly to the__call__()method of the inputfitter.
- fitter
Deprecated since version 3.0: EPSFFitter is deprecated and will be removed in a version 4.0. Use EPSFBuilder with the fitter, fit_shape, and fitter_maxiters parameters instead.
Methods Summary
__call__(epsf, stars)Fit an ePSF model to stars.
Methods Documentation