This section gives for every product file a short description of the contents and of the use of this file.
The LWS Instrument Time Key (ITK) is the main source of timing information in the products for one AOT, and is therefore extremely important for the processing. The LWS ITK is unique over an orbit. It is given in units of of a second. The ITK for science record n can be calculated using:
where:
Table 8.1 gives the general keywords that are used in the header of every data product. Some of these are general FITS keywords, others are specific for ISO data.
Table 8.1: The general keywords
that are used in the headers of all product files.
Field | Number | Type | Description |
CSGPUKST | 1 | I*4 | UTK start time |
CSGPUKEN | 1 | I*4 | UTK end time |
CSGPIKST | 1 | I*4 | ITK start time |
CSGPIKEN | 1 | I*4 | ITK end time |
CSGPUTST | 2 | I*4 | UTC start time |
CSGPUTEN | 2 | I*4 | UTC end time |
CSGPOSN | 1 | I*1 | Observation Sequence Number |
CSGPFILL | 15 | I*1 | Spare |
LSTASMP1 | 1 | I*2 | Sample list word 1 |
LSTASMP2 | 1 | I*2 | Sample list word 2 |
LSTASMP3 | 1 | I*2 | Sample list word 3 |
LSTASMP4 | 1 | I*2 | Sample list word 4 |
LSTASMP5 | 1 | I*2 | Sample list word 5 |
LSTASMP6 | 1 | I*2 | Sample list word 6 |
LSTASMP7 | 1 | I*2 | Sample list word 7 |
LSTALTYP | 1 | I*2 | Sample list type |
LSTASPA1 | 1 | I*2 | Spare |
LSTAGRSN | 1 | I*2 | Grating scan number |
LSTAGRSD | 1 | I*2 | Grating scan direction (0:forward, 1:reverse) |
LSTASTAT | 1 | I*2 | Instrument status |
LSTAFPSN | 1 | I*2 | FP scan number |
LSTAFPSD | 1 | I*2 | FP scan direction (0:forward, 1:reverse) |
LSTAXTRA | 1 | I*4 | Spare |
LSTATYPE
is Integer*2 variable consisting of a high byte which
identifies the subsystem and a low byte that subdivides different types
within the subsystem. The subsystem values are:
'0100'X Illuminator subsystem '0200'X Grating subsystem '0300'X FPS subsystem '0400'X FPL subsystem '0000'X OtherUsing this and the
LSTASTAT
field the status of the instrument at
any given time can be determined:
LSTATYPE | LSTASTAT | Meaning |
Grating | 0 | Grating sample list, grating not scanning |
Grating | 1 | Grating sample list, grating scanning |
FPS | 0 | FPS sample list, FP not scanning |
FPS | 1 | FPS sample list, FP scanning |
FPL | 0 | FPL sample list, FP not scanning |
FPL | 1 | FPL sample list, FP scanning |
Illuminator | 0 | Illuminator sample list, illuminators off |
Illuminator | 1 | Illuminator sample list, illuminators on |
Other | n/a | Other sample list |
The sample list is used to tell the instrument which subsystems have to be read-out. The following list gives the possible sample lists for LWS.
Sample list | Sampled data |
Grating | 10 detectors, grating position (LVDT), grating structure |
temperature, grating electronics temperature, grating | |
commanded position | |
FPS | 10 detectors, grating commanded position, FPS commanded |
position, 3 FPS error signals | |
FPL | 10 detectors, grating commanded position, FPL commanded |
position, 3 FPL error signals | |
Illuminator | 10 detectors, illuminator current, grating structure |
temperature, temperature A or temperature B, FPL temperature | |
illuminator status |
In principle the only things that are of interest to the general user of LWS are the detector read outs, the positions of grating and FP, and the illuminator status. The temperatures are put here as well for use by the LWS instrument team.
The record structure can be found in table 8.3.
Field | Offset | Number | Type | Description |
GPSCTKEY | 0 | 1 | I*4 | Instrument time key |
GPSCRPID | 4 | 2 | I*1 | Raster point ID (also for single pointing) |
GPSCFILL | 6 | 1 | I*2 | Spare |
LIERDSW1 | 8 | 1 | I*2 | SW1 detector readout |
LIERDSW2 | 10 | 1 | I*2 | SW2 detector readout |
LIERDSW3 | 12 | 1 | I*2 | SW3 detector readout |
LIERDSW4 | 14 | 1 | I*2 | SW4 detector readout |
LIERDSW5 | 16 | 1 | I*2 | SW5 detector readout |
LIERDLW1 | 18 | 1 | I*2 | LW1 detector readout |
LIERDLW2 | 20 | 1 | I*2 | LW2 detector readout |
LIERDLW3 | 22 | 1 | I*2 | LW3 detector readout |
LIERDLW4 | 24 | 1 | I*2 | LW4 detector readout |
LIERDLW5 | 26 | 1 | I*2 | LW5 detector readout |
LIERGST | 28 | 1 | I*2 | Grating structure temperature |
LIERDTA | 30 | 1 | I*2 | Detector temperature A |
LIERLTMP | 32 | 1 | I*2 | FPL temperature |
LIERICUR | 34 | 1 | I*2 | Illuminator current |
LIERICS | 36 | 1 | I*2 | Illuminator commanded status |
LIERFIL2 | 38 | 1 | I*2 | Spare |
The record structure can be found in table 8.4.
Field | Offset | Number | Type | Description |
GPSCTKEY | 0 | 1 | I*4 | Instrument time key |
GPSCRPID | 4 | 2 | I*1 | Raster point ID (also for single pointing) |
GPSCFILL | 6 | 1 | I*2 | Spare |
LGERDSW1 | 8 | 1 | I*2 | SW1 detector readout |
LGERDSW2 | 10 | 1 | I*2 | SW2 detector readout |
LGERDSW3 | 12 | 1 | I*2 | SW3 detector readout |
LGERDSW4 | 14 | 1 | I*2 | SW4 detector readout |
LGERDSW5 | 16 | 1 | I*2 | SW5 detector readout |
LGERDLW1 | 18 | 1 | I*2 | LW1 detector readout |
LGERDLW2 | 20 | 1 | I*2 | LW2 detector readout |
LGERDLW3 | 22 | 1 | I*2 | LW3 detector readout |
LGERDLW4 | 24 | 1 | I*2 | LW4 detector readout |
LGERDLW5 | 26 | 1 | I*2 | LW5 detector readout |
LGERGLVP | 28 | 1 | I*2 | Grating LVDT position |
LGERGCUR | 30 | 1 | I*2 | Grating current |
LGERGST | 32 | 1 | I*2 | Grating structure temperature |
LGERGET | 34 | 1 | I*2 | Grating electronics temperature |
LGERGCP | 36 | 1 | I*2 | Grating commanded position |
LGERFIL2 | 38 | 1 | I*2 | Spare |
Field | Offset | Number | Type | Description |
GPSCTKEY | 0 | 1 | I*4 | Instrument time key |
GPSCRPID | 4 | 2 | I*1 | Raster point ID (also for single pointing) |
GPSCFILL | 6 | 1 | I*2 | Spare |
LSERDSW1 | 8 | 1 | I*2 | SW1 detector readout |
LSERDSW2 | 10 | 1 | I*2 | SW2 detector readout |
LSERDSW3 | 12 | 1 | I*2 | SW3 detector readout |
LSERDSW4 | 14 | 1 | I*2 | SW4 detector readout |
LSERDSW5 | 16 | 1 | I*2 | SW5 detector readout |
LSERDLW1 | 18 | 1 | I*2 | LW1 detector readout |
LSERDLW2 | 20 | 1 | I*2 | LW2 detector readout |
LSERDLW3 | 22 | 1 | I*2 | LW3 detector readout |
LSERDLW4 | 24 | 1 | I*2 | LW4 detector readout |
LSERDLW5 | 26 | 1 | I*2 | LW5 detector readout |
LSERGLVP | 28 | 1 | I*2 | Grating LVDT position |
LSERSCP | 30 | 1 | I*2 | FPS commanded position |
LSERSEC1 | 32 | 1 | I*2 | FPS error signal 1 |
LSERSEC2 | 34 | 1 | I*2 | FPS error signal 2 |
LSERSEC3 | 36 | 1 | I*2 | FPS error signal 3 |
LSERFIL2 | 38 | 1 | I*2 | Spare |
Field | Offset | Number | Type | Description |
GPSCTKEY | 0 | 1 | I*4 | Instrument time key |
GPSCRPID | 4 | 2 | I*1 | Raster point ID (also for single pointing) |
GPSCFILL | 6 | 1 | I*2 | Spare |
LLERDSW1 | 8 | 1 | I*2 | SW1 detector readout |
LLERDSW2 | 10 | 1 | I*2 | SW2 detector readout |
LLERDSW3 | 12 | 1 | I*2 | SW3 detector readout |
LLERDSW4 | 14 | 1 | I*2 | SW4 detector readout |
LLERDSW5 | 16 | 1 | I*2 | SW5 detector readout |
LLERDLW1 | 18 | 1 | I*2 | LW1 detector readout |
LLERDLW2 | 20 | 1 | I*2 | LW2 detector readout |
LLERDLW3 | 22 | 1 | I*2 | LW3 detector readout |
LLERDLW4 | 24 | 1 | I*2 | LW4 detector readout |
LLERDLW5 | 26 | 1 | I*2 | LW5 detector readout |
LLERGLVP | 28 | 1 | I*2 | Grating LVDT position |
LLERLCP | 30 | 1 | I*2 | FPL commanded position |
LLERLEC1 | 32 | 1 | I*2 | FPL error signal 1 |
LLERLEC2 | 34 | 1 | I*2 | FPL error signal 2 |
LLERLEC3 | 36 | 1 | I*2 | FPL error signal 3 |
LLERFIL2 | 38 | 1 | I*2 | Spare |
The record structure can be found in table 8.7.
Field | Offset | Number | Type | Description |
GEPRTKEY | 0 | 1 | I*4 | Instrument time key |
GEPRQUAL | 4 | 2 | I*1 | Frame quality flag (see note) |
LWHKFR01 | 8 | 128 | I*2 | House keeping Frame 1 |
LWHKFR17 | 264 | 128 | I*2 | House keeping Frame 17 |
The frame quality flag is set to 0 for perfect data, and is non-zero for imperfect quality data (i.e. frame 1 or 17 are bad). The House keeping frames 1 and 17 contain the essential house keeping of the instrument and are used in the processing. The most important parameters that can be found in these house keeping frames are given in Tables 8.8, 8.9,8.10 and 8.2.3.6.
Table 8.8: Position in the
House Keeping frames of the detector bias values.
Table 8.9: Location of
the most important amplifier parameters in the House Keeping
frames.
Table 8.10: Location of the
most important grating parameters in the LWS House Keeping frames.
Table 8.11: Location of Fabry
Perot parameters in the Housekeeping frames.
The photo-current s for one detector at all mechanism position s in one scan will constitute one LWS ``mini-spectrum''.
The units for the LWS derive-SPD data are:
Table 8.12 gives the record structure for the LWS SPD product file.
Field | Offset | Number | Type | Unit | Description |
GPSCTKEY | 0 | 1 | I*4 | - | General prefix: ITK |
GPSCRPID | 4 | 2 | I*1 | - | General prefix: Raster Point ID |
GPSCFILL | 6 | 1 | I*2 | - | General prefix: Spare |
LSPDTYPE | 8 | 1 | I*4 | - | Record type |
LSPDADET | 12 | 1 | I*4 | - | Active detector flags. Bit 0 = SW1, |
bit 1 = SW2... (bit 0=LSB) | |||||
LSPDLINE | 16 | 1 | I*4 | - | Line number |
LSPDSCNT | 20 | 1 | I*4 | - | Scan count |
LSPDSDIR | 24 | 1 | I*4 | - | Scan direction (0=forward, 1=reverse |
-999=error) | |||||
LSPDGCP | 28 | 1 | I*4 | - | Grating commanded position |
LSPDGLVP | 32 | 1 | R*4 | - | Grating LVDT position (average over |
- | mechanism position) | ||||
LSPDGLVU | 36 | 1 | R*4 | - | Uncertainty in grating LVDT position |
LSPDFPOS | 40 | 1 | I*4 | - | FP position |
LSPDPHC | 44 | 10 | R*4 | A | Detector photo-currents |
LSPDPHCU | 84 | 10 | R*4 | A | Detector photo-current uncertainties |
LSPDDPUD | 124 | 10 | R*4 | A | Detector photo-current without deglitching |
LSPDDUUD | 164 | 10 | R*4 | A | Uncertainty in photo-current without |
deglitching | |||||
LSPDSTAT | 204 | 10 | I*1 | - | Detector Status bytes |
LSPDMAUX | 214 | 1 | I*2 | - | Auxiliary data for this mechanism |
position |
The header of the LWS SPD file contains the ganeral FITS keywords described in section 8.2.2. It also contains the additional keywords listed in table 8.13.
Keyword | Type | Unit | Description |
LSWAVE | R | m | Start wavelength of requested range |
LEWAVE | R | m | End wavelength of requested range |
LSVERSn | C | none | LWS version information for each calibration |
file (n=1,2,3,...). | |||
LBIASdd | I | none | Bias level for each detector. |
LCD1* | * | * | Various keywords which detail how first level |
deglitching functioned. These are copied from | |||
the LCD1 calibration file used | |||
(see table 8.23) | |||
LCD2* | * | * | Keywords for second level deglitching, see |
table 8.25. Now not used. | |||
LCD3* | * | * | Keywords for third level deglitching, see |
table 8.27. Now not used. | |||
LCFORD | I | Order of slope fit for detector ramps | |
(1=first order, 2=second order, 0=auto selection) | |||
For pipeline processing this value is fixed. | |||
LCF* | L | none | Set of flags indicating the processing options |
that were selected. For pipeline processing these | |||
are fixed at standard settings. | |||
LPHOTOM | L | none | Flag indicating if observation is done |
in photometric mode (fixed grating). |
In addition to these keywords, the SPD header also contains various statistics on the data. These are intended more for diagnostics, so they should be treated with caution by observers. They are listed in table 8.14. The letter 'n' at the end of the keyword is used to indicate that there is a set of keywords with one keyword per detector. The value of n ranges from 0 to 9, with 0 representing detector SW1, etc. See also the description of the processing performed by Derive-SPD in section 6.3.
Keyword | Type | Unit | Description |
LSRNDAT | I | none | Total number of raw data points read from ERD per |
detector | |||
LSRNRMP | I | none | Total number of ramps read from ERD per detector |
LSRNITKJ | I | none | Number of jumps in ITK (indicated missing data |
caused by telemetry dropouts etc.). | |||
LSRNSPKn | I | none | Number of anomalous points found. See description |
of first level deglitching. | |||
LSRUNRn | I | none | Number of points rejected due to detector resets |
and mechanism movements. | |||
LSRDNRn | I | none | Number of points rejected as having invalid raw |
values. | |||
LSRDG1Rn | I | none | Number of points rejected due to glitches |
detected by first level deglitching. | |||
LSRDG2* | I | none | Statistics related to second level deglitching. |
No longer used, so should always be zero. | |||
LSRDG3* | I | none | Statistics related to third level deglitching. |
No longer used, so should always be zero. | |||
LSRDG1Nn | I | none | Number of glitches found by first level |
deglitching. | |||
LSRDG1An | I | none | Number of ramps affected by glitches found by |
first level deglitching. (Ramp could contain | |||
more than one glitch.) | |||
LSRFIT1n | I | none | Number of ramps fitted with first order slope fit. |
LSRFIT2n | I | none | Number of ramps fitted with second order slope fit. |
LSRFEWRn | I | none | Number of points rejected because too few points |
remained in ramp for slope to be fitted. | |||
LSRVLTRn | I | none | Number of points rejected because they were saturated. |
LSRNPNTn | I | none | Number of data points actually processed into SPD. |
LSRMAXPn | R | A | Maximum photocurrent |
LSRMINPn | R | A | Minimum photocurrent |
LSRMAXGn | R | A | Maximum goodness of fit of slopes |
LSRMINGn | R | A | Minimum goodness of fit of slopes |
LSRMAXDn | R | 1/V | Maximum calculated debiasing parameter. Only |
calculated for second order slope fits. Set to | |||
zero if not calculated. | |||
LSRMINDn | R | 1/V | Minimum calculated debiasing parameter. Only |
calculated for second order slope fits. Set to | |||
if not calculated. | |||
LSRPERn | R | none | Percentage of raw data points actually used to |
calculate SPD results. |
The LIPD has two principle purposes. Firstly it is used by Auto-Analysis to perform the absolute responsivity correction. This is done by comparing the photocurrents in the LIPD file against reference photocurrents in the LCIR calibration file. Secondly the ramps at the start of `closed' illuminator flashes provide a measure of the background and straylight at that time.
The header of the LIPD file contains the same keywords as the header of the LSPD file. The LIPD file contains the same detector status word as the LSPD file (see section 8.2.5).
Each time a glitch event is detected by first level deglitching within DERIVE SPD a record of data is written to the LWGH file.
There is a maximum number of glitch events which can be written to the file per AOT. This is to prevent the file size from growing uncontrollably in case of software or hardware problems. The maximum size shall be set so that all glitches are recorded while the glitch rate is valid. If the maximum number of glitches is exceeded then no more records are written to the file, but a count of the number of glitches is maintained and written into the file header.
Each record of the LWGH file shall contain the fields given in table 8.15.
Name | offset | num | type | Description |
LWGHDTGH | 0 | 1 | I*2 | Detector ID (4 bits) |
Glitch Height (12 bits) | ||||
LWGHTIME | 2 | 1 | I*2 | Glitch time (offset in 2 second units |
from TREFUTC1) |
The detector ID identifies which detector the glitch occurred on. This is encoded as a number between 0 and 9, where 0 represents detector SW1 and 9 represents detector LW5.
The glitch height is encoded as a twelve bit number. If this is written
as an unsigned number then this allows glitch heights to be resolved into
4096 different levels. The FITS keywords LWGHSCAL
and
LWGHZERO
shall be
used in order to convert this number into a voltage as follows:
Voltage = LWGHZERO + (LWGHSCAL * glitch height number)
The time that the glitch occurred is specified as the number of 2 second units relative to the keyword TREFUTC1. This keyword is present in the header of each ERD file and specifies the UTC of an arbitrary format during the observation. It was decided that the time should be specified to the nearest 2 seconds, rather than to the nearest second because otherwise an integer overflow will occur if a TDT exceed 32,767 seconds (9.1 hours) duration.
The FITS header for the file must contain, in addition to the mandatory keywords, at least the additional keywordsgiven in table 8.16.
Name | Type | Description |
TREFUTC1 | I | The Universal time, in seconds, of an arbitrary format |
during the observation. The field LWGHTIME specifies | ||
the time of the glitch relative to this point | ||
TREFUTC2 | I | Remaining fractions of a second of time specified by |
TREFUTC1 | ||
TREFITK | I | ITK time corresponding to TREFUTC1 |
TREFUTK | I | UTK time corresponding to TREFUTC1 |
LWGHZERO | F | Zero value for conversion of glitch height voltage |
LWGHSCAL | F | Scaling factor for conversion of glitch height voltage |
LWGHOVFL | I | Number of glitches that overflowed the maximum glitch |
height value that could be represented by the twelve | ||
bit value in LWGHDTGH . This should normally be | ||
zero | ||
LWGHMORE | I | Number of additional glitches found after maximum |
number of glitch records allowed in file had been | ||
exceeded | ||
LSVERSn | C | LWS version information for each calibration file |
used (n=1,2,3,...) | ||
LCD1* | * | Various keywords which detail how first level |
deglitching functioned. These are copied from | ||
the LCD1 calibration file used | ||
(see table 8.23) |
The keywords TREFUTC1, TREFUTC2, TREITK, and TREFUTK are copied from the header of the ERD file being processed.
Each LSPD and LIPD record contains a status word for each of the ten detectors for the current ramp. This has been implemented as the field LSPDSTAT or LIPDSTAT, which are arrays of 10 words, with one word for each detector.
The detector status word contains the fields (Bit position 0 is the least significant bit) given in Table 8.17.
Bit | Description |
0 | Glitch flag |
1 | Saturation flag |
2-4 | Number of (mini) ramps |
5-7 | Percentage of available data used |
These fields are described in more detail below.
If the averaging is ever switched on again then this number can go up
The value is stored as a three bit number. If averaging of ramps at each mechanism position is switched on again the this number can go up to a value of 7. The value 7 means `7 or more'.
The number of 'available' data points is defined as the number of sampled detector readouts for this ramp, minus the number of points discarded because of detector resets and mechanism movements.
The following table gives the meaning of each of the possible values of this bit field:
Bit value | Meaning |
0 | |
1 | |
2 | |
3 | |
4 | |
5 | |
6 | |
7 |
Each record of the LSPD file contains a single integer*2 field called LSPDMAUX. This word contains various status information associated with the current mechanism position.
The meaning of each of the bits in this word are given in Table 8.18
Bit | Description |
0-3 | NRESETS |
4-13 | NSAMPLES |
14 | Grating LVDT error |
15 | Spare |
These fields are described in more detail below.
Each SPD calibration file contains a version number and date for identification
purposes. The version numbers are contained in the keywords named
XXXXVER
, where XXXX
is the four letter name of the calibration
file. The date is contained in the keyword LDATE
. The date and version
numbers of the calibration files used by Derive-SPD are written into the
header of the SPD file as a series of keywords named LVERSn
(n=1,2,...).
LCDTNSAM
.
The second discard time is used for ramps which have more samples
than this value. The discard times are specified in milliseconds.
See table 8.19. This feature is intended to allow longer discard
times for lower signal levels (longer ramps).name | type | unit | description |
LCDTNSAM | I | none | Threshold for switching from standard set of |
detector reset discard times to alternate set. | |||
LCDTTRTn | R | ms | Standard discard time for detector n (n=0...9) |
following detector reset. Only used if number of | |||
samples in ramp is less than or equal to LCDTNSAM. | |||
LCDTTRAn | R | ms | Alternate discard time for detector n (n=0...9) |
following detector reset. Only used if number of | |||
samples in ramp is greater than to LCDTNSAM. | |||
LCDTTGR | R | ms | discard time after Grating movement |
LCDTTFP | R | ms | discard time after Fabry-Perot movement |
name | type | unit | description |
LCALDMI0 | I | - | Detector SW1 minimum readout |
LCALDMI1 | I | - | Detector SW2 minimum readout |
LCALDMI2 | I | - | Detector SW3 minimum readout |
LCALDMI3 | I | - | Detector SW4 minimum readout |
LCALDMI4 | I | - | Detector SW5 minimum readout |
LCALDMI5 | I | - | Detector LW1 minimum readout |
LCALDMI6 | I | - | Detector LW2 minimum readout |
LCALDMI7 | I | - | Detector LW3 minimum readout |
LCALDMI8 | I | - | Detector LW4 minimum readout |
LCALDMI9 | I | - | Detector LW5 minimum readout |
LCALDMX0 | I | - | Detector SW1 maximum readout |
LCALDMX1 | I | - | Detector SW2 maximum readout |
LCALDMX2 | I | - | Detector SW3 maximum readout |
LCALDMX3 | I | - | Detector SW4 maximum readout |
LCALDMX4 | I | - | Detector SW5 maximum readout |
LCALDMX5 | I | - | Detector LW1 maximum readout |
LCALDMX6 | I | - | Detector LW2 maximum readout |
LCALDMX7 | I | - | Detector LW3 maximum readout |
LCALDMX8 | I | - | Detector LW4 maximum readout |
LCALDMX9 | I | - | Detector LW5 maximum readout |
V = (raw detector value - LCVCVOFF) * LCVCVFACwhere the keywords are:
LCVCVFAC= Conversion factor, Volts per raw value LCVCVOFF= Offset to be subtracted from raw valueThe conversion factor and the offset value are REAL values.
LCGADG<detector><gain>
, where <detector>
specifies the
detector as a
number between 0 and 9, and <gain>
specifies the gain setting
as a
number between 0 and 7.
name | type | unit | description |
LCJFJG0 | R | - | Detector SW1 JF4 gain |
LCJFJG1 | R | - | Detector SW2 JF4 gain |
LCJFJG2 | R | - | Detector SW3 JF4 gain |
LCJFJG3 | R | - | Detector SW4 JF4 gain |
LCJFJG4 | R | - | Detector SW5 JF4 gain |
LCJFJG5 | R | - | Detector LW1 JF4 gain |
LCJFJG6 | R | - | Detector LW2 JF4 gain |
LCJFJG7 | R | - | Detector LW3 JF4 gain |
LCJFJG8 | R | - | Detector LW4 JF4 gain |
LCJFJG9 | R | - | Detector LW5 JF4 gain |
LCJFJC0 | R | farad | Detector SW1 JF4 capacitance |
LCJFJC1 | R | farad | Detector SW2 JF4 capacitance |
LCJFJC2 | R | farad | Detector SW3 JF4 capacitance |
LCJFJC3 | R | farad | Detector SW4 JF4 capacitance |
LCJFJC4 | R | farad | Detector SW5 JF4 capacitance |
LCJFJC5 | R | farad | Detector LW1 JF4 capacitance |
LCJFJC6 | R | farad | Detector LW2 JF4 capacitance |
LCJFJC7 | R | farad | Detector LW3 JF4 capacitance |
LCJFJC8 | R | farad | Detector LW4 JF4 capacitance |
LCJFJC9 | R | farad | Detector LW5 JF4 capacitance |
LCDB<bias>DB<det>
, where
<bias>
is the
bias level (0 to 5) and <det>
is the detector
number (0 to 9). Bias
levels 6 and 7 are not used during observations and are therefore not
included in this table.
The second section contains for each detector the maximum allowable
voltage readout. Readouts which are above this voltage are rejected.
Table 8.22 gives a list of these keywords. Finally the file contains
the voltage thresholds for switching between first and second order slope
fitting. These are specified for each detector as a fraction of
1/debiasing parameter.
name | type | unit | description |
LCDB<bias>DB<det> | R | 1/volts | Debiasing parameters (60 total) |
LCDBVM0 | R | Volts | Detector SW1 maximum readout |
LCDBVM1 | R | Volts | Detector SW2 maximum readout |
LCDBVM2 | R | Volts | Detector SW3 maximum readout |
LCDBVM3 | R | Volts | Detector SW4 maximum readout |
LCDBVM4 | R | Volts | Detector SW5 maximum readout |
LCDBVM5 | R | Volts | Detector LW1 maximum readout |
LCDBVM6 | R | Volts | Detector LW2 maximum readout |
LCDBVM7 | R | Volts | Detector LW3 maximum readout |
LCDBVM8 | R | Volts | Detector LW4 maximum readout |
LCDBVM9 | R | Volts | Detector LW5 maximum readout |
LCDBORDn | R | Volts | Voltage threshold for switch to second order |
slope fitting for detector n (n=1...9). |
name | type | unit | description |
LCD1GFRA | R | none | Glitches whose height is below this fraction of |
the ramp height will be rejected | |||
LCD1SPRA | R | none | 'Spikes' whose height is below this fraction of |
the ramp height will be rejected | |||
LCD1SDRJ | R | none | Number of standard deviations from mean for point |
to be marked as an outlier. | |||
LCD1PGRJ | I | none | Number of ramps to discard after a positive glitch. |
LCD1NGRJ | I | none | Number of ramps to discard after a negative glitch. |
LCD1GRRJ | L | none | Indicates if the whole of the glitched ramp should |
be discarded. | |||
LCD1PGRI | I | none | For illuminator flashes, the number of ramps to |
discard after a positive glitch. | |||
LCD1NGRI | I | none | For illuminator flashes, the number of ramps to |
discard after a negative glitch. | |||
LCD1GRRJ | L | none | For illuminator flashes, indicates if the whole of |
the glitched ramp should be discarded. |
LCGHGHMR
)
gives the maximum number of records
that can be written to the LWS Glitch History file.
The following two keywords (LCGHGHV0
and LCGHGHVS
)
are used for
the conversion of the glitch height in volts to a 12 bit integer
number representing the glitch height, which is written to the
glitch history file. Table 8.24 lists the keywords.
name | type | unit | description |
LCGHGHMR | I | - | Maximum number of records |
LCGHGHV0 | R | Volts | Offset to be subtracted |
LCGHGHVS | R | Scaling factor |
name | type | unit | description |
LCD2D2R0 | R | - | SW1 rejection level |
LCD2D2R1 | R | - | SW2 rejection level |
LCD2D2R2 | R | - | SW3 rejection level |
LCD2D2R3 | R | - | SW4 rejection level |
LCD2D2R4 | R | - | SW5 rejection level |
LCD2D2R5 | R | - | LW1 rejection level |
LCD2D2R6 | R | - | LW2 rejection level |
LCD2D2R7 | R | - | LW3 rejection level |
LCD2D2R8 | R | - | LW4 rejection level |
LCD2D2R9 | R | - | LW5 rejection level |
name | type | unit | description |
LCFPHFT0 | R | seconds | Detector SW1 time constant |
LCFPHFT1 | R | seconds | Detector SW2 time constant |
LCFPHFT2 | R | seconds | Detector SW3 time constant |
LCFPHFT3 | R | seconds | Detector SW4 time constant |
LCFPHFT4 | R | seconds | Detector SW5 time constant |
LCFPHFT5 | R | seconds | Detector LW1 time constant |
LCFPHFT6 | R | seconds | Detector LW2 time constant |
LCFPHFT7 | R | seconds | Detector LW3 time constant |
LCFPHFT8 | R | seconds | Detector LW4 time constant |
LCFPHFT9 | R | seconds | Detector LW5 time constant |
name | type | unit | description |
LCD3D3R0 | R | - | SW1 rejection level |
LCD3D3R1 | R | - | SW2 rejection level |
LCD3D3R2 | R | - | SW3 rejection level |
LCD3D3R3 | R | - | SW4 rejection level |
LCD3D3R4 | R | - | SW5 rejection level |
LCD3D3R5 | R | - | LW1 rejection level |
LCD3D3R6 | R | - | LW2 rejection level |
LCD3D3R7 | R | - | LW3 rejection level |
LCD3D3R8 | R | - | LW4 rejection level |
LCD3D3R9 | R | - | LW5 rejection level |
This product contains the set of individual spectra for each detector including the range required by the observer. Each spectrum consists of calibrated flux and wavelength, together with their uncertainties, and has been derived from data gathered from a single detector during a single scan whilst observing a single point on the sky (could be one point of a raster) in a single AOT.
The user is reminded that within the LWS Off-line Processing chain \ there will be:
The units for the data in this product are:
Each record of the LSAN contains:
The record structure is given in table 8.28. The header of the LSAN file contains information about the calibration that was used to derive the product, in particular the flux calibration and the velocity correction. Table 8.29 gives the keywords that contain this information.
Field | Offset | Number | Type | Unit | Description |
LSANUTK | 0 | 1 | I*4 | - | UTK time |
LSANRPID | 4 | 2 | I*1 | - | Raster Point ID |
LSANFILL | 6 | 1 | I*2 | - | Filler |
LSANLINE | 8 | 1 | I*4 | - | Line number |
LSANDET | 12 | 1 | I*4 | - | Detector ID |
LSANSDIR | 16 | 1 | I*4 | - | Scan direction |
LSANSCNT | 20 | 1 | I*4 | - | Scan count |
LSANWAV | 24 | 1 | R*4 | m | Wavelength |
LSANWAVU | 28 | 1 | R*4 | m | Uncertainty in wavelength |
LSANFLX | 32 | 1 | R*4 | W/cm m | Flux on detector |
LSANFLXU | 36 | 1 | R*4 | W/cm m | Uncertainty in flux |
LSANSTAT | 40 | 1 | I*4 | - | Status word |
LSANITK | 44 | 1 | I*4 | - | ITK time |
Name | Type | Description |
LSVERSn | C | LWS version number for each SPL calibration file |
(n=1,2,3.....) | ||
LPHOTOM | L | Flag indicating if observation is done |
in photometric mode (fixed grating). | ||
LVERSn | C | LWS version number for each AAL calibration file |
(n=1,2,3.....) | ||
LCGBdet | R | Grating spectral bandwidth correction factor for |
detector det (det=SW1....LW5) from LCGB file | ||
LCGBUdet | R | Uncertainty in grating spectral bandwidth correction |
factor for detector det (det=SW1...LW5) from LCGB file | ||
LOWRTALL | L | Flag indicating whether LSAN file contains all data |
LOSKPDRK | L | Indicates if dark current subtraction was omitted |
LOSKPFPR | L | Indicates if FP spectral responsivity stage was omitted |
LOSKPVEL | L | Indicates if FP velocity correction stage was omitted |
LOABSOPT | I | Abs. responsivity option, 0=off, 1=on, 2=select |
LORELOPT | I | Rel. responsivity option, 0=off, 1=on, 2=select |
LVCOEFn | R | Coefficient of 2nd order fit for the velocity |
correction (n=0,1,2). | ||
LOABSDN | L | Indicates if absolute responsivity correction was done |
LORELDN | L | Indicates if relative responsivity correction was done |
The LSAN file contains one record per detector for each ramp. The status words in the LSNR files are identical in layout and content to the status words in the LSAN file.
Each record of the LSAN file contains one 32 bit status word per record. 8 bits of this status word are simply a copy of the status word for the appropriate detector from the LSPD file.
The layout of the LSAN status word for each detector is as given in Table 8.30.
Bit | Meaning |
0-7 | Copy of detector status word from LSPD file |
8 | Invalid data flag |
9 | Spectral responsivity error flag |
10 | Active detector flag |
11-14 | Spare |
15 | FP flag. Set to 1 if FPL is in use. 0 otherwise |
16-23 | Spare |
24 | Invalid photocurrent flag |
The invalid data flag indicates that the flux value is not valid. This flag will be set if the SPD contained no data for this point, or an error occurred during the spectral responsivity correction stage (see below), or if the invalid photocurrent flag is set (see below). If the 'percentage data' field in the SPD status word is set to 0 then there was no SPD data for this point. This is usually due to data being discarded due to glitches.
The spectral responsivity error flag indicates that either no responsivity value could be found in the calibration files for this point, or that the responsivity value found was set to zero.
The active detector flag indicates for L02 and L04 AOTs if this detector is the `active' detector. For these AOTs only one detector can be active at any one time. For L01, L03 and photometric L02 AOTs this flag is not applicable and will not be set for any detector.
Note that the `level' number relates to the order of the valid illuminator operations specified in the LCSI calibration file. It does not necessarily relate to the order that the operations were taken within the illuminator flash. You must check the LCSI calibration file in order to determine which illuminator operation corresponds to which level.
The invalid photocurrent flag indicates that the value of the detector photocurrent from the SPD data was outside the acceptable range for this observation. Invalid photocurrent values may be caused by glitches which have not been detected.
All Auto Analysis calibration files contain a set of standard keywords in their header to identify the version and validity of the file. These keywords can be used to check that the calibration files are valid for the data that is being processed. The keywords are checked during the automatic processing of the data in the SOC-OLP pipeline.
The keywords can be found in table 8.31
name | type | unit | description |
LDATE | C | - | date of creation or update |
LVER | I | - | version number |
LMODEL | C | - | identifies instrument model (always FM) |
LVLSTART | I | - | UTK of start of validity |
LVLEND | I | - | UTK of end of validity |
LVLBIAn | I | - | indicates the bias level for which |
the file is valid for each detector | |||
(0-9). If LVLBIA0 is set to -1 | |||
file is independent of bias, other | |||
bias levels are then not present |
The version number and date of all the calibration files used by Auto Analysis
are written into the header of the LSAN file as a series of keywords named
LVERSn
(n=1,2,...).
The file contains an illuminator `type' number as part of each record, allowing it to contain reference data for more than one `type' of illuminator flash. The comments in the LCIR file header should describe each flash type stored in the file.
For each flash type the LCIR file contains only the data starting from when the first illuminator was switch on and ending when the last illuminator was switched off. The background measurements at the beginning and end of the flash are not contained in the LCIR file. The the reference photo-current values in the LCIR file have had the background photo-current already subtracted.
Each LCIR record contains a status flag which allows selected points to be ignored when ratioing against the flash data. This can be used to mask out data from illuminator levels which do not provide useful data. Any photocurrent value in the LCIR file which is set to zero will also be ignored in the same way. Values may be zero because of glitches in the reference data.
The header of the LCIR file contains keywords which specify NSD, the number of standard deviations for median clipping the data. These keywords are: LCIRNSDB (Number of Standard deviations to use for median clipping of background) and LCIRNSDF (Number of Standard deviations to user for median clipping of flash data).
The record structures is given in table 8.32
name | offset | Number | type | unit | description |
LCIRTYPE | 0 | 1 | I*4 | - | Number identifying type of |
illuminator flash | |||||
LCIRPHC | 4 | 10 | R*4 | A | Reference photo-current, |
with background subtracted | |||||
LCIRPHCU | 44 | 10 | R*4 | A | Uncertainty in reference |
photo-current | |||||
LCIRSTAT | 84 | 1 | I*4 | - | Status word. 1=use this value, |
0=ignore this value | |||||
LCIRICS | 88 | 1 | I*4 | - | Illuminator commanded status |
NAXIS=3
). The axis are defined as given in table 8.33.
name | Number of | type | unit | description |
elements | ||||
NAXIS1 | 2 | R*4 | micron | Wavelength and uncertainty |
NAXIS2 | 10 | R*4 | - | Detector number |
NAXIS3 | 4096 | R*4 | - | Grating LVDT value |
In the header of this file there are two special keywords:
LSTARPOS
and LENDPOS
both of which are integers. These
keywords give respectively the first and the last valid grating position.
NAXIS=3
). The axis are defined as given in table 8.34.
name | Number of | type | unit | description |
elements | ||||
NAXIS1 | 4 | R*4 | m | Wavelength |
R*4 | m | uncertainty in wavelength | ||
R*4 | cm | Relative Responsivity | ||
R*4 | cm | Uncertainty in responsivity | ||
NAXIS2 | 10 | R*4 | - | Detector number |
NAXIS3 | 4096 | R*4 | - | Grating LVDT value |
In the header of this file there are two special keywords:
LSTARPOS
and LENDPOS
both of which are integers. These
keywords give respectively the first and the last valid grating position.
name | type | unit | description |
LCFWFLC0 | D | - | FPL zeroth order coefficient |
LCFWFLC1 | D | - | FPL first order coefficient |
LCFWFLC2 | D | - | FPL second order coefficient |
LCFWFLC3 | D | - | FPL third order coefficient |
LCFWFSC0 | D | - | FPS zeroth order coefficient |
LCFWFSC1 | D | - | FPS first order coefficient |
LCFWFSC2 | D | - | FPS second order coefficient |
LCFWFSC3 | D | - | FPS third order coefficient |
name | offset | number | type | unit | description |
STARTGP | 0 | 1 | I*2 | - | Start grating position |
ENDGP | 2 | 1 | I*2 | - | End grating position |
NRES | 4 | 1 | I*4 | - | Number of valid responsivity values |
RELFP | 8 | 500 | I*2 | - | Relative FP position |
RES | 1008 | 500 | R*4 | - | Rel.Responsivity for this detector |
RESU | 3008 | 500 | R*4 | - | Uncertainty in responsivity |
name | offset | number | type | unit | description |
GPOS | 0 | 1 | I*2 | - | Grating LVDT position |
FPZERO | 2 | 10 | I*2 | - | FP zero position |
FILL | 22 | 1 | I*2 | - | filler |
name | offset | number | type | unit | description |
STARTGP | 0 | 1 | I*2 | - | Start grating position |
ENDGP | 2 | 1 | I*2 | - | End grating position |
NRES | 4 | 1 | I*4 | - | Number of valid responsivity values |
RELFP | 8 | 500 | I*2 | - | Relative FP position |
RES | 1008 | 500 | R*4 | - | Rel. Responsivity for this detector |
RESU | 3008 | 500 | R*4 | - | Uncertainty in responsivity |
name | offset | number | type | unit | description |
GPOS | 0 | 1 | I*2 | - | Grating LVDT position |
FPZERO | 2 | 10 | I*2 | - | FP zero position |
FILL | 22 | 1 | I*2 | - | filler |
Table 8.40: LCGB calibration file record structure