Skip to content

Commit

Permalink
Merge pull request #1658 from pypeit/thresh_hotfix
Browse files Browse the repository at this point in the history
Hotfix for parameter name in slit tracing doc.
  • Loading branch information
kbwestfall authored Aug 28, 2023
2 parents 0d2e219 + e3b3a44 commit f7c9a60
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/calibrations/slit_tracing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ Detection Threshold
The detection threshold for identifying slits is set
relatively low to err on the side of finding more as opposed to fewer slit edges.
The algorithm can be fooled by scattered light and detector
defects. One can increase the threshold with the ``sigdetect``
defects. One can increase the threshold with the ``edge_thresh``
parameter:

.. code-block:: ini
Expand All @@ -219,11 +219,11 @@ parameter:
Then monitor the number of slits detected by the algorithm.

Presently, we recommend that you err on the conservative
side regarding thresholds, i.e. higher values of ``sigdetect``,
side regarding thresholds, i.e. higher values of ``edge_thresh``,
unless you have especially faint trace flat frames.

On the flip side, if slit defects (common) are being
mistaken as slit edges then *increase* ``sigdetect``
mistaken as slit edges then *increase* ``edge_thresh``
and hope for the best.

.. _trace-slit-mask_frac_thresh:
Expand Down

0 comments on commit f7c9a60

Please sign in to comment.