|
1 |
== grasp_save_ota == |
|
2 |
|
|
3 |
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: |
|
4 |
|
|
5 |
||'''Feature'''||grasp_save?||grasp_save_ota?|| |
|
6 |
||Basic FITS support||yes||yes|| |
|
7 |
||Keep or subtract pedestal values ("-3" option)||yes||yes|| |
|
8 |
||Automatically generate MEF when multiple amplifiers?||yes||yes|| |
|
9 |
||Request pixels on a specific network interface ("-i" option)||no||yes|| |
|
10 |
||Sequentially save up to 8 OTA cell rows ("-r" option)||no||yes|| |
|
11 |
||WCS Keywords ("-w" option)||no||yes|| |
|
12 |
|
|
13 |
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. |
|
14 |
Source of some of the FITS keywords: |
|
15 |
|
|
16 |
||'''Keywords'''||'''Source'''|| |
|
17 |
||SIMPLE, BITPIX, NAXIS*, BZERO, BSCALE, [N]EXTEND, XTENSION, EXTNAME||grasp_save basic keywords|| |
|
18 |
||CONTROLR='STARGRASP', CON*||supplied to grasp_save by controller|| |
|
19 |
||PONTIME||supplied to grasp_save by controller|| |
|
20 |
||DETTEM||supplied to grasp_save by controller (only meaningful if hw exists.)|| |
|
21 |
||CELLMODE||supplied to grasp_save by controller (only meaningful for OTAs)|| |
|
22 |
||CLV_*, ADC_*, DAC_*||supplied to grasp_save by controller (describes all timing and volts.)|| |
|
23 |
||TSP_*||supplied to grasp_save_ota by controller (internal controller time stamping)|| |
|
24 |
||IMAGESWV, DATE, FILENAME, DARKTIME||grasp_save_ota (should also be done by grasp_save, but it isn't right now)|| |
|
25 |
||CCDSUM, DETSIZE, DATASEC, BIASSEC, DETSEC, LTV*, LTM*, ATV*, ATM*||grasp_save_ota, Iraf-style region sections|| |
|
26 |
||IMNAXIS*, IMTM*, IMNPIX*, CNAXIS*, CNPIX*, CCDBIN*, PRESCAN*, OVRSCAN*||grasp_save_ota, Vista-style regions|| |
|
27 |
||CELLGAP*, FPPOS||grasp_save_ota, OTA-specific keywords|| |
|
28 |
||WCSNAME*, CTYPE*, CUNIT*, CRVAL*, CRPIX*, CDELT*, CD?_?||grasp_save_ota -w|| |
|
29 |
||MJD-OBS, EXPTIME, SHUTSTAT, SHUT*||fsnap_[shutter] postprocessor|| |
|
30 |
||INSTRUME, CMMTOBS, OBSTYPE, EXPREQ, ...||fsnap_[instrument] postprocessor|| |
|
31 |
||ORIGIN, TELESCOP, AIRMASS, RA/DEC, etc. ||fsnap_[telescope] postprocessor (e.g., fsnap_gpc_otis)|| |