5.4 Estimating the BUFFER-TIME in TIME-TAG Mode
Introduction to the
COS maintains two on-board data buffers, each with a capacity of 9 MBytes (2.35 × 106 counts). For every COS
TIME-TAG calculation, the Exposure Time Calculator (ETC) reports the time it takes to fill the buffer based on the total expected counts, including those from the source, the sky, and the detector dark count. The calculation includes the STIM pulses for the FUV detector and accounts for the instrument quantum efficiency and dead time. The "Buffer Fill Time" reported is approximately 2.3 × 106 divided by the total count-rate.
BUFFER-TIME is a keyword in APT that COS uses to establish the pattern and timing of memory dumps during a
TIME-TAG exposure. The exposure counts are recorded on the first data buffer for a period corresponding to
BUFFER-TIME, at the end of which the recording switches to the second data buffer while the first buffer is read out. This pattern is repeated after every
BUFFER-TIME period to the end of the exposure. It takes 110 seconds to empty a COS data buffer.
BUFFER-TIME is set to too long a period and the buffer fills before the input switches to the other buffer, then the subsequently-arriving photons will be lost, leaving a gap in the data. The pipeline will correct the exposure times for any such gaps, and the flux calibrations will be correct, but the overall S/N will be lower than expected. If the
BUFFER-TIME is set to too short a period, the input will switch to the second buffer before the first is full. No data will be lost, but there are impacts on spacecraft resources, which could preclude other activities such as parallel or internal calibration observations, since HST can process science data readouts from only one instrument at a time. For bright targets, using a shorter
BUFFER-TIME may lower the overheads and therefore be advantageous by providing more on-source exposure time.
BUFFER-TIME for each exposure should be chosen carefully based on all these factors. The recommended methods for determining the
BUFFER-TIME, based on the exposure time (
EXP-TIME) and the Buffer Fill Time, are reported by the COS ETC.
COS reads out only the fraction of the buffer that is expected to contain recorded events. This fraction is based on the specified
BUFFER-TIME, and exposure time,
EXP-TIME, only a fraction
BUFFER-TIMEof the buffer will be read out.
EXP-TIME, there will be multiple dumps. At the end of the exposure, for the last dump, time will be allocated for COS to read only the fraction of the buffer expected to contain data. The full buffer will be read out for all other dumps occurring during the exposure.
This approach increases observing efficiency by avoiding the allocation of more time than necessary for the buffer dump at the end of the exposure. It also implies that more caution is required in specifying the
BUFFER-TIME in the Phase II proposal - if the actual count-rate is greater than expected, some events that were recorded in the buffer memory will never be read out.
Users familiar with the
TIME-TAG mode of the STIS instrument will note that the COS buffer management described above differs from that of STIS. At the end of a STIS exposure, the entire buffer is read out, regardless of the buffer time set, or the number of counts expected.
The guidelines in the following subsection are designed to help COS users maximize observing efficiency and avoid data loss.
It is strongly recommended that the COS ETC be used with the most reliable input spectrum to complete an accurate Buffer Fill Time (BFT, henceforth).
If the count-rate is underestimated, the BFT will be correspondingly overestimated, and data will be lost. To prevent against this, the
BUFFER-TIME (BT, henceforth), which is the value entered in APT, should be set equal to 2/3 × BFT. While this will be sufficient for many COS observations, there are several circumstances where a different value of BT may be required, or preferred. These circumstances are discussed below, and Figure 5.12 is a flow chart that provides a guide to selecting the appropriate BT for different values of the BFT and
- BFT < 120 sec; (2/3 × BFT < 80 sec).
BUFFER-TIMEis 80 seconds. The source is too bright for
TIME-TAG, and should be observed in
EXP-TIME< 80 sec.
If the ETC reported BFT is 120 seconds or longer, then set
BUFFER-TIME= 80 seconds. This ensures the whole buffer will be read, so if the target is brighter than expected, all counts will be recorded. With a longer buffer time only a fraction of it would be read (see COS
TIME-TAGhandling section above).
- BFT is between 120 sec and 165 sec; (2/3 × BFT is between 80 sec and 110 sec).
It takes 110 seconds to empty a COS data buffer. If the count-rate exceeds 21,000 counts sec-1, and the BUFFER-TIME is set to 110 seconds, then the second data buffer will be filled before the first buffer has been completely read out. In this situation, the two options are to shorten the exposure, or accept gaps in the recoded data stream. In either case CalCOS will compute the actual exposure time correctly, but the S/N will be limited by 21,000 counts sec-1.
Option A: Use the standard BUFFER-TIME = 2/3 × BFT. The APT will issue a warning and truncate EXP-TIME at 2 × BUFFER-TIME to ensure that all data are recorded.
Option B: Set BUFFER-TIME = 111 seconds. Some fraction of the data during each BUFFER-TIME interval will be lost, but the exposure time will not be truncated.
The remaining cases assume additionally that BFT is longer than 165 seconds, i.e., 2/3 × BFT is longer than 110 seconds.
- 2/3 × BFT >
In this case, the time allocated to read the buffer dump is proportional to the number of events expected in the buffer. If there is a concern that the count-rate may be even higher than the 50% margin of error that the 2/3 factor accounts for, then set
EXP-TIME. This will ensure that the entire buffer is read out at the end of the exposure time (see COS
TIME-TAGHandling section above).
Note that the combined global dark rate for both segments has exceeded 90 counts sec-1 and to ensure all detected events are dumped from the COS buffer, even for very faint sources, the
BUFFER-TIMEmust not exceed 20,000 seconds.
- Minimizing Overhead when 2/3 × BFT <
The value of
BUFFER-TIMEcan be specified such that there are only between 100 and 110 seconds of exposure left for the last buffer dump.
n = (
EXP-TIME- 110) / (2/3 × BFT) rounded to the next highest integer
EXP-TIME- 110) / n, rounded up to whole seconds.
EXP-TIME= 2300 sec, BFT = 1050 sec.
n = (2300 - 110) / (2/3 × 1050) = 3.13 rounded up = 4.
BUFFER-TIME= (2300 - 110)/4 = 547.5 sec rounded up = 548 sec.
After four buffer reads, there will be 108 seconds left in the exposure, and the last buffer read will have a lower overhead and allow the following exposure to start sooner.
Note, however, that the
BUFFER-TIMEspecified should be 111 seconds or longer. Otherwise the exposure time will be truncated to 2 ×
APT allows individual exposures (or groups of exposures) to be adjusted automatically to fill the orbits. If this is used, then the
BUFFER-TIMEvalue should be set after obtaining the final exposure times.
The software and parameters that control dumps of the data buffer have been designed to avoid any loss of data from an observation. The duration and timing of data dumps depend on several factors, and observers are urged to experiment with APT to optimize the efficiency of their observations.
COS Instrument Handbook
- Chapter 1: An Introduction to COS
Chapter 2: Special Considerations for Cycle 29
- • 2.1 COS FUV Detector Lifetime Positions
- • 2.2 Visit Length
- • 2.3 Central Wavelength Settings Added in Cycle 26
- • 2.4 The G285M Grating is Available but Unsupported
- • 2.5 COS Observations Below 1150 Angstroms: Resolution and Wavelength Calibration Issues
- • 2.6 Time-Dependent Sensitivity Changes
- • 2.7 Spectroscopic Use of the Bright Object Aperture
- • 2.8 Non-Optimal Observing Scenarios
- • 2.9 NUV Spectroscopic Acquisitions
- • 2.10 SNAP, TOO, and Unpredictable Source Programs with COS
- • 2.11 Choosing between COS and STIS
- Chapter 3: Description and Performance of the COS Optics
- Chapter 4: Description and Performance of the COS Detectors
Chapter 5: Spectroscopy with COS
- • 5.1 The Capabilities of COS
- • 5.2 TIME-TAG vs. ACCUM Mode
- • 5.3 Valid Exposure Times
- • 5.4 Estimating the BUFFER-TIME in TIME-TAG Mode
- • 5.5 Spanning the Gap with Multiple CENWAVE Settings
- • 5.6 FUV Single-Segment Observations
- • 5.7 Internal Wavelength Calibration Exposures
- • 5.8 Fixed-Pattern Noise
- • 5.9 COS Spectroscopy of Extended Sources
- • 5.10 Wavelength Settings and Ranges
- Chapter 6: Imaging with COS
- Chapter 7: Exposure-Time Calculator - ETC
Chapter 8: Target Acquisitions
- • 8.1 Introduction
- • 8.2 Target Acquisition Overview
- • 8.3 ACQ SEARCH Acquisition Mode
- • 8.4 ACQ IMAGE Acquisition Mode
- • 8.5 ACQ PEAKXD Acquisition Mode
- • 8.6 ACQ PEAKD Acquisition Mode
- • 8.7 Exposure Times
- • 8.8 Centering Accuracy and Data Quality
- • 8.9 Recommended Parameters for all COS TA Modes
- • 8.10 Special Cases
- Chapter 9: Scheduling Observations
- Chapter 10: Bright-Object Protection
- Chapter 11: Data Products and Data Reduction
Chapter 12: The COS Calibration Program
- • 12.1 Introduction
- • 12.2 Ground Testing and Calibration
- • 12.3 SMOV4 Testing and Calibration
- • 12.4 COS Monitoring Programs
- • 12.5 Cycle 17 Calibration Program
- • 12.6 Cycle 18 Calibration Program
- • 12.7 Cycle 19 Calibration Program
- • 12.8 Cycle 20 Calibration Program
- • 12.9 Cycle 21 Calibration Program
- • 12.10 Cycle 22 Calibration Program
- • 12.11 Cycle 23 Calibration Program
- • 12.12 Cycle 24 Calibration Program
- • 12.13 Cycle 25 Calibration Program
- • 12.14 Cycle 26 Calibration Program
- • 12.15 Cycle 27 Calibration Program
- • 12.16 Cycle 28 Calibration Program
Chapter 13: Spectroscopic Reference Material
- • 13.1 Introduction
- • 13.2 Using the Information in this Chapter
- 13.3 Gratings
- • 13.4 Spectrograph Design Parameters
- • 13.5 The Location of COS in the HST Focal Plane
- • 13.6 The COS User Coordinate System
- • Glossary