The SCUBA extension contains information on the instrument and the structure of the data array. It has the following format (output of hdstrace):
SCUBA <SCUBA_ST> {structure}
BOL_CALB(16,9) <_REAL> 1.286,0.9311,0.9499,1.002,0.9585,
... 1.054,1.065,1.045,1,1,1,1,1,1,0
BOL_DU3(16,9) <_REAL> 57.08,45.9,36.15,24.64,14.55,3.62,
... -15.78,9.047,-54.65,0,0,0,0,0,0
BOL_DU4(16,9) <_REAL> -28.14,-35.91,-41.46,-49.62,
... 63.89,77.76,71.16,0,0,0,0,0,0
BOL_QUAL(16,9) <_INTEGER> 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
... 0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,1,1
BOL_TYPE(16,9) <_CHAR*20> 'SHORT','SHORT','SHORT','SHORT',
... 'P...','P1350_DC','P1100_DC','BAD'
BOL_ADC(128) <_INTEGER> 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,
... 8,8,8,8,8,8,8,8,9,9,9,9,9,9,9,9,9
BOL_CHAN(128) <_INTEGER> 1,2,3,4,5,6,7,8,9,10,11,12,13,14,
... 12,13,14,15,16,1,2,3,4,5,6,7,8,9
FLAT_ADC <_INTEGER> 0
FLAT_CHN <_INTEGER> 0
FLAT_IND <_INTEGER> 0
PHOT_BB(3,2) <_INTEGER> 0,112,0,0,46,0
DEM_PNTR(2,4,3,1) <_INTEGER> 1,17,49,33,65,81,113,97,129,145,
... 257,273,305,289,321,337,369,353
ISTART <_INTEGER> 0
NPIX <_INTEGER> 0
POINTER <_INTEGER> 0
The first 5 entries are simply the flatfield information (see Appendix
for an example flatfield file). The shape of the arrays
(in this case
) corresponds to the number of channels on each A/D
card and the number of A/D cards. These dimensions must match the values of
the constants SCUBA__NUM_ADC and SCUBA__NUM_CHAN (Appendix
).
The full description of these entries follows:
| (1) |
This information is also available in string form in the PHOT_BBF FITS keyword. For non-PHOTOM based observations this structure is 0.
This array is used to convert from measurement, integration, exposure and switch number to sample number (i.e. the final dimension in the data array). The routines SCULIB_FIND_SWITCH and SCULIB_FIND_INT are provided to simplify this (they also return the position of the end of the switch or integration). It has dimensions of N_SWITCHES, N_EXPOSURES, N_INTEGRATIONS, and N_MEASUREMENTS.
SURF Programming Interface