Skip to content

Commit

Permalink
update docs for lacosmic sepmed parameter [docs only]
Browse files Browse the repository at this point in the history
  • Loading branch information
jradavenport committed Sep 26, 2019
1 parent 4093e05 commit a754cf1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
1 change: 1 addition & 0 deletions AUTHORS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ Alphabetical list of contributors
* Javier Blasco (@javierblasco)
* Julio C. N. Campagnolo (@juliotux)
* Mihai Cara (@mcara)
* James Davenport (@jradavenport)
* Christoph Deil (@cdeil)
* Carlos Gomez (@carlgogo)
* Hans Moritz Günther (@hamogu)
Expand Down
1 change: 1 addition & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ New Features

Other Changes and Additions
^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Clarified ``sepmed`` default in ``cosmicray_lacosmic`` docs. [#631]

Bug Fixes
^^^^^^^^^
Expand Down
12 changes: 7 additions & 5 deletions ccdproc/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -1308,9 +1308,9 @@ def cosmicray_lacosmic(ccd, sigclip=4.5, sigfrac=0.3,
psfmodel='gauss', psffwhm=2.5, psfsize=7,
psfk=None, psfbeta=4.765, verbose=False):
r"""
Identify cosmic rays through the lacosmic technique. The lacosmic technique
identifies cosmic rays by identifying pixels based on a variation of the
Laplacian edge detection. The algorithm is an implementation of the
Identify cosmic rays through the L.A. Cosmic technique. The L.A. Cosmic
technique identifies cosmic rays by identifying pixels based on a variation
of the Laplacian edge detection. The algorithm is an implementation of the
code describe in van Dokkum (2001) [1]_ as implemented by McCully (2014)
[2]_. If you use this algorithm, please cite these two works.
Expand Down Expand Up @@ -1357,8 +1357,10 @@ def cosmicray_lacosmic(ccd, sigclip=4.5, sigfrac=0.3,
sepmed : bool, optional
Use the separable median filter instead of the full median filter.
The separable median is not identical to the full median filter, but
they are approximately the same and the separable median filter is
significantly faster and still detects cosmic rays well. Default: True
they are approximately the same, the separable median filter is
significantly faster, and still detects cosmic rays well. Note, this is
a performance feature, and not part of the original L.A. Cosmic.
Default: True
cleantype : str, optional
Set which clean algorithm is used:
Expand Down

0 comments on commit a754cf1

Please sign in to comment.