Skip to content

Commit

Permalink
hide flux_residual_sigclip to allow separation of bug and new feature
Browse files Browse the repository at this point in the history
  • Loading branch information
eteq committed Nov 14, 2019
1 parent ee7fd05 commit da9676e
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions photutils/psf/epsf.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,21 +305,15 @@ class EPSFBuilder:
iterations will stop if the centers of all the stars change by
less than ``center_accuracy`` pixels between iterations. All
stars must meet this condition for the loop to exit.
flux_residual_sigclip : `~astropy.stats.SigmaClip` object, optional
A `~astropy.stats.SigmaClip` object used to determine which pixels
are ignored based on the star sampling flux residuals, when
computing the average residual of ePSF grid points in each iteration
step.
"""

def __init__(self, oversampling=4., shape=None,
smoothing_kernel='quartic', recentering_func=centroid_epsf,
recentering_maxiters=20, fitter=EPSFFitter(), maxiters=10,
progress_bar=True, norm_radius=5.5, shift_val=0.5,
recentering_boxsize=(5, 5), center_accuracy=1.0e-3,
flux_residual_sigclip=SigmaClip(sigma=3, cenfunc='median',
maxiters=10)):
cenfunc='median', maxiters=10):
flux_residual_sigclip = SigmaClip(sigma=3 # TODO: replace with kwarg in 8.0

if oversampling is None:
raise ValueError("'oversampling' must be specified.")
Expand Down

0 comments on commit da9676e

Please sign in to comment.