Since all the tasks rely on information in the NDF extensions that must correspond to data in the main DATA_ARRAY none of the Surf tasks can accept NDF sections [3]. On many occassions it is desirable to work on a subset of the observation (e.g. data from a specific exposure, integration or measurement) and the Surf package supports this via the concept of a ‘SCUBA section.’
A SCUBA section is indicated by using curly brackets after the file name (c.f. round brackets for NDF sections). The brackets then contain a specification that selects a certain part of the input data using the format shown in table 1.
Specifier | Definition |
{ | Begins a SCUBA section |
} | Ends a SCUBA section |
b | indicates that the following numbers |
describe bolometer numbers (ie X axis) | |
p | indicates data position (ie Y axis). |
Can not be used in conjunction with s, e, i or m | |
s | switches |
e | exposures |
i | integrations |
m | measurements |
; | Separates components |
, | Separates numbers |
: | indicates a range of values |
negates the section when placed after the last curly bracket | |
Note that SCUBA data is organised with bolometer number along the X axis and time (eg jiggle) along the Y axis so that the ‘b’ specifier simply selects out bolometer data but the p, s, e, i and m specifiers select data by time.
Here are some example SCUBA sections:
The tasks rebin, bolrebin, intrebin, change_data, change_quality and extract_data understand the concept of SCUBA sections.