This section gives a description of all the calibration files used during the automated pipeline processing of LWS data. The contents of these files are fixed for each version of the processing and can only be updated when a new OLP version is issued.
The SPD level files are mainly concerned with how LWS output is turned from engineering units to photocurrent at each grating position and much of this information has remained unchanged since before launch although parameters such as discard times have been updated in-orbit. The files LCD2, LCFP and LCD3 are no longer used.
The Auto-Analysis level files are concerned with the astronomical calibration of LWS and have evolved with various versions of the LWS pipeline processing as the understanding of instrument calibration has improved. In particular the photometric and spectral response calibration of LWS has changed with each version. The LCTP and LCDK files have only been in existence since OLP Version 8.
The contents and usage of the SPD calibration files have changed as the pipeline has developed. Some of the calibration files still read by SPL are no longer used during the processing. Other files contain information which is no longer used. In the following sections only the information which is actually used is identified.
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 and AAR files as a series of keywords named LSVERSn (n=1,2,...).
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. |
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.
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 |
This file contains the maximum allowable voltage before a point is regarded as being saturated. See Section 4.3.4 for a description of how saturated points are handled.
This file also contains values for the `de-biasing' parameters and the thresholds for switching between first and second order slope fitting. These values have not been used since the introduction of the method of slope fitting in OLP Version 7.
name | type | unit | description |
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 |
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. |
name | type | unit | description |
LCGHGHMR | I | - | Maximum number of records |
These values have not been used since the introduction of the method of slope fitting in OLP Version 7.
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 OLP pipeline.
The keywords can be found in Table 7.40
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 switched 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 photocurrent values in the LCIR file have had the background photocurrent 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 7.41
name | offset | Number | type | unit | description |
LCIRTYPE | 0 | 1 | I*4 | - | Number identifying type of |
illuminator flash | |||||
LCIRPHC | 4 | 10 | R*4 | A | Reference photocurrent, |
with background subtracted | |||||
LCIRPHCU | 44 | 10 | R*4 | A | Uncertainty in reference |
photocurrent | |||||
LCIRSTAT | 84 | 1 | I*4 | - | Status word. 1=use this value; |
0=ignore this value | |||||
LCIRICS | 88 | 1 | I*4 | - | Illuminator commanded status |
The record structure of the LCGW file is shown in Table 7.42.
The header of the LCGW file also contains keywords which contain fixed values for use in the conversion. These keywords are shown in Table 7.43.
name | Offset | number | type | unit | description |
LCGWSREV | 0 | 1 | I*4 | - | Revolution number of start |
of validity for this record | |||||
LCGWEREV | 4 | 1 | I*4 | - | Revolution number of end of |
validity for this record | |||||
LCGWCOEF | 8 | 5 | R*4 | - | Conversion coefficients |
LCGWADET | 28 | 10 | R*4 | deg | Angle for each detector |
name | type | unit | description |
LCGWLINE | R | - | Number of lines per on grating |
LCGWOdet | I | - | Order number for each detector |
(det=`SW1'...`LW5') |
name | Number of | type | unit | description |
elements | ||||
NAXIS1 | 4 | R*4 | Wavelength | |
R*4 | 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 |
The header of the file contains keywords which specify the range of grating positions which are used within the file and the `nominal' wavelength range for each detector. The nominal range is where the calibration is of acceptable quality. Everything outside the nominal range has poor calibration and is flagged with a warning flag in the LSAN status word. These keywords are shown in Table 7.45.
name | type | unit | description |
LSTARPOS | I | - | First valid grating position in file |
LENDPOS | I | - | Last valid grating position in file |
LSTRNOMn | R | Start of nominal wavelength range | |
for detector n (n=0...9) | |||
LENDNOMn | R | End of nominal wavelength range | |
for detector n (n=0...9) |
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 |
LCGBDET | 0 | 1 | C*3 | - | Detector |
LCGBSPAR | 3 | 1 | I*1 | - | Filler |
LCGBSB | 4 | 1 | R*4 | m | Bandwidth |
LCGBSBU | 8 | 1 | R*4 | m | Uncertainty in bandwidth |