Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions docs/ccdproc/reduction_toolbox.rst
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,14 @@ operations in `ccdproc`.
# Save the mask as "mask" attribute of the ccd
ccd.mask = mask

Another method for creating a mask is using the `~ccdproc.ccdmask` task. This
task will produced a data aray where good pixels have a value of zero and bad
pixels have a value of one. This task follows the same algorithm used in the
iraf ccdmask task.

>>> ccd.mask = ccdproc.ccdmask(ccd, ncmed=7, nlmed=7, ncsig=15, nlsig=15,
... lsigma=9, hsigma=9, ngood=5)


Filter and Convolution
----------------------
Expand Down