6.4.2 EpochInit
This pipeline is responsible for preparing the processing batches for each Trending Epoch (TE) (see Section 6.2.1.1) for the downstream pipelines Scatter, Calibration, and FullExtraction. It operates per transit and per trending epoch. While primarily a technical pipeline, its sole scientific task is to estimate the electronic (uniform) bias offset as a function of time. The bias offset is measured from pre-scan data (provided by the IDT), which are acquired every 70 minutes in bursts of 1024 samples.
The uniform bias offset calibration consists of extracting the median signal from the pre-scan bursts for each CCD. These bias offsets, obtained every 70 minutes, are stored in a dedicated data model (RvsBiasRecord) and used as input to the downstream pipelines Scatter, Calibration, and FullExtraction. Within those pipelines, a linear interpolation is performed on these data to obtain the bias offset to be subtracted from the spectra at any given time.
The input data for the EpochInit pipeline are SpectroObservation, SpectroObservationVo, Prescan, ObjectLogs, and the initial GenericTrending, which contains the start and end times of each trending epoch.