HRSReduce: The Next Generation SALT HRS Reduction Pipeline

Introduction:

The information provided here is intended to give interested users a quick overview of the HRSReduce pipeline, including key comparisons with the existing MIDAS pipeline. For a more detailed description of HRSReduce and the comparisons presented here, users are encouraged to consult the HRSReduce_overview report for more details.

HRSReduce is a modern, Python-based reduction pipeline for SALT HRS observations, delivering improved spectral resolution, stable wavelength solutions, and enhanced science products. The original MIDAS-based HRS reduction pipeline has provided reliable data reductions for many years. HRSReduce represents a complete redevelopment of the reduction framework in Python, designed to improve spectral performance, maintainability, science products, and long-term operational sustainability.

The pipeline is fully integrated into the SALT pipeline ecosystem and automatically processes observations obtained in the High Resolution (HR), Medium Resolution (MR), and Low Resolution (LR) observing modes. Observations obtained in the High Stability (HS) mode are not currently processed by HRSReduce and will be handled by a separate reduction pipeline that is under development.

How HRSReduce Works:

The pipeline uses the following major steps in the reduction process:

Achieving the Designed Resolution:

A new slit tilt correction procedure allows HRSReduce to achieve, and in some cases exceed, the nominal instrumental resolution specified for HRS (cf. the SALT Call for Proposals). The largest improvement is seen in High Resolution mode (see Figure 1), while smaller improvements seen in the other modes.

Figure 1: Results of the improvement of the slit tilt using HRSReduce (thick lines) over MIDAS (thin lines) for the HR mode. The top panel shows the calculated resolution while the lower panel shows the FWHM of measured arc lines. Coloured circles are individual measurements, with each colour representing lines in a given order. The figures for LR and MR can be found in the HRSReduce_overview report.

Comparison between the declared instrumental resolution and that of the MIDAS pipeline and the HRSReduce pipeline is summarized in the following table.

 
Mode Arm Declared MIDAS HRSReduce
LR Blue 15000 16100–16500 16200–16700
Red 14000 16100–16800 16500–17000
MR Blue 43000 35500–40000 39900–45000
Red 40000 40300–41700 44800–49300
HR Blue 65000 42100–47700 49600–63300
Red 74000 46100–50800 62100–77600

Long-Term Wavelength Stability:

To validate wavelength calibration performance, HRSReduce was applied to 86 radial velocity (RV) standard stars spanning approximately 1500 days (4.1 years, ranging from 2022-2026). Results demonstrate long-term wavelength stability across all observing modes.
The table below details the results for each mode the weighted average calculated difference between the literature value and the HRSReduce value and the associated error is given. All values are in m s-1 . The weighted average RV offsets remain near zero across all modes
 
Mode Blue Arm Red arm Combined
HR −31.9 ± 21.2 39.6 ± 27.3 −3.8 ± 35.3
MR −36.4 ± 29.2 17.7 ± 26.9 −11.1 ± 46.6
LR −73.1 ± 161.8 19.8 ± 93.7 −19.4 ± 191.5

Figure 2: RV stability of the Blue (top) and Red (middle) arms, with combined results in the bottom panel for the HR mode. The panels show the difference between the calculated RV of a given spectrum and that of the known RV of the star (all RV standard stars). The figures for LR and MR can be found in the HRSReduce_overview report.

HRSReduce Data Products:

HRSReduce products are automatically generated and distributed through SALT operations. HRSReduce consolidates all reduction products into a single multi-extension FITS file containing:
  • Extracted fibre spectra
  • Wavelength solutions
  • Blaze functions
  • Sky-subtracted spectra
  • Order-by-order products
  • Barycentric corrections

Included with the pipeline is the extract_HRSReduce.py script, which can be used to interact with the FITS files and extract the HRSReduce data products into ASCII format. Further information on using the script is provided in the linked document above.

Example RV Datasets:

The following datasets are RV standards that have been processed using both the HRSReduce and MIDAS pipelines. The corresponding data products from each pipeline are provided for comparison under the product folder. Interested users are encouraged to explore and interact with the data products to assess the results and discover the enhanced capabilities offered by HRSReduce. The data can be accessed using your Web Manager credentials.