Download and IRAF setup

contisub.cl needs msky.cl, iterstat.cl, and iterstatnew.cl. All of them are private tasks, so has to be registered in ``login.cl".

And STSDAS/imcalc is used in contisub.cl. So the contisub.cl has to run under the STSDAS prompt. (And ds9 is necessary, no wonder)

1. copy the private cls (msky.cl, iterstat.cl, iterstatnew.cl, and contisub.cl) to your local irafscript repository.

ex) /Users/shong/work/data/irafscripts/

2. add the lines below in ``login.cl'' to register your private tasks.

task msky = /Users/shong/work/data/irafscripts/msky.cl

task iterstat = /Users/shong/work/data/irafscripts/iterstat.cl

task iterstatnew = /Users/shong/work/data/irafscripts/iterstatnew.cl

task contisub = /Users/shong/work/data/irafscripts/contisub.cl

task contisub5sig = /Users/shong/work/data/irafscripts/contisub5sig.cl

3. run the script under the STSDAS prompt

ex) stsdas> contisub Ha.fits R.fits

ex) stsdas> contisub5sig Ha.fits R.fits

ex) stsdas> contisub Ha.fits[200:500,300:800] R.fits[200:500,300:800]

**contisub5sig.cl is a 5sigma iterstat rejection version of contisub.cl.

** Only tested in ``ecl'' not in ``cl'' or ``pyraf''.