02.12.2012 Views

class Continuum and Line Analysis Single-dish Software - IRAM

class Continuum and Line Analysis Single-dish Software - IRAM

class Continuum and Line Analysis Single-dish Software - IRAM

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 4<br />

Developer Manual (04-dec-2006)<br />

Please check directly the <strong>class</strong> sources to get the most up-to-date information.<br />

4.1 Internal <strong>class</strong> Format<br />

4.1.1 Contents of one observation<br />

Data, i.e. observational parameters as well as spectra, is organized in the following way:<br />

• One observation is self-contained. All the information needed to reduce it is recorded on<br />

the same few disk blocks. It may be one spectrum or one continuum drift.<br />

• Each observation is divided in several sections, containing header parameters or data:<br />

– General information (date, times, local coordinates, sequence number, ...)<br />

– Positional information (source, name, astronomical coordinates, epoch, offsets, ...)<br />

– Spectral information (number of spectra, line names ans frequencies, resolutions, number<br />

of channels, ...)<br />

– Data<br />

– ...<br />

Each type of section is known by the system by means of an integer code. It is not required<br />

that all sections be present. Some are written by the observing program at the time of<br />

the observations. Some may be dropped during the reduction, being replaced by new ones<br />

describing the results of the different stages of the reduction procedure.<br />

• Each observation begins with the following words:<br />

length content<br />

(bytes)<br />

4 ’2’ (identification code)<br />

4 number of logical blocks<br />

4 number of byte describing the observation<br />

4 address of the data section (bytes)<br />

4 length of the data section (bytes)<br />

4 the number of header sections<br />

31

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!