Next: Glossary
Up: Writing an import task
Previous: Writing an import task
DREAM is a SCUBA observing mode where the chopping is done as part of the
jiggle pattern and the resulting signal is reconstructued by tiling the
bolometer patterns (le Poole and Greve, 1998, SPIE 3357). In this case
it is not necessary to subtract switches, despike or flatfield the data and
SURF is required simply to perform the regridding and coadding.
In this case, the SURF format was chosen to simulate the output of the
flatfield task (the HISTORY component of the NDF was updated to reflect this).
The required stages are:
- Read in the import data file.
- Create output NDF.
- Convert data array to a 2-d array of dimensions (N_BOLS
N_SAMPLES). Also create Variance and Quality arrays.
- Write AXIS information. This is simply bolometer number for the X axis
and integration number for the Y axis.
- Create the SCUCD, SCUBA and REDS extensions.
- Construct the DEM_PNTR array.
- Construct the LST_STRT array.
- Store the jiggle patterns in JIGL_X and JIGL_Y.
- Construct BOL_CHAN and BOL_ADC arrays.
- Store the flatfield information (essentially for the X and Y offsets of
each bolometer). This is done by reading in a flatfield file using
SCULIB_READBOLS.
- Create FITS header (see table
for required keywords for
jiggle map).
- Write fake history information to convince SURF that reduce_switch and
flatfield have been run on the file.
- Shut down.
Next: Glossary
Up: Writing an import task
Previous: Writing an import task
SURF Programming Interface
Starlink System Note 72
Tim Jenness, John F. Lightfoot
Joint Astronomy Centre, Hilo, Hawaii
10 July 2000
E-mail:ussc@star.rl.ac.uk
Copyright © 2008 Science and Technology Facilities Council