diff options
author | Joe Hunkeler <jhunkeler@gmail.com> | 2015-08-11 16:51:37 -0400 |
---|---|---|
committer | Joe Hunkeler <jhunkeler@gmail.com> | 2015-08-11 16:51:37 -0400 |
commit | 40e5a5811c6ffce9b0974e93cdd927cbcf60c157 (patch) | |
tree | 4464880c571602d54f6ae114729bf62a89518057 /noao/imred/crutil/src/crfix.cl | |
download | iraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz |
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'noao/imred/crutil/src/crfix.cl')
-rw-r--r-- | noao/imred/crutil/src/crfix.cl | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/noao/imred/crutil/src/crfix.cl b/noao/imred/crutil/src/crfix.cl new file mode 100644 index 00000000..68947c7a --- /dev/null +++ b/noao/imred/crutil/src/crfix.cl @@ -0,0 +1,20 @@ +# CRFIX -- Replace cosmic rays in an image using a cosmic ray mask. + +procedure crfix (input, output, crmask) + +file input {prompt="Input image"} +file output {prompt="Output image"} +file crmask {prompt="Cosmic ray mask"} + +begin + file in, out, crm + + in = input + out = output + crm = crmask + + if (in != out) + imcopy (in, out, verbose=no) + fixpix (out, crm, linterp="INDEF", cinterp="INDEF", verbose=no, + pixels=no) +end |