Fits files


The fits export now supports a number of extra features.

See the configuration section for more details on setting some of these values.

Main extra kewords

CAMERA
Name of camera taken from .ini file
DETECTOR
Name of detector taken from .ini file
NRUN
Run number
OBJECT
The name of the object set in the object box, this may also form the first part of the filename
OBSTYPE
One of OBJECT,ARC,FOCUS,TEST,DARK,DOMEDARK,DOMEFLAT,TWILIGHT set on the observation panel
IMAGETYP
identical to OBSTYPE
IRAFNAME
The filename of the fits file
FILEPATH
The path and direcctory the file was written to
DATE_OBS
The start of the readout accurate to 1 second, given in the IAU Y2k compatible format
TIME_OBS
The number of milliseconds since the start of the sequence, see timing for details
EXP_TIME
The requested exposure time in seconds, see timing for more details
NFRAMES
The number of frames in each loop of the sequence. This is equal to the number of quadrants selected times the number of reads
FRAME
The number of this frame in the sequence ( runs from 1 to NFRAMES x NLOOPS )
CHIP
The number of this chip ( 1 - 4 )
QUAD
The number of this quadrant ( 1 - 4 )
NLOOPS
The total number of loops in the sequence
LOOP
The current loop for this frame ( 1 - NLOOPS )
NREADS
The number of reads selected at each loop in the sequence
READ
The current read ( 1 - NREADS )
READMODE
The readmode selected, ( either RRR or NDR )
TOTALNDR
The total number of NDR which will be made of this quadrant
CURR_NDR
The number of this read (1 - TOTALNDR )
SUBTRACT
Has this frame been subtracted ( T / F )
INVERTED
Has this frame been inverted ( T / F )
READRATE
The pixcel rate in kHz
CHIPn
The list of selected quadrants in chipn

Pixcel engineering values

This is the list of other values from pixcel.ini which are used to configure the 4100 controller. The names have been changed to meet fits conventions but the full name appears in the comment.

I am not documenting them because if you don't already know what they mean there isn't a lot of point.

External fits file

An external fits header fragment can be specified in the configuration file. If present this will be read in at the start of a sequence and inserted in each fits file written. Since it is only read once per sequence it should contain data which is valid for the entire sequence, typically telescope poiting information.

If the file could not be read for any reason an error message is inserted as a comment field.


Return to Contents