Skip to content

Commit

Permalink
Remove spline smoothing focus (#621)
Browse files Browse the repository at this point in the history
Removal of the spline smoothing features and other general cleanup. Mostly lifted from #547.
  • Loading branch information
wtgee authored Sep 24, 2018
1 parent 5938d97 commit 9580fa9
Show file tree
Hide file tree
Showing 2 changed files with 132 additions and 147 deletions.
4 changes: 0 additions & 4 deletions pocs/camera/camera.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,6 @@ def autofocus(self,
merit_function='vollath_F4',
merit_function_kwargs={},
mask_dilations=None,
spline_smoothing=None,
coarse=False,
plots=True,
blocking=False,
Expand Down Expand Up @@ -334,8 +333,6 @@ def autofocus(self,
keyword arguments for the merit function.
mask_dilations (int, optional): Number of iterations of dilation to perform on the
saturated pixel mask (determine size of masked regions), default 10
spline_smoothing (float, optional): smoothing parameter for the spline fitting to
the autofocus data, 0.0 to 1.0, smaller values mean *less* smoothing, default 0.4
coarse (bool, optional): Whether to begin with coarse focusing,
default False
plots (bool, optional: Whether to write focus plots to images folder,
Expand All @@ -359,7 +356,6 @@ def autofocus(self,
merit_function=merit_function,
merit_function_kwargs=merit_function_kwargs,
mask_dilations=mask_dilations,
spline_smoothing=spline_smoothing,
coarse=coarse,
plots=plots,
blocking=blocking,
Expand Down
Loading

0 comments on commit 9580fa9

Please sign in to comment.