This shows you the differences between two versions of the page.
kuiper:link_to_the_instructions [2017/12/01 11:56] mel created |
kuiper:link_to_the_instructions [2017/12/01 12:47] (current) mel |
||
---|---|---|---|
Line 1: | Line 1: | ||
Postprocessing with Watcher and Merge4k | Postprocessing with Watcher and Merge4k | ||
- | Watcher is a script that automatically converts each incoming Extended FITS images from bigccd into a normal FITS image on Grard, using merge4k, then displays the newly merged fits image in the ds9 window. | + | Watcher is a script that automatically converts each incoming Extended FITS images from bigccd into a normal FITS image on Gerard, using merge4k, then displays the newly merged fits image in the ds9 window. |
- | (Note that the previous quicklook display had fatal bugs, so it is currently turned off by default at startup; you can also turn it off by tyling | + | (Note that the previous quicklook display had fatal bugs, so it is currently turned off by default at startup; you can also turn it off by typing |
In order to make watcher more robust - so it doesn' | In order to make watcher more robust - so it doesn' | ||
To start watcher correctly, open a terminal window, and type | To start watcher correctly, open a terminal window, and type | ||
+ | |||
./ | ./ | ||
- | This will pop up a new iraf window that is already cd'ed to the wacher | + | This will pop up a new IRAF window that is already cd'ed to the watcher |
lpar watcher | lpar watcher | ||
- | If you don't want to run an optional script, either epar watcher to set extras="", | + | If you don't want to run an optional script, either epar watcher to set extras="", |
watcher.extra="" | watcher.extra="" | ||
- | If yu're doing light curves, you should set extras = auto_plot | + | If you're doing light curves, you should set extras = auto_plot |
You can either cd to your data directory first (the same directory where bigccd will send the images ) and type | You can either cd to your data directory first (the same directory where bigccd will send the images ) and type | ||
Line 26: | Line 27: | ||
Or just type watcher | Or just type watcher | ||
- | and it will request the name of your data directory. | + | and it will request the name of your data directory. |
- | Watcher will announce " | + | Watcher will announce " |
- | It is useful to reduce the watcher window to a few lines in height and place it under the ds9 image, so that you can see what it's doing as it detects converts, and displays your images. | + | It is useful to reduce the watcher window to a few lines in height and place it under the ds9 image, so that you can see what it's doing as it detects, converts, and displays your images. |
- | If you need to stop watcher, | + | If you need to stop watcher, |
- | Merge4k was written to work properly with images of arbitrary numbers of columns and rows and binning; it readed | + | Merge4k was written to work properly with images of arbitrary numbers of columns and rows and binning; it reads the header and works with whatever image size and binning exist. |
=> Until the version of IRAF running on Gerard gets updated, you will see that 3x3 binned images are 1365 pixels in the x direction instead of 1364; there is an extra (junk) column on the far right | => Until the version of IRAF running on Gerard gets updated, you will see that 3x3 binned images are 1365 pixels in the x direction instead of 1364; there is an extra (junk) column on the far right | ||
- | Every now and then, watcher will miss an image. | + | Every now and then, watcher will miss an image. |
imhead *.fits | grep FX | imhead *.fits | grep FX | ||
- | Any unmerged or improperly merged | + | Any unmerged or improperly merged |
merge4k < | merge4k < | ||
Line 52: | Line 53: | ||
dir raw/< | dir raw/< | ||
- | If it is there, you can almost | + | If it is there, you can almost |
+ | |||
+ | del < | ||
+ | rename raw/< | ||
+ | merge4k < |