2 |
4 |
This is a special version of grasp_save which creates FITS files with a bit more than the minimal contents generated by grasp_save. For a specific application, it may be necessary to augment the FITS files with other tools later, or generate an enhanced version of grasp_save. In the latter case, grasp_save_ota can serve as an example. The following table summarizes some of the differences: |
3 |
5 |
||'''Feature'''||grasp_save?||grasp_save_ota?|| |
4 |
6 |
||Basic FITS support||yes||yes|| |
5 |
7 |
||Keep or subtract pedestal values ("-3" option)||yes||yes|| |
6 |
8 |
||Automatically generate MEF when multiple amplifiers?||yes||yes|| |
7 |
9 |
||Request pixels on a specific network interface ("-i" option)||no||yes|| |
8 |
10 |
||Sequentially save up to 8 OTA cell rows ("-r" option)||no||yes|| |
9 |
11 |
||WCS Keywords ("-w" option)||no||yes|| |
10 |
12 |
Another way to determine if you need grasp_save_ota (or parts of it, incorporated into a grasp_save customized for your detector) is to look at the keywords you want to end up with in the file. |
11 |
13 |
Source of some of the FITS keywords: |
12 |
14 |
||'''Keywords'''||'''Source'''|| |
13 |
15 |
||SIMPLE, BITPIX, NAXIS*, BZERO, BSCALE, [N]EXTEND, XTENSION, EXTNAME||grasp_save basic keywords|| |
14 |
16 |
||CONTROLR='STARGRASP', CON*||supplied to grasp_save by controller|| |
15 |
17 |
||PONTIME||supplied to grasp_save by controller|| |
16 |
18 |
||DETTEM||supplied to grasp_save by controller (only meaningful if hw exists.)|| |
17 |
19 |
||CELLMODE||supplied to grasp_save by controller (only meaningful for OTAs)|| |
18 |
20 |
||CLV_*, ADC_*, DAC_*||supplied to grasp_save by controller (describes all timing and volts.)|| |
19 |
21 |
||TSP_*||supplied to grasp_save_ota by controller (internal controller time stamping)|| |
20 |
22 |
||IMAGESWV, DATE, FILENAME, DARKTIME||grasp_save_ota (should also be done by grasp_save, but it isn't right now)|| |
21 |
23 |
||CCDSUM, DETSIZE, DATASEC, BIASSEC, DETSEC, LTV*, LTM*, ATV*, ATM*||grasp_save_ota, Iraf-style region sections|| |
22 |
24 |
||IMNAXIS*, IMTM*, IMNPIX*, CNAXIS*, CNPIX*, CCDBIN*, PRESCAN*, OVRSCAN*||grasp_save_ota, Vista-style regions|| |
23 |
25 |
||CELLGAP*, FPPOS||grasp_save_ota, OTA-specific keywords|| |
24 |
26 |
||WCSNAME*, CTYPE*, CUNIT*, CRVAL*, CRPIX*, CDELT*, CD?_?||grasp_save_ota -w|| |
25 |
27 |
||MJD-OBS, EXPTIME, SHUTSTAT, SHUT*||fsnap_[shutter] postprocessor|| |
26 |
28 |
||INSTRUME, CMMTOBS, OBSTYPE, EXPREQ, ...||fsnap_[instrument] postprocessor|| |
27 |
29 |
||ORIGIN, TELESCOP, AIRMASS, RA/DEC, etc. ||fsnap_[telescope] postprocessor (e.g., fsnap_gpc_otis)|| |