EPSFFitter¶
- class photutils.psf.EPSFFitter(*, fitter=<astropy.modeling.fitting.LevMarLSQFitter object>, fit_boxsize=5, **fitter_kwargs)[source]¶
Bases:
object
Class to fit an ePSF model to one or more stars.
- Parameters:
- fitter
astropy.modeling.fitting.Fitter
, optional A
Fitter
object.- 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_boxsize
is a scalar then a square box of sizefit_boxsize
will be used. Iffit_boxsize
has two elements, they must be in(ny, nx)
order.fit_boxsize
must 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-like, optional
Any additional keyword arguments (except
x
,y
,z
, orweights
) to be passed directly to the__call__()
method of the inputfitter
.
- fitter
Methods Summary
__call__
(epsf, stars)Fit an ePSF model to stars.
Methods Documentation