STScI

Part II: STIS Data Handbook

TOC PREV NEXT INDEX PDF

4.1 Error Sources Associated with Pipeline Calibration Steps


In this section, we discuss sources of error that are associated with major steps in the STIS calibration pipeline (calstis). Note that these steps themselves were already described in Chapter 3 and will not be repeated here; this section will only describe specific issues related to the error budget of the resulting data which were not described before.

4.1.1 Readout Noise and A-to-D Conversion

Readout Noise (only relevant for CCD observations)

The readout noise is an unavoidable contribution to the total error budget of CCD observations. (MAMA observations do not suffer from readout noise.) It is linked to the readout process and there are no reduction steps that can minimize or remove it. The effect of the read noise to science measurements can however be minimized by keeping the number of pixels where signal is measured small and by minimizing the number of CCD readouts (while still allowing for good cosmic ray and hot pixel removal). The read noise is independent of position on the CCD, but it does vary with the gain setting. Furthermore, the read noise of the STIS CCD has been found to vary with time. The main changes occurred after Servicing Mission 3a (January 2000) and after the switch to the Side 2 electronics (July 2001). A table of read noise values of the STIS CCD as a function of time and gain setting can be found at the following URL:


http://www.stsci.edu/hst/stis/performance/monitoring/calibration/Monitors/Read-Noise

A-to-D Conversion (only relevant for CCD observations)

The analog information (electrons) accumulated in the CCD are converted into data numbers (DN) by an analog-to-digital converter (ADC). The STIS CCD camera employs a 16-bit ADC, which can produce a maximum of 216 = 65, 535 DN. However, this is not a limitation for STIS CCD operations, because other factors set the maximum observable DN to lower levels in both supported gain settings. (For the CCDGAIN = 1 setting, the gain amplifier already saturates at ~33,000 e-/pixel, while the full well of the CCD occurs at 144,000 e-/pixel, which is before digital saturation would occur in the CCDGAIN = 4 setting.) The ADC produces only discrete output levels. This means that a range of analog inputs can produce the same digital output. This round-off error is called quantization noise (QN). It can be shown (Janesick, 2001, Scientific Charge Coupled Devices, SPIE Press) that the quantization noise is constant for a given gain setting when expressed in DN: QN(DN) = 12-1/2. The quantization noise can be converted into noise electrons as follows: QN(e-) = 0.288675*g, where g is the ATODGAIN (from the CCDTAB). The total noise (TRN) associated with CCD readout noise (RN) and quantization noise is obtained by adding the two figures in quadrature: TRN = (RN2 + (0.288675*g)2).

4.1.2 Bias Subtraction (only relevant for CCD observations)

CCD bias frames were acquired daily for scientific calibration purposes and for monitoring detector performance. Every week multiple CCD bias frames were combined together into a reference superbias image. The combination removes the cosmic rays accumulated during the readout time and reduces the noise associated with the bias subtraction procedure to a level that is insignificant relative to the read noise associated with any single image.

The calstis calibration pipeline performs the bias correction in two steps (see Section 3.4): BLEVCORR subtracts the bias level from the overscan regions in two steps: it first measures the level and slope in part of the 19 pixel wide leading physical overscan region and then does the same in a 20 row wide virtual overscan region. After the BLEVCORR procedure, some structure remains in the bias frames. This structure includes real bias signal ("spurious charge") and also some dark current accumulated during the time required to read out the detector. However, this structure is stable on timescales of a few weeks. To remove this structure a superbias frame with high signal-to-noise ratio is subtracted from each science image in the BIASCORR step.

This process has been found to be highly stable and reliable. Details can be found in STIS ISR 97-09 and STIS ISR 98-31.

4.1.3 Dark Current and Hot Pixels

CCD Dark Current and Hot Pixels

Similar to the case of CCD bias frames, CCD dark frames were acquired on a daily basis, and combined together every week for use in the calstis calibration pipeline. The creation procedure of the CCD dark reference files involves two main steps:

  1. Every month, a high signal-to-noise superdark frame was created from a combination of typically 40-60 "long" darks (dark frames with exposure time > 900 s). These monthly superdark frames are not actually delivered to the calibration data base, but used as "baseline" dark for the next steps.
  2. All "long" darks taken during a given week were combined together (rejecting cosmic rays in the process), and normalized to intensity units of e-/s. After that, the hot pixels in the monthly baseline dark (created as described above) are replaced by those of the normalized weekly superdark. These new 'hot' pixels have a value higher than "median dark current + 5 of the normalized weekly superdark." Previously hot pixels that have fully annealed out between the observing dates of the baseline and the new dark are assigned a value equal to that in a median filtered version of the baseline dark. The resulting dark has the high signal-to-noise ratio of the monthly baseline superdark, updated with the hot pixels of the current week. These "weekly darks" are the STIS CCD dark reference files used in the calstis pipeline (and are retrievable from the HST Archive).

We emphasize that the use of the correct dark reference file is important for most science applications. An incorrect dark reference file will likely introduce a poor dark correction. It will either leave too many hot pixels uncorrected and unflagged, or create many negative "holes" caused by the correction of hot pixels which were not actually hot in the science data (e.g., if the CCD was annealed in the meantime).

Finally, observers have the option to create "daily darks" for their CCD observations, i.e., CCD dark files for which the hot pixels have been optimized for any given date. These "daily darks" are not created within the automatic calstis pipeline, but observers have been provided with the daydark IRAF cl script within the STIS package of STSDAS as well as detailed instructions to create such files by themselves. Details are described on the following page of the STIS Web site.


http://www.stsci.edu/hst/stis/software/scripts/daydark.

In terms of long term trends of the CCD dark current rate, it is relevant to recall that the STIS CCD temperature was stabilized at -83 ºC between its installation onto HST on 1997-Feb-14 and the failure of the Side 1 electronics on 2001-May-16. During the Side 1 era, the CCD median dark rate rose from 0.0013 to 0.0043 e-/s/pixel. CCD temperature cannot be stabilized with the Side 2 electronics, so thermal fluctuations perturbed the dark rate during the Side 2 era. These fluctuations are discussed in STIS ISR 2001-03. The calstis OTFR pipeline does scale the CCD dark current according to temperature, but users who require the best possible dark subtraction may improve upon the OTFR results by scaling their dark files themselves, using a log of CCD housing temperature that is finely sampled in time. This log is available at:


ftp://ftp.stsci.edu/pub/instruments/stis/CCD_Housing.tar.gz

Figure 4.1 shows the measured median CCD dark current as a function of time.


 
Figure 4.1: Median CCD Dark Current vs. Time
 

MAMA Dark Current

   

NUV-MAMA Dark Current

Most of the dark current in the NUV-MAMA detector is caused by phosphorescence of impurities in the MgF2 detector faceplate. A simple model of the phenomenon has been developed by Jenkins and Kimble (private communication) that envisions a population of impurity sites each having three levels: (1) a ground state, (2) an excited energy level which can decay immediately to the ground state, and (3) a metastable level that is at an energy slightly below the one that can emit radiation. The metastable state can be thermally excited to the upper level, and this excitation rate is proportional to exp(-E/kT), where E is the energy difference between the levels. The behavior of the count rate versus temperature leads to an estimate of 1.1 eV for E. At a fixed detector temperature of 30 ºC, the time constant for the dark current to reach an equilibrium value is about 8 days. However, since the MAMA high voltage power supplies have to be shut down during orbits impacted by the South Atlantic Anomaly (SAA), the detector temperature varies from about 27 ºC to 40 ºC, and the dark current never actually reaches equilibrium.

MAMA temperatures cycle on a roughly daily time scale, being lowest just after the high voltage is turned on after an SAA passage. The dark current can be predicted with about 5% to 10% accuracy using the contemporaneous temperature of the NUV-MAMA charge amplifier recorded in the OM2CAT keyword in the _raw science file that is part of the standard data products. Originally the NUV-MAMA dark current was fit with the curve darkrate = 9.012 × 1020 × exp(-12710/T). This worked well for the first two years of STIS operations, but as the mean time-averaged temperature of the detector increased with time, this formula started to predict too high a dark current. Once this was realized, a more flexible fitting formula was implemented in the calstis pipeline. This updated formula for the dark current was

darkrate = norm × 1.805 × 1020 × exp[-12211.8 / max(T, Tmin)],

where both norm and Tmin are slowly varying functions of time that are empirically adjusted to give a good match to the observed dark rate, and which are tabulated in the temperature dependent dark correction table (_tdc) reference file. The uncertainty related to the application of the updated NUV-MAMA dark rate is 5% rms. Note however that this doesn't translate to any significant photometric uncertainty, since any residue of the dark subtraction process gets subtracted out during the extraction of imaging photometry or spectroscopic flux.

   

FUV-MAMA Dark Current

The FUV-MAMA dark current is very low indeed. In the early years of STIS operations, dark current values as low as 7 counts/s integrated over the whole detector were routinely encountered. However, there is also an intermittent glow that covers a large fraction of the detector (see Figure 4.2). The source of the dark current is not phosphorescence but is intrinsic to the micro-channel plate array. This glow can substantially increase the dark current over a large fraction of the detector, and this leads to count rates of up to 100 counts/s integrated across the face of the detector (which is of course still very low). During the first two years of STIS operations, this glow was only present intermittently, but since mid-1999 it showed up more often than not. This extra glow appears to be a function of both the detector temperature, and the length of time the detector has been on. (The STIS MAMA detectors were turned off daily during HST's passages through the South Atlantic Anomaly). However, the strength and frequency with which this glow appears increased throughout the lifetime of STIS. At later epochs, only the first non-SAA-impacted orbit each day could be reliably expected to be free of the extra glow.


 
Figure 4.2: Dark Current Variation Across FUV-MAMA Detector.
 

An example of the FUV-MAMA dark current variation across the detector can be seen in Figure 4.2, which is the sum of a number of 1380 second dark frames taken during periods of high dark current. The dark current in the lower right quadrant (pixels [900:1000,10:110] in IRAF notation) appears to be stable to within 10% over time. The dark current in the upper left quadrant (pixels [200:400,600:800]) varies with time and temperature. The total dark current can be approximated by the sum of a constant dark current plus a "glow" image, scaled to the net rate in the upper left quadrant. No reliable method has been found to predict the brightness of the glow with sufficient accuracy to subtract it from pipeline processed FUV-MAMA images, and so FUV-MAMA dark images provided by archive contain only the base dark current plus the mean values for any pixels flagged as hot pixels. For the FUV-MAMA, hot pixels are defined to be those that show an average dark current of more than 1 × 10-4 counts/hi-res-pixel/s as measured over several months of dark monitor observations. In 1997, only 97 out of the more than 4 million pixels had a dark rate of more than 1 × 10-4 counts/s. By the time of the Side 2 failure, more than 3,000 pixels were at this level.

Subtracting the extra glow requires identifying a region on the detector where the glow is strong, but the intrinsic target flux is know to be weak, and then using this region to scale and subtract a smoothed image of the glow. For long slit spectroscopic observations, the region of the detector occulted by one of the aperture bars may sometimes be useful for this purpose. Mean glow images for different epochs can be obtained from the STIS Web page at:


http://www.stsci.edu/hst/stis/performance/background,

and can be used for off-line data reduction if appropriate.

However, it is good to keep in mind that the FUV-MAMA dark current is so low that a typical STIS FUV-MAMA observation will have less than one count per pixel from the dark, so that many science projects will not require special data reduction efforts in this respect. Also, various standard measures of background (the median for example) are not good estimates of the dark when the data are quantized into just a few values. The best way to estimate the background is to identify hot pixels using the dark reference files, and then use an unclipped mean for the remaining pixels in a source- free region of the image.

4.1.4 Flat Fields

The flat field reference files currently in use by the calstis calibration pipeline were derived by several different methods, depending on the detector, the observing mode (imaging vs. spectroscopy), and (for some modes) the optical elements used. For many observing modes, there are two types of flat fields involved in the calibration: p-flats (the *_pfl.fits reference files) which correct for the pixel-to-pixel sensitivity variations, and l-flats (*_lfl.fits) which model the low-frequency variations in sensitivity over the field of view of the observing mode in question. Important features regarding the accuracy of the flat fields for different observing modes are described in the following sections.

CCD Imaging Flat Fields


 
Figure 4.3: Pixel-to-pixel flat field for the STIS CCD with a stretch from 0.90 (black) to 1.10 (white). The intensity transfer table is shown in the bar at the bottom. The numerous ~20 pixel size dark circles in the field are caused by dust particles on the CCD window.
 

CCD Spectroscopic Flat Fields

MAMA Flat Fields

1200,000 counts/s; given the lamp brightness, this can only be achieved with the G140M and G230M gratings and a narrow slit. Hence these p-flats are applied to both imaging and spectroscopic MAMA data.

Space Telescope Science Institute
http://www.stsci.edu
Voice: (410) 338-1082
help@stsci.edu
TOC PREV NEXT INDEX PDF