Data exchange with other reduction packages

To enable data exchange with other reduction packages, the following format for a Fits file is proposed. For an example, see http://www.astro.uni-bonn.de/~rschaaf/4596.fits.gz

1. Primary Header

Keywords

Keyword

Type

Description

CREATOR

10A

The ID of the program that created the file

TIME

20A

The Time of creation of this file. Format: %Y-%m-%d:%H:%M:%S

MBFITS

30A

The name of the original MBFits dataset without trailing path

SCAN

10A

The Scan Number

OBJECT

30A

Object observed

FEBE

17A

Frontend-backend ID

2. Binary Table DATA

Keywords

Keyword

Type

Value

EXTNAME

20A

'DATA'

Columns

Name

Type

Description

MJD

D

Mjd

DATA

E(nFeed)

The (processed) signal from the bolometers

3. Binary Table FLAGS

Keywords

Keyword

Type

Value

Description

EXTNAME

20A

'FLAGS'

DFLAG1

20A

'SPIKE'

DFLAG2

20A

'GLITCH TYPE 1'

stepped glitches in data

DFLAG3

20A

'GLITCH TYPE 2'

ringing glitches in data

DFLAG4

20A

'SQUID FLUX JUMP'

flux jump counts > 100

DFLAG5

20A

'DEMOD RAILED'

demodulation electronics at amplifier rail

DFLAG6

20A

reserved for future use

DFLAG7

20A

reserved for future use

DFLAG8

20A

reserved for future use

IFLAG1

20A

'TURNAROUND'

telescope in turnaround

IFLAG2

20A

'ACCELERATION THRESHOLD'

telescope exceeded acceleration threshold

IFLAG3

20A

'ELEVATION VELOCITY THRESHOLD'

telescope exceeded threshold in elevation velocity

IFLAG4

20A

reserved for future use

IFLAG5

20A

reserved for future use

IFLAG6

20A

reserved for future use

IFLAG7

20A

'SUBSCAN FLAGGED'

IFLAG8..IFLAG32

20A

reserved for future use

Columns

Name

Type

Description

Remark

MJD

D

Mjd

DATAFLAG

B(nUsedFeed)

Flag for each channel and Mjd

bit n == 1 <=> DFLAGn set

INTEGFLAG

J

4-byte flag for this Mjd

bit n == 1 <=> IFLAGn set

4. Binary Table CHANNELFLAGS

Keywords

Keyword

Type

Value

Description

EXTNAME

20A

'CHANNELFLAGS'

CFLAG1

20A

'NOT CONNECTED'

CFLAG2

20A

'BAD SENSITIVITY'

CFLAG3

20A

'LOW SENSITIVITY'

CFLAG4

20A

'DARK BOLOMETER'

CFLAG5..CFLAG32

20A

reserved for future use

Columns

Name

Type

Description

Remark

CHANNEL

J

Channel number

CHANNELFLAG

J

4-byte flag for this channel

bit n == 1 <=> FLAGn set

5. Binary Table SUBSCANS

Keywords

Keyword

Type

Value

EXTNAME

20A

'SUBSCANS'

Columns

Name

Type

Description

SUBSNUM

J

Subscan number

ISTART

J

Index of Mjd where this subscan starts (zero based)

IEND

J

Index of Mjd where this subscan ends (zero based)

TYPE

10A

Scan type

TIME

E

Duration of subscan in sec (?)

6. Binary Table HISTORY

Keywords

Keyword

Type

Value

EXTNAME

20A

'HISTORY'

Columns

* How To Invest

Name

Type

Description

PROGID

10A

The ID of the program

COMMAND

100A

The command

boawiki: Documentation/Boa_White_Board/DataExchangeFits (last edited 2009-12-17 15:40:25 by localhost)