Open Access
Issue
A&A
Volume 681, January 2024
Article Number A107
Number of page(s) 17
Section Catalogs and data
DOI https://doi.org/10.1051/0004-6361/202346847
Published online 24 January 2024

© The Authors 2024

Licence Creative CommonsOpen Access article, published by EDP Sciences, under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

This article is published in open access under the Subscribe to Open model. Subscribe to A&A to support open access publication.

1 Introduction

Theoretical libraries of stellar spectra offer noiseless data with a virtually infinite spectral resolution and an excellent coverage of the stellar parameter space. However, such libraries suffer from model-dependent systematic uncertainties, and they depend on the existence of reliable databases of atomic and molecular line lists and opacities (Jofré et al. 2019).

Observational libraries, in contrast, do not rely on any assumption but often suffer from observational limitations in terms of spectral resolution, coverage of the parameter space, or signal-to-noise ratio. In Table 1, we list an overview of optical libraries that currently exist or are in the process of being acquired. (For an extended list covering older references, see Sánchez-Blázquez et al. 2006 and references therein. For a list of near-infrared libraries, see Rayner et al. 2009.)

Different spectral surveys target different goals, and this is reflected in the properties of the final libraries. Despite its limited size (161 spectra), resolution (~1000), S/N (~100), and wavelength coverage (351–742 nm), the library of Jacoby et al. (1984), for instance, is still highly cited nowadays, especially thanks to its large coverage of the Hertzsprung-Russel Diagram (HRD).

Over the past decades, much larger and systematic efforts have been developed on the basis of much more extensive spectral libraries. As an example, SDSS-APOGEE aims at studying the galactic structure and evolution via the chemical peculiarities of various populations of stars. The survey therefore covered 100 000 high S/N spectra in the H-Band at a resolution of 20 000 (Allende Prieto et al. 2008). In the visible, another example is the Gaia-ESO Survey (Gilmore et al. 2012, 2022; Randich et al. 2013, 2022), which targeted 100 000 stars in all the components of the Milky Way at medium and high resolution with GIRAFFE and UVES spectrographs. Other surveys, such as the Gaia FGK Benchmark Stars project (Blanco-Cuaresma et al. 2014), use the high-quality spectra to provide the community with benchmarks for parameter determinations and abundance derivations (Jofré et al. 2017). Projects like BRASS (Laverick et al. 2018,2019) and Ruffoni et al. (2014) exploit high-quality data to attack the uncertainties in atomic data parameters (i.e. part of the systematic uncertainties underlying the production of theoretical spectra).

While huge spectral libraries are becoming available and offer invaluable input for statistical analyses, they come at the price of mandatory trade-offs in the observable parameter space. Huge numbers of targets can only be observed with reduced spectral resolution or (but often and) reduced S/N. Moreover, the individual targets in these types of observations cannot benefit from the same care in data reduction as is possible for smaller-scale projects.

While this illustrates the need for such spectral libraries, a quick look at Table 1 also shows that a large collection of spectra that has high-resolution (significantly larger than 30 000), has a high S/N, widely covers the HRD and offers high-quality data products is still missing. A noticeable exception is UVES-POP (Bagnulo et al. 2003; Borisov et al. 2023), a filler programme on the ESO-VLT instrument UVES, which delivered a database consisting of 394 spectra of high-spectral resolution and high S/N. The data reduction pipeline applied to these echelle spectra was unfortunately sub-optimal in some aspects (e.g. order matching), resulting in imperfect representations of the spectral continua. These spectra were nevertheless instrumental in studies covering a wide range of applications (see the 350 citations to the UVES-POP Messenger article), re-enforcing the need for such high-quality, high-resolution, and high S/N spectral libraries.

From 2010 to 2020, we conducted a spectral survey of bright stars from the northern hemisphere as a filler programme with the Mercator-HERMES spectrograph (Raskin et al. 2011) attached to the Mercator telescope at the Roque de Los Muchachos Observatory on the island of La Palma, Spain. The resulting library combines high-spectral resolution (85 000) and high S/Ns. It was also designed for densely sampling the HRD using optically bright objects.

As our aim is to also offer high-quality data products, including automatically normalised spectra for quick-look analyses (while being science ready in most circumstances), the present database gathers some unique properties when compared to the other libraries reported in Table 1 in terms of coverage of the HRD, spectral resolution, S/N, high-quality data reduction, and sample size. The potential uses of such an empirical library include population synthesis for galactic and extra-galactic studies, references for stellar atmosphere models, spectral classification, and studies of binaries and outreach. It may also constitute a nice reference sample to train neural networks for data-driven machine learning applications.

We present the target selection and observations in Sect. 2 and the data processing steps in Sect. 3, including the principle of the instrumental response correction and of the automatic spectral normalisation. The resulting database is presented in Sect. 4, along with the distribution on the sky, in the HRD or in S/N. We present some brief conclusions in Sect. 5.

Table 1

Optical spectral libraries.

2 Target selection and observations

Our prime goal was to sample the HRD as densely as possible while minimising the required exposure time. It was also clear from the beginning that assembling a large spectral database could only be possible in the context of a filler programme. Therefore, our targets would have to be bright and observable even in poor seeing conditions as well as through thin clouds. Finally, we had to ascertain a good distribution in right ascension in order to offer possibilities for short but useful observations whenever gaps in the regular observing programmes would appear. Consequently, the original target selection was based on simple criteria.

We started compiling our sample by collecting all objects at a declination higher than −30 degrees, due to the latitude of the observatory, and with an apparent magnitude of V < 8, given the filler nature of the programme. We retrieved the corresponding 34 263 objects from Simbad and rejected the non-stellar objects (360) as well as those bearing a bad V-band magnitude quality flag (flag ‘E’; 402 objects), leaving 33 511 objects (10 entries were rejected for both criteria).

We then sorted the objects by spectral type, and out of the 2006 unique spectral type strings, we selected the well-behaved strings (i.e. rejecting classifications such as ‘K2/K3IIICN…’ or ‘~’). Our goal was to build a library of reference spectra from which spectral templates could potentially be derived, but we did not aim at maximising diversity. Hence, this selection automatically removed the stars known as emission line stars as well as those known to be magnetic and/or chemically peculiar. This first selection left us with 28 247 objects. In order to bring this number down to a reasonable requirement in terms of telescope time, we then limited the input catalogue to the ten brightest objects for each type, sub-type, and luminosity class (e.g. F8V or AθIII), providing a selection of 2178 targets.

The exposure time calculator of the HERMES spectrograph was used in combination with Simbad’s B and V magnitudes in order to estimate the required exposure times, targeting a S/N of 200. The filler nature of the programme made it so that the final S/N was often slightly inferior when the observer was not tracking the S/N in real time or when the exposure times were so short that this was not possible in practice.

The observations were acquired over 513 different nights between April 7, 2010, and February 12, 2020. The observations acquired prior to September 28, 2010, were later excluded, as no reliable meteorological data exist for that period, which hampered the correction for the molecular absorption in the corresponding 125 spectra (Sect. 3.2).

In April 2013, at the request of the BRITE consortium (K. Zwintz, priv. comm.), 95 objects brighter than mυ = 4 and missing from the original list were added to the sample. Seventy four O-type stars were also re-introduced at the same time to compensate for their scarcity in the original catalogue as much as possible.

In May 2014, a majority of the targets had been observed already, and the complete catalogue was re-submitted to the scheduler of Mercator-HERMES. This would restore the availability of filler targets all year long while providing interesting information on the variability or binarity for our targets. For this resubmission, a few entries had to be manually edited, to correct for inaccurate information from Simbad. In particular, three duplicate entries were removed, leaving a total of 2360 objects.

Not all objects in the catalogue were actually observed. A bias exists against the faintest targets. These are indeed more difficult to schedule, especially in the context of a filler programme. We find it is worth noting, however, that a handful of objects that were not in the original catalogue were actually observed as part of this programme at the discretion of the observers on duty during the observation shift.

3 Data processing

At the entrance of the telescope, any stellar spectrum S can be decomposed in a number of factors: S=CNAeAm,$S = C \cdot N \cdot {A^e} \cdot {A^m},$(1)

where Ae is the atmospheric extinction, Am is the molecular absorption by the Earth’s atmosphere (telluric lines), and S0 = CN is the stellar spectrum (including the interstellar reddening). Finally, C represents the stellar continuum, that is, the ratio between S0 and the normalised spectrum N. The spectrum S contains the effect of the interstellar absorption, which we do not correct and is consequently included in C. In the present work, we aim at providing three types of data products: the response-corrected spectra before and after correction for the telluric lines (i.e. SOBJatmCNAm and SOBJ0CN$S_{{\rm{OBJ}}}^{{\rm{atm}}} \buildrel \Delta \over = C \cdot N \cdot {A^m}\,{\rm{and}}\,S_{{\rm{OBJ}}}^0 \buildrel \Delta \over = C \cdot N$, respectively) and the normalised spectra N of the telluric-corrected spectrum.

To this aim, we considered three types of measurements: observations of scientific targets, observations of spectrophoto-metric calibrators, and flat-field exposures. After subtraction of the electronic offset, these measurements can be expressed as: fobj=SOBJ,${f_{{\rm{obj}}}} = {S_{{\rm{OBJ}}}} \cdot {\Re ^\prime },$(2) fcal=SCAL,${f_{{\rm{cal}}}} = {S_{{\rm{CAL}}}} \cdot \Re ',$(3) ffraw=FFSED.$f{f_{{\rm{raw}}}} = F{F_{{\rm{SED}}}} \cdot \Re '.$(4)

The left-hand sides of these equations represent the three types of measurements, and FFSED expresses the global shape of the flat-field signal imposed by the spectrum of the lamps and the filters used for these measurements. ℜ′ = ℜ ⋅ BP describes the instrumental response in which B represents the blaze function driving the response inside every order of the echelle spectrometer, P is the pixel response non-uniformity (PRNU), and ℜ (hereafter called ‘the response’) captures the remaining instrumental effects. The complex shape of the response ℜ is determined by the flat-field procedure in the HERMES instrument, which relies on the combination of a high-powered tungsten lamp with red blocking filters to obtain enough blue photons and a low-powered tungsten lamp for the red spectral orders (Raskin et al. 2011).

The response ℜ is both wavelength and time dependent. The wavelength dependence describes the relative spectral response function (RSRF), and the time dependence takes into account possible variations of the environmental conditions (temperature, atmospheric pressure, and humidity), instrument ageing, and (in our case) residuals with respect to the average atmospheric extinction (see Sect. 3.2 below). Formally, the response encapsulates the flux calibration coefficient, which we disregard in this work, as our spectra are not calibrated in flux.

The flat-field exposures are usually acquired at the beginning and the end of the night. The celestial calibrators are objects whose spectra are known from accurate modelling. One such object was observed every night whenever possible. We used the celestial calibrators to correct for the instrumental response (Sect. 3.3).

3.1 Pipeline

The raw 2D echelle spectra were first processed with the standard HERMES pipeline, which includes bias correction, background subtraction, flat-field correction, cosmic-ray clipping, order merging, and wavelength calibration, including barycen-tric correction (Raskin et al. 2011). The wavelength calibration is based on a spectral mask containing 1600 carefully selected isolated Th, Ar, and Ne lines. This mask contains the 2D pixel coordinates and identification of all lines. During the wavelength calibration, the positions of these lines were carefully measured in the 2D extracted pixel-order space. Except for the bluest and the two reddest orders, the wavelength calibration per order is based on 20 to 50 spectral lines. A 2D polynomial fit of the order (8, 8) in pixel-order space determines the wavelength calibration. The inter-order calibration is typically better than 50 m s−1, as evaluated from a cross-correlation measurement using a ThArNe spectral mask on a ThArNe extracted file. For order 40, which is the reddest spectral order, we had to derive the calibration from only one Ne line, and the wavelength calibration is significantly poorer.

We measured wavelength calibration frames typically just before and after the astronomical night, with one additional calibration in the middle of the night. Since the spectrograph is not mounted in a vacuum tank, it is subject to atmospheric pressure variations. Nevertheless, thanks to the control and stability of the temperature within the spectrograph room, the velocity stability is good, with a 1 σ level of 60 m s−1 on 3432 measured radial velocity standards over a period of 10 years. For the purpose of line identification and the spectral characterisation of stellar sources, this wavelength stability and calibration homogeneity is excellent.

The flat-field correction is a mandatory step to remove the PRNU and the effect of the blaze function in every order prior to order merging. Dividing by the flat-field nevertheless artificially imposes the shape of 1/FFSED onto every spectrum thus corrected. The output of the pipeline hence consists of ID spectra still influenced by the effects of the Earth’s atmosphere and the newly introduced shape of the flat-field.

3.2 Atmospheric extinction and telluric correction

To correct for the atmospheric extinction Ae, a wavelength and airmass dependent atmospheric correction was applied following the tabulated values for the Roque de Los Muchachos Observatory on the island of La Palma1. This resulted in an underestimation of the extinction for part of the observations (e.g. those performed under thin clouds). We note however that despite the filler nature of our programme, a fair fraction of the observations were executed under average to good weather conditions, as the short exposure times and extensive coverage of the sky offered easy-to-schedule solutions to fill short gaps in the regular observing programmes.

To correct for the telluric contamination Am, we used the publicly available tool molecfit (Smette et al. 2015; Kausch et al. 2015). By combining essential input from the Mercator weather station with a molecular line database and a radiative transfer code, molecfit models the instrument line spread function and atmospheric content at the time of the observation2. The wavelength ranges and molecules included in the fitting procedure are listed in Table 2. For every region included in the fit, the continuum is estimated locally using a first-order polynomial. The molecfit tool also corrects for any minor wavelength shifts by fitting the wavelength with a second-order Chebyshev polynomial. The differences with the original wavelength calibration were found to be negligible (≤100 m s−1). Hence, we kept the original wavelength calibration in the final products.

After correction, the spectra showed residuals of ~5% of the continuum in the telluric bands, with the exception of the saturated lines (Fig. 1). While fitting saturated lines, the division of two small numbers often results in large residuals (the oxygen band around 7600 Å is often impacted this way). In the region above 8950 Å, we observed ‘P Cygnl’-shaped residuals due to a small imperfection of the wavelength calibration solution at the very edge of the spectra. In order for the user to estimate the impact of molecfit on the data, we provide both versions of the spectra, that is, before and after correction.

Table 2

Wavelength ranges and the respective molecules included in the fitting process with molecfit.

thumbnail Fig. 1

Effect of the telluric correction on a spectrum from HD 19356 (B8V). In red: the spectrum before the correction. In black: the spectrum after correction with molecfit. The insert shows the region around . Whereas weak lines are usually very well corrected, large correction residuals do appear at the level of saturated telluric lines.

3.3 Response correction

At this stage, the spectra could be expressed as: fobj0,FF=SOBJ0ff,$f_{{\rm{obj}}}^{0,{\rm{FF}}} = {{S_{{\rm{OBJ}}}^0 \cdot \Re } \over {ff}},$(5) fcal0,FF=SCAL0ff,$f_{{\rm{cal}}}^{0,{\rm{FF}}} = {{S_{{\rm{CAL}}}^0 \cdot \Re } \over {ff}},$(6)

where ‘FF’ and ‘0’ indicate that the flat-field and atmospheric corrections have been applied and ƒƒ ≜ FFSED ⋅ ℜ. If we define an effective instrumental response ^$\hat \Re $ combining the system response with the effect of the flat-field process, that is, ^ff=fcal0,FFSCAL0,$\widehat \Re \buildrel \Delta \over = {\Re \over {ff}} = {{f_{{\rm{cal}}}^{0,{\rm{FF}}}} \over {S_{{\rm{CAL}}}^0}},$(7)

we can express the final spectrum corrected from the instrumental response, the effects induced by the flat-field correction, and the effects from the atmosphere as: SOBJ0=fobj0,FF^.$S_{{\rm{OBJ}}}^0 = {{f_{{\rm{obj}}}^{0,{\rm{FF}}}} \over {\widehat \Re }}.$(8)

One calibration star was observed every night when possible as part of the normal calibration set of HERMEs, aiming at a daily determination of ^$\hat \Re $. These targets were carefully selected for this purpose, as they are well documented in the literature and have reliable models established by a series of independent publications. All of these targets were analysed with the LTE spectral-fitting code GSSP (Tkachenko 2015). The GSSP code generates synthetic spectra using the SYNTHV radiative transfer code (Tsymbal 1996) combined with a grid of atmospheric models from the LLMODELS code (Shulyak et al. 2004). These synthetic spectra were then fitted to the highest-S/N observed spectrum for each star in the HERMES archive. The atmospheric parameters Teff, log 𝑔, projected rotational velocity (υ sin i), microturbulent velocity (υmic), and the metallicity ([M/H]) as well as their corresponding uncertainties were then determined from the distribution of χ2 values of the fit of each synthetic spectrum to the observed spectrum. We then used the parameters in the LLMODELS grid closest to our best-fitting values as the input to generate the spectral energy distribution models of our calibrators. An example of the fit is shown in Fig. 2. The list of calibrators, the astrophysical parameters of the selected models, and the number of nights they were observed are presented in Table 3.

We first smoothed the result of the division of the calibrator spectrum by the model in Eq. (7) with a median filter and then fitted it with a spline in order to produce a smooth yet accurate representation of the effective response before injecting it in Eq. (8). This was necessary in order to avoid introducing the noise resulting from the observation of the calibration star or local residuals from its model into the corrected spectra. The density of the knot points used to fit the spline was chosen locally, depending on the complexity of the response. Due to the intrinsic width of Hα, we noted that the spline occasionally overfitted that spectral line, introducing some local features at the few percent level around it in the response. Hence, we recommend some caution for this line, especially for nights where the response was derived from GsC4293-0432 or HD 46300 (identifiable from the fits header entry STDNAME; see Appendix A).

Once the effective response was established for the night, all spectra obtained over the corresponding night were divided by it, resulting in a reliable representation of the continuum shape. The derivation of the instrumental response for a night is illustrated in Fig. 3, and an example of response-correction of a science-spectrum is displayed in Fig. 4.

At this stage, three of the coldest objects accepted as calibration stars in the observation planning had to be rejected because some low-frequency component of their continuum was not properly reproduced by the models, thus inducing systematic residual features in the instrument response model (HD 220657, HD 226826, and HD 185395, with Teff = 6000, 6500, and 6900 K, respectively). The corresponding nights were considered not to have any reference spectrum for the response derivation. Including those nights, no calibration star could be observed for over 129 of the 479 nights encompassed by this programme, corresponding to 1007 spectra in total (31 %). The effective response derived for the nearest night in time was then used instead. We find it important to note that the shape of the flat-field affects the effective response. This change in the FFSED depends on the temperature of the lamps, which is not monitored. Hence, we cannot control the applicability of a given response (derived from another night) to a given night. As a result, for such nights, most of the response corrections have a higher degree of inaccuracy, which may lead to some low-frequency signatures in the instrument-response corrected spectra. In order to easily identify the corresponding spectra, we introduced a dedicated Boolean keyword called ‘STDNIGHT’ in the fits headers, and set it to zero when the response could not be computed from calibration observations obtained on the same night (see Appendix A).

To quantify the uncertainty introduced by correcting spectra with a response established from another night, we first re-scaled all responses to an average of one over the range [5400, 5600] Å. We then computed the ratio of each response by that of the next night in our programme. The standard deviation of the resulting dataset is presented in red in Fig. 5. The additional uncertainty is limited to less than 5% over the range between 4100 and 6750 Å. Beyond 7000 Å, the variability compared to our reference range is significantly larger, peaking at almost 17% at 7950 Å. This is expected because, as stated above, that part of the spectrum is illuminated with a different lamp during the flat-field measurements, hence inducing larger differences between the bluest and reddest parts of the response as the two lamps may react differently to the various measurement conditions.

For the sake of completeness, we also analysed the variability of the response over the entire programme. Therefore, we computed the median response and divided all of the responses by it. We then computed the standard deviation of the result as a function of the wavelength. The result is displayed in Fig. 5 and indicated by the grey dashed line. Although the variability over the entire programme is significantly larger than between subsequent observing nights, hence suggesting some kind of monotonic evolution of the response, we observed a more irregular behaviour. Our efforts to identify the driving parameters for that variability (e.g. environmental parameters or ageing of the lamps) nevertheless remained unsuccessful.

Table 3

Calibration stars used for the instrumental response correction, including their observation frequency and the astrophysical parameters used as input to generate our SED models.

thumbnail Fig. 2

Best-fitting normalised spectroscopic model (in black) of the highest-S/N observed spectrum of HD 149212 (in blue), focussing on the wavelength region between the Hγ and Hβ.

thumbnail Fig. 3

Derivation of the effective response for a night (Eq. (7)). The spectrophotometric calibrator star used in this example is HD 42818. Top: the spectrum corrected for flat-field and atmospheric effects (fcal0,FF)$\left( {f_{{\rm{cal}}}^{0,{\rm{FF}}}} \right)$. Middle: model SED used to derive the response (SCAL0)$\left( {S_{{\rm{CAL}}}^0} \right)$. Bottom: the derived effective response in red which is fit with a spline in black (^)$(\hat \Re )$. The knot points used to fit the spline are shown with vertical lines.

thumbnail Fig. 4

Instrumental response correction for a spectrum of the scientific target HD 3379 (B2.5IV). Top: spectrum corrected for flat-field and atmospheric effects (fobj0,FF)$\left( {f_{{\rm{obj}}}^{0,{\rm{FF}}}} \right)$. Middle: effective response (^)$(\hat \Re )$ for the same night. Bottom: response-corrected spectrum (SOBJ0)$\left( {S_{{\rm{OBJ}}}^0} \right)$.

thumbnail Fig. 5

Variability of the instrumental response. Red: standard deviation of the ratio between subsequent responses derived for our programme indicative of the additional uncertainty on the low-frequency components of the continuum for the stars with STDNIGHT = 0. Grey: standard deviation computed over all responses, regardless of their acquisition time. (See text for details.)

thumbnail Fig. 6

Illustration of the iteration process in a given Chebyshev polynomial order for an early-type star (top) and a late-type star (bottom), focussing on the wavelength range [3750, 5000] Å. Top: order 26 for HD 3901 with spectral type B2V. Bottom: order 16 for HD 41116 with spectral type G5III. The successive polynomial fits start with the thick black line, representing the first iteration, and progress towards the green line, representing the iteration with the best d score. For the sake of completeness, the iterations corresponding to the best p and n scores are represented as well, in red and blue respectively. The final selection is based on d, combining p and n.

thumbnail Fig. 7

Evolution of the d scores with the number of iterations for a given polynomial order applied to the same spectra as in Fig. 6. Left: order 26 for HD 3901 with spectral type B2V. Right: order 16 for HD 41116 with spectral type G5III. The numbers given below each point represent the number of the selected wavelength points (over the full wavelength range) in the polynomial fitting.

3.4 Normalisation

The procedure to pseudo-normalise the HERMES spectra was eased by the previous steps of the data reduction, but it remained challenging since the spectral range to normalise runs over more than 5000 Å. Manual pseudo-normalisation tools exist, but they render the normalisation process highly time-consuming and do not ensure the repeatability of the result. Recent development to make automatic and tunable normalisation processes has emerged based on the convex-hull and alpha-shape theories, such as AFS (Xu et al. 2019) and RASSINE (Cretignier et al. 2020), and even based on machine learning techniques, for example, using deep neural networks (Różański et al. 2022). In this work, we rely on a more classical approach based on a iterative filtering method similar to the ones that use a sigma-clipping process, as done, for example, on a smaller wavelength extent in Muñoz Bermejo et al. (2013); Sana et al. (2013); Paletou et al. (2015). Given that our approach to normalisation relies on the pseudo-continuum as measured rather than on the true continuum of the object, it underestimates the continuum in the blue, especially for cold objects, and we hence refer to it as ‘pseudo-normalisation’.

It is often argued that high-order polynomials are not flexible enough. This is true when the normalisation process occurs directly on the merged échelle spectra (top panel of Fig. 4), which is not corrected from the instrumental response function (middle panel of Fig. 4). In our case, the polynomials are fitted to the response-corrected spectra, whose shapes are much smoother (bottom panel of Fig. 4), except for late M-type stars, where strong molecular bands render this approach inappropriate (and the normalisation is skipped; see below).

Our normalisation process can be divided into five steps: First, we smooth the response-corrected spectrum using a Savitzky–Golay filter with a third-order polynomial and a window length of 5 pixels. This allows for the smoothing of any possibly remaining cosmics or noisy parts of the spectrum (mainly below 4000 Å). Second, for computational reasons, we under-sample the smoothed version of the response-corrected spectrum by a factor 20, resulting in spectra with about 8400 samples evenly spaced in log-wavelength. Third, we compute a grid of normalising functions. Those functions are Chebyshev polynomials of different degrees between zero and 40. Each function results from an iterative process described in the next paragraph. Fourth, a score is attributed to each of the normalisation functions reflecting their quality. Fifth, the score is used to select the best normalisation function in the grid.

The iterative process in the third step goes as follows: After the polynomial fit, we filter out all samples from the spectrum falling under the fit and proceed to fit the same polynomial on the remaining samples. At each iteration, a normalised spectrum is computed whose quality is assessed by a score ‘d’: d=pn,$d = p - n,$(9)

where p is the median of all flux samples above one and n is the median of all samples below one. As the best estimate of the normalised spectrum, we accept the result realising the smallest score d over all iterations and all polynomial orders (d is positive by construction).

This process nominally runs over ten iterations but is occasionally halted before by an additional stop-criterion that imposes a minimum sampling density over the entire wavelength range. We indeed imposed that at least 100 wavelength samples remain in the filtered spectrum per range of 1000 Å. Without this, the filtering, which is increasingly aggressive as iterations progress, may result in gaps in the wavelength coverage, leading to ill-behaved solutions to the fits.

An example of the selection of the best function for a given polynomial order is illustrated in Fig. 6 for an early-type (top panel) and a late-type spectrum (bottom panel). Figure 7 shows the behaviour of the d score computed in the course of the fitting process of the same spectra, that is, the successive iterations for a given polynomial order.

The d score is closer to zero when fewer absorption lines are present in the spectra (compare the left and right panels of Fig. 7 for a B2V-type star with fewer absorption features than the G5III-type star). High d scores reflect a poorer normalisation but may also be correlated with the decreasing sampling in wavelengths due to the filtering, as explained above. Of course, the error bars on the d score are also an indication of the quality of the normalising functions. The error bars on d are based on the median absolute deviation for scores p and n, as this is more robust to outliers than the standard deviation, and propagated to d via Eq. (9).

Figure 8 illustrates the final normalising functions and normalised spectra for the stars presented in Fig. 6. A polynomial degree 26 at the third iteration gives the best d score for HD3901 (B2V), and a polynomial degree 28 at the fourth iteration gives the best d score for HD 41116 (G5III).

The presence of telluric lines at the red end of the spectra resulted in poor access to and hence a poor representation of the continuum longwards of 8950 Å. This lead us to discard the last 50 Å of the normalised spectra.

Finally, we decided not to provide normalised spectra for the latest spectral types presenting significant molecular bands. We used a criterion based on the d score for the cut-off. The score indeed shows a positive trend with B – V, as displayed in Fig. 9. A turn-off appears around B – V = 1.6. It is produced by long-period variables, which are all (asymptotic) red giants of spectral types M to C (Lebzelter et al. 2023). For the giants (luminosity class III), which make up the bulk of our sample of M-type stars, the B – V color index reaches a maximum value of 1.65 for M5, then decreases to 1.50 for M8, as shown in Table 1 of Fitzgerald (1970). The main sequence does not show this turnover, but our sample only includes three main-sequence M-type stars, explaining the depletion at larger B – V. Hence, to define the cut-off for the normalisation, we adjusted a quadratic B – V function with respect to the log dbest score. This provided a maximum value of the dbest = 0.24 for which we provide normalised versions of the spectra. We confirmed that the criterion is appropriate by visual inspection. The median B – V of the spectra with larger dbest is 1.6. The excluded spectra represent about 6% of the MELCHIORS database (201 spectra corresponding to 156 stars) and are mainly made of M giant and sub-giant stars as well as S- and C-type stars, with significant expression of molecular bands.

thumbnail Fig. 8

Pseudo-normalised version of the observed spectra presented in Fig. 6 but over the full wavelength range. Top: HD 3901 (B2V). Bottom: HD 41116 (G5 III). Top sub-panel: response-corrected spectrum (black dots) and the normalisation function (green line). Bottom sub-panel: Normalised spectrum.

thumbnail Fig. 9

Best d score as a function of B – V. We provide normalised spectra when the best d score is lower than 0.24. The spectra excluded from the normalisation process represent about 6% of the sample and are made of M-, S-, and C-type stars. See text for details.

thumbnail Fig. 10

Sky distribution of the objects from the MELCHIORS catalogue. The size of the symbols is related to their apparent V magnitude.

Table 4

Number of stars per spectral type and luminosity class (excluding the Sun).

4 Results

4.1 Stellar content

The MELCHIORS database is made of 2043 stars (excluding the Sun) all above a declination of δ = −30° since they were observed from the island of La Palma. Figure 10 shows the distribution of the MELCHIORS targets on the sky (in equatorial coordinates). An overdensity of early-type stars traces the disc of the Milky Way. The targets are colour-coded with their colour index B – V. The lowest values, representing the hottest stars, mainly trace the disc and bulge, while the highest values, representing the coolest, reddest, and the most likely to be giant stars, are rather located in the halo. The distribution of the targets in the V-band magnitude is displayed in Fig. 11 and includes the brightest stars of the northern hemisphere. The median V magnitude of the targets is 5.9. We compared our sample with the absolute numbers of stars in the Simbad database with a declination larger than −30°, in bins of one magnitude3. The completeness of the MELCHIORS database compared to Simbad is ~80% for V ≤ 4 but drops to 55% for V ≤ 6. Excluding the Sun, the apparent brightest target is Arcturus (α Boo), while the faintest star is HD 286340, which is an SC7/8 star.

Most of the MELCHIORS stars have spectral types and V-band magnitudes available in Simbad. We cross-matched targets without a spectral type or V-band magnitude with the catalogue of Stellar Spectral Classifications (Skiff 2014) in order to gather the missing information. For HD 88133, we adopted the Gaia magnitude because the information was not available in Skiff (2014). For HD 114762, we adopted the V magnitude of the primary object (V = 7.3; removed from Simbad in 2018) rather than the most recent reference in Skiff (2014), corresponding to the very faint M9 companion (V = 15; Patience et al. 2002; Bowler et al. 2009).

Figure 12 presents the number of MELCHIORS stars per spectral type (OBAFGKM) also including a few Wolf-Rayet (WR) and evolved S-type and C-type (S/C) stars. Due to the bias of our sample towards low apparent magnitudes, this distribution does not reflect the stellar initial mass function. Instead, it is biased towards the brightest and hottest stars, while about 99% of all stars are of a spectral type later than A. The luminosity classes are also biased. While we expected about 10% of the stars to have evolved off the main sequence, giants and supergiants (luminosity classes I, II, and III) represent between one-quarter to more than one-half of the number of stars in our sample, as a function of the spectral type. About 11% of the targets do not have a luminosity class in the Simbad database and are represented in grey in Fig. 12. The summary of the MELCHIORS database per spectral type and luminosity class is given in Table 4.

We display the distribution of MELCHIORS stars per Simbad type in Fig. 13. About 29% of the objects are normal single stars, and 27% are flagged as high proper motion stars. We stress that about 24% of the library is related to stellar multiplicity (227 spectroscopic binaries, 196 double or multiple stars, 42 eclipsing binaries, 22 variable star of β Cep type, 1 high-mass X-ray binary, 1 symbiotic star, 1 composite object, and 1 ellipsoidal variable star). This gives a general overview of the type of objects in the MELCHIORS database as reported in Simbad. (Nonetheless, we advise the reader to keep in mind that the Simbad database is constantly being updated and that the distribution of object types reflected in Fig. 13 provides but a snapshot of the knowledge gathered in the Simbad database around March 2022.)

thumbnail Fig. 11

V-band magnitude distribution of the MELCHIORS stars compared to the stars listed in Simbad with declinations larger than −30°. The median V-band magnitude of MELCHIORS stars is 5.9.

thumbnail Fig. 12

Distribution of the MELCHIORS stars per spectral type and luminosity class (excluding the Sun, as in all other subsequent figures). The number above each bar is the total number of star per spectral type. About 11% of targets do not have a luminosity class on Simbad (grey histogram). Early-type stars and giants are over-represented in the database.

thumbnail Fig. 13

Simbad types of stars in the MELCHIORS database.

4.2 Gaia colour-absolute magnitude diagram

We cross-matched the MELCHIORS database with Gaia DR3 using a cone search radius of 1 arcsec that was iteratively increased if no match was obtained until 3 arcsec at maximum. We obtained a positive cross-match for a sub-sample of 1690 of the 2043 stars. Among them, one has a negative parallax, and 97 do not have any parallax at all. These mainly correspond to very bright targets. A colour-absolute magnitude diagram of the MELCHIORS stars is displayed on Fig. 14 for the sub-sample of 1592 stars for which parallaxes and photometry are available from Gaia DR3. The main sequence is poorly populated in G, K, and M stars compared to the giant branch for those types, due to a combination of two factors. First, the magnitude-limited selection imposes a bias against cool main-sequence stars with respect to their giant counterparts (see Fig. 12 and Table 4). Second, the fraction of high proper-motion stars is important (80 of the ~ 140 G, K, and M main-sequence stars), and those stars were filtered out by the cone search radius. The error bars on the colour and G magnitude were computed according to Eq. (12) of Merle et al. (2020) since it is not directly provided in the Gaia DR3. The uncertainties on the absolute magnitudes were obtained by propagating errors on parallaxes and G magnitudes. The position of the Sun is represented with the dotted line at GbpGRB = 0.82 and ℳG = 4.67 (Casagrande & VandenBerg 2018). The asymptotic giant branch (AGB) reaches a saturation in absolute G magnitude due to strong molecular absorptions in this wavelength range, explaining the horizontal shape of the AGB in the Gaia colour-absolute magnitude diagram.

4.3 The spectra

The MELCHIORS database is made of 3256 high S/N spectra of the 2043 selected stars covering the wavelength range [3800, 9000] Å with the spectral resolution of R = 85 000 of the HERMES spectrograph on the Mercator telescope. Figure 15 shows the S/N distribution of the spectra at the effective wavelengths of the U, B, V, R, and I filters, as estimated from the counts in the corresponding wavelength bins of the original 2D spectra (spot checks in the final products indicate this to be conservative). Except in the U band, the median S/N is larger than 110 in all bands, and it reaches 200 in the V and R bands.

Figure 16 represents the number of spectra per star, and shows that 50% of the stars have more than one spectrum. The binaries, overplotted in red in the figure, were selected from the main Simbad object types. They represent about one-fourth of the database. The stars with more than eight spectra are individually identified in the figure.

We rejected HD 205767 (ξ Aqr) from the catalogue. Though it was seemingly acquired at the correct celestial coordinates, our spectrum did not match the spectral type of that object. Also, we did not investigate the stellar binary content of the MELCHIORS database in detail but relied on the main Simbad type. Consequently, we could have missed some binaries, or we may provide a simple view on debated objects. As an example, HD 188001 (9 Sge), a runaway O-type star, is the star with the highest number of spectra (23) in the MELCHIORS database. Its main object type in Simbad is blue supergiant, while it is also known as a spectroscopic binary in the SB9 database (Pourbaix et al. 2004), with orbital parameters from Aslanov & Barannikov (1992). Nevertheless, this star could also be a single star, according to McSwain et al. (2007), while Aldoretta et al. (2015), suggesting constant RV, mentioned the star as having an unresolved companion. We also mention that there are 56 non-single stars identified from the Gaia-DK3 cross-match: 24 astrometric binaries, 24 spectroscopic binaries, 7 astro+spectro binaries, and one eclipsing binary (the blue supergiant HD 167971). They can be retrieved using the meta-data described in Appendix A.4.3. We note that an individual analysis of every object is nevertheless beyond the scope of the present paper. Finally, we illustrate the variety of spectra in our database by presenting a sample of spectra over a sequence of spectral types (OBAFGKM) and luminosity classes (V, III, I) in Fig. 17.

thumbnail Fig. 14

Colour-absolute magnitude diagram of the MELCHIORS stars using astrometric and photometric Gaia DR3 data. Apparent visual magnitudes and S/N of the best spectrum per star are also encoded. The intersection of the dotted lines shows the position of the Sun.

thumbnail Fig. 15

Distribution of the spectra as a function of S/N in the U, B, V, R, and I wavelength ranges.

4.4 The MELCHIORS solar reference

The provided MELCHIORS solar spectrum reference was taken as a reflection spectrum on Ganymede on June 22, 2018. It has been reduced using the same procedure as all the other spectra (see Sect. 3). The spectrum is set in the barycentric restframe of the Solar System and corrected from the radial velocity of Ganymede. The S/N is about 560 at 5000 Å. Figure 18 presents the solar spectrum corrected from instrumental response and from tellurics in the top panel. As already mentioned for the other stars, we noticed an imperfect normalisation at both ends of the spectrum. In the blue, this is due to the presence of many metallic lines, including strong ones (the Ca II H and Klines at 3968.47 and 3933.66 Å, the Fe I L line at 3820.44 Å, and others, including strong lines of Mg I). In the red, this is due to the presence of telluric lines. In the bottom panel of Fig. 18, we show a focus around Hα at 6562.81 Å. We compared it with two recent observed solar spectra: (i) the IAG solar flux atlas from a Fourier transform spectrograph with a resolution of R = λ/∆λ ~ 106 (Reiners et al. 2016) and (ii) the PEPSI solar spectrum at the LBT with a resolution of R = 270 000 (Strassmeier et al. 2018). The two comparison spectra were degraded at the resolution of HERMES by convolving them with a Gaussian profile of width σ = 3.5 km s−1, which corresponds to a resolution of R = 85000. The comparison shows that the radial velocity correction was well performed. We note that the MELCHIORS reference spectrum is well corrected for the tellurics, which are clearly visible in the two other spectra at different intensity levels. Our solar reference spectrum also shows excellent agreement with the solar atlas from Beck et al. (2016), also produced with HERMES, as well as with the high-resolution spectrum from Wallace et al. (2011). Interestingly, and with the exception of the ELODIE (Prugniel et al. 2007) and Gaia-FGK libraries (Blanco-Cuaresma et al. 2014), no solar spectrum is provided in the optical spectral libraries reported in Table 1.

thumbnail Fig. 16

Number of spectra per star on a logarithmic scale. The distribution of known Simbad binaries is overplotted in red. The name of the stars with more than eight spectra are indicated. The MELCHIORS star with the highest number of spectra, HD188001 (9 Sge),is an O-type runaway blue supergiant, that could also be a spectroscopic binary (see text for details).

thumbnail Fig. 17

Examples of normalised spectra. Top: Spectral type sequence – OBAFGKM. Bottom: Luminosity class sequence – V, III, I. We use a black background for a better visualisation of the colours of the corresponding stars, following M. Charity’s work (http://www.vendian.org/mncharity/dir3/starcolor/UnstableURLs/starcolors.html), who derived chromaticity and rgb-pixel colour from spectra for various stellar types and/or classes, providing physically motivated colours.

thumbnail Fig. 18

MELCHIORS solar reference. Top: MELCHIORS solar spectrum. The response and telluric corrected spectrum is shown in black and the normalised spectrum is shown in red. Bottom: excerpt around Hα compared to the IAG (Reiners et al. 2016) and PEPSI (Strassmeier et al. 2018) solar spectra degraded to the resolution of HERMES. Note the correction for the telluric lines performed in the MELCHIORS solar spectrum, in contrast with the other spectra.

5 Summary

The spectral library presented in this work gathers 3256 spectra of 2043 stars of all spectral types and luminosity classes, including the Sun as a star (with a spectrum of Ganymede). The spectra cover the full visible spectral range [3800, 9000] Å with high resolution (R = 85 000) and with a median S/N reaching 200 in the V band. In addition, the spectra were acquired in a consistent way and with a single instrument. This is, to our knowledge, a unique combination in comparison to existing optical empirical libraries.

Special care was taken in the data reduction, allowing us to provide the spectra in four different flavours: raw, corrected from the instrumental response, with and without correction from the atmospheric molecular absorption, and normalised (including the telluric correction). As with any automatic processing, we recommend using the final products with caution, especially for the analysis of wide spectral features such as Hα.

The sample is ~80% complete up to V = 4 for declinations δ > −30° and has a median magnitude of V = 5.9. The spectral library contains two or more spectra for about 50% of the targets. All spectra are available in CDS as well as via an online repository4.

Acknowledgements

This work is based on observations made with the Mercator Telescope, operated on the island of La Palma by the Flemmish Community, at the Spanish Observatorio del Roque de los Muchachos of the Instituto de Astrofísica de Canarias. Mercator operates thanks to the IRI-FWO project with code I000521N. This work is also based on observations obtained with the HERMES spectrograph, which is supported by the Research Foundation of Flanders (FWO), Belgium, the Research Council of KULeuven, Belgium, the Fonds National de la Recherche Scientifique (FNRS), Belgium, the Royal Observatory of Belgium, the Observatoire de Genève, Switzerland and the Thüringer Landessternwarte Tautenburg, Germany. The research for the present results has been subsidised by the Belgian Federal Science policy Office under contract no. BR/143/A2/BRASS. It has also received funding from the KU Leuven Research Council (grant C16/18/005: PARADISE), from the Research Foundation Flanders (FWO) under grant agreement G089422N as well as from the BELgian federal Science Policy Office (BELSPO) through PRODEX grant PLATO. T.M. is supported by a grant from the Fondation ULB and by the BELSPO Belgian federal research programme FED-tWIN under the research profile Prf-2020-033_BISTRO. J.V. acknowledges support from the Grant Agency of the Czech Republic (GAČR 22-34467S). M.V.d.S. acknowledges support from the European Union’s Horizon 2020 research and innovation programme under the Marie Sklodowska-Curie grant agreement no. 882991. M.K. acknowledges the support from ESA-PRODEX PEA4000127913. R.K. acknowledges the support by Inter-transfer grant no LTT-20015. P.G.B. acknowledges support by the Spanish Ministry of Science and Innovation with the Ramón yCajal fellowship number RYC-2021-033137-I and the number MRR4032204. S.G. acknowledges support from FWO by means of a PhD Aspirant mandate under contract no. 11E5620N.

Appendix A Products and formats

The MELCHIORS database is accessible in CDS and can be found at www.royer.se/melchiors.html, where simple selection tools and quick-look images are available as well. The library contains the following datasets:

  • 1.

    The spectral library itself

  • 2.

    The calibration spectra used to derive the instrumental response for every observing night

  • 3.

    The models of the calibration spectra

  • 4.

    The meta-data information, including

    • Parameters describing the spectra in the library and the corresponding targets

    • Parameters linking the spectra with their associated calibration counterpart

    • Parameters issued from the cross-match with Gaia-DR3, where applicable

  • 5.

    Quick-look images

A.1 The spectral library

The spectra are presented individually and in FITS format, and they are identified by a unique observation identifier (hereafter ‘obsid’), which is a six-character integer occasionally pre-pended with ‘00’. The fits files have a primary header and one extension, which is a binary table with ten columns:

  • 1.

    wave_jog: Natural logarithm of the wavelength

  • 2.

    wave: Wavelength

  • 3.

    flux_norm: Normalised flux density

  • 4.

    err_norm: Uncertainty on ‘flux_norm’

  • 5.

    flux_tac: Telluric absorption and instrument response-corrected flux density

  • 6.

    err_tac: Uncertainty on ‘flux_tac’

  • 7.

    flux_irc: Instrument response-corrected flux density

  • 8.

    err_irc: Uncertainty on ‘flux_icr’

  • 9.

    flux_raw: Raw flux density; output of the HERMES pipeline

  • 10.

    err_raw: Uncertainty on ‘flux_raw’

The wavelengths are expressed in angstroms, with an equidistant sampling in natural logarithm of the wavelength (of about 5.210−6), which is the baseline for the HERMES spectrograph, in order to facilitate velocity corrections without re-binning the data. The WCS keywords in the primary header describe that logarithmic wavelength scale.

Except in their normalised version, the spectra were scaled to an average flux of 1.0 over the wavelength range between 5400 and 5600 Å. The barycentric correction was applied to all spectra, allowing for direct measurement of the stellar radial velocity. The solar spectrum (obsid 884752) is the only one that has been corrected further, based on the radial velocity of Ganymede.

All spectra obey the same format, including those which were not normalised. In the latter cases, the corresponding columns are filled with NaNs. Beyond 8950 Å, all normalised spectra are filled with NaNs. Two small wavelength ranges not covered by the HERMES spectrograph are also padded with NaNs in all spectra: ~ 3Å around 8578 Å and ~ 8Å around 8790Å.

In the primary header, NORMLZD is set to ‘True’ if the spectrum was normalised, and the keywords ‘DSCORE’, ‘DSCMAD’, ‘DEGREE’, and ‘IT’. refer to the selected solution for the normalisation and its quality (see text). The following keywords describe the instrument response correction (linking to the corresponding meta-data file):

  • 1.

    UNSEQ: Unique sequence number = obsid

  • 2.

    STDNAME: Calibration target used for the instrument response correction

  • 3.

    STDUNSEQ: Observation identifier of the calibration measurement

  • 4.

    OBSNIGHT: Observation date of UNSEQ

  • 5.

    RSPNIGHT: Observation date of STDUNSEQ

  • 6.

    STDNIGHT: Boolean — true if UNSEQ and STDUNSEQ were acquired the same night (i.e. if OBSNIGHT = RSPNIGHT)

  • 7.

    STDSTAR: Boolean — true for the calibration spectra; false for the primary targets

The format for the dates is yyyymmdd.0, and corresponds to the evening, applied to the entire night.

A.2 Calibration spectra

This dataset contains all the calibration spectra used to derive the instrument response on any given night of the programme. The spectra are presented in a similar format as presented in Sect. A.1 except that the binary table is limited to the two wavelength related columns plus the ‘flux_raw’ and ‘err_raw’ columns.

A.3 Theoretical models

This dataset gathers the theoretical models of the 15 calibration stars presented in Table 3 and used for the instrumental response corrections. The models are presented in ascii with two columns, namely, wavelength (in Å) and flux density (in erg s−1 cm-2 Å−1).

A.4 Meta-data

The meta-data files are human-readable, pipe-separated ascii files with a heading and a trailing ‘I’ character (written in ‘fixed_width’ format with astropy.io.ascii).

A.4.1 Meta-data: spectral library

The file melchiors_meta_spectra.txt provides the main parameters describing the spectra and the corresponding targets (the files have different names in CDS, but the correspondence is trivial). It contains the following fields:

  • 1.

    obsid: Unique observation identifier.

  • 2.

    TARGET: Target name. This corresponds to the HD number, if present, and otherwise to the Hipparcos identifier or the Simbad name taken from the ‘starname’ entry.

  • 3.

    starname: Simbad name of the target.

  • 4.

    HD: HD target identifier.

  • 5.

    HIP: HIP target identifier.

  • 6.

    V: Apparent V magnitude.

  • 7.

    BV: B-V colour index (unavailable values are set to 90).

  • 8.

    stype: Spectral type.

  • 9.

    comments: Simbad code for the object type.

  • 10.

    ra: Right ascension (J2000).

  • 11.

    dec: Declination (J2000).

  • 12.

    pmra: Proper motion in right ascension.

  • 13.

    pmdec: Proper motion in declination.

  • 14.

    airmass: Airmass.

  • 15.

    exptime: Exposure time.

  • 16.

    usn, bsn, vsn, rsn, isn: Approximate S/N in the U, B, V, R, and I bands.

  • 17.

    bvcor: Barycentric velocity correction applied.

  • 18.

    bjd: Acquisition date (julian).

  • 19.

    date-avg: Acquisition date.

  • 20.

    filename: Name of the file containing the spectrum.

  • 21.

    stdnight: STDNIGHT fits keyword.

  • 22.

    stype_ref: Reference for the spectral type.

  • 23.

    dscore: Normalisation quality index, in [0.00−0.24].

Most of the fields are either filled from the fits headers or from a Simbad query. We refer to the text for more details. For the solar spectrum (obsid 884752), some of the meta-data are related to Ganymede and not the Sun itself (coordinates, barycentric correction).

A.4.2 Meta-data: calibration spectra

The file melchiors_calibration_match.txt provides the links between the spectral library and the calibration observations used for the instrument response correction. The information provided in this file was also reflected in the primary header of the spectra. This file contains the following five columns, obsid, cal_obsid, cal_name, night, and cal_night, which respectively correspond to the following fits header entries, UNSEQ, STDUNSEQ, STDNAME, OBSNIGHT, and RSPNIGHT (see above).

A.4.3 Meta-data: Gaia-DR3

The file melchiors_gaiadr3.txt contains the result of the crossmatching of our dataset with the table gaia_source of Gaia-DR3 using a cone search of 3 arcsec for 1592 MELCHIORS stars. It reports all fields from the Gaia-DR3, and we therefore direct the reader to the corresponding Gaia documentation. The field TARGET is common with melchiors_meta_spectra.txt. Concerning binary stars, the field non_single_star identifies them with values of 1, 2, 3, and 4 for astrometric, spectroscopic, astro+spectroscopic, and eclipsing binaries, respectively.

A.5 Quick-look

A quick-look image is available for every spectrum in the library in .png format. Each image shows the entire spectrum before and after telluric absorption correction as well as a zoom in before and after normalisation. These images are accessible individually on the website and are included in the bulk download of the auxiliary data.

References

  1. Aldoretta, E. J., Caballero-Nieves, S. M., Gies, D. R., et al. 2015, AJ, 149, 26 [Google Scholar]
  2. Allende Prieto, C., Majewski, S. R., Schiavon, R., et al. 2008, Astron. Nachr., 329, 1018 [NASA ADS] [CrossRef] [Google Scholar]
  3. Aslanov, A. A., & Barannikov, A. A. 1992, Sov. Astron. Lett., 18, 58 [Google Scholar]
  4. Bagnulo, S., Jehin, E., Ledoux, C., et al. 2003, The Messenger, 114, 10 [Google Scholar]
  5. Beck, P. G., Allende Prieto, C., Van Reeth, T., et al. 2016, A&A, 589, A27 [CrossRef] [EDP Sciences] [Google Scholar]
  6. Blanco-Cuaresma, S., Soubiran, C., Jofré, P., & Heiter, U. 2014, A&A, 566, A98 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  7. Borisov, S. B., Chilingarian, I. V., Rubtsov, E. V., et al. 2023, ApJS, 266, 11 [NASA ADS] [CrossRef] [Google Scholar]
  8. Bowler, B. P., Liu, M. C., & Cushing, M. C. 2009, ApJ, 706, 1114 [NASA ADS] [CrossRef] [Google Scholar]
  9. Casagrande, L., & VandenBerg, D. A. 2018, MNRAS, 479, L102 [NASA ADS] [CrossRef] [Google Scholar]
  10. Cretignier, M., Francfort, J., Dumusque, X., Allart, R., & Pepe, F. 2020, A&A, 640, A42 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  11. Diaz, A. I., Terlevich, E., & Terlevich, R. 1989, MNRAS, 239, 325 [NASA ADS] [CrossRef] [Google Scholar]
  12. Falcón-Barroso, J., Sánchez-Blázquez, P., Vazdekis, A., et al. 2011, A&A, 532, A95 [Google Scholar]
  13. Fitzgerald, M. P. 1970, A&A, 4, 234 [NASA ADS] [Google Scholar]
  14. Gilmore, G., Randich, S., Asplund, M., et al. 2012, The Messenger, 147, 25 [NASA ADS] [Google Scholar]
  15. Gilmore, G., Randich, S., Worley, C. C., et al. 2022, A&A, 666, A120 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  16. Gonneau, A., Lyubenova, M., Lançon, A., et al. 2020, A&A, 634, A133 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  17. Gregg, M. D., Silva, D., Rayner, J., et al. 2006, in The 2005 HST Calibration Workshop: Hubble After the Transition to Two-Gyro Mode, eds. A. M. Koekemoer, P. Goudfrooij, & L. L. Dressel, 209 [Google Scholar]
  18. Gunn, J. E., & Stryker, L. L. 1983, ApJS, 52, 121 [NASA ADS] [CrossRef] [Google Scholar]
  19. Ivanov, V. D., Coccato, L., Neeser, M. J., et al. 2019, A&A, 629, A100 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  20. Jacoby, G. H., Hunter, D. A., & Christian, C. A. 1984, ApJS, 56, 257 [NASA ADS] [CrossRef] [Google Scholar]
  21. James, D. J. 2013, PASP, 125, 1087 [NASA ADS] [CrossRef] [Google Scholar]
  22. Jofré, P., Heiter, U., Worley, C. C., et al. 2017, A&A, 601, A38 [Google Scholar]
  23. Jofré, P., Heiter, U., & Soubiran, C. 2019, ARA&A, 57, 571 [Google Scholar]
  24. Kausch, W., Noll, S., Smette, A., et al. 2015, A&A, 576, A78 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  25. Kesseli, A. Y., West, A. A., Veyette, M., et al. 2017, ApJS, 230, 16 [NASA ADS] [CrossRef] [Google Scholar]
  26. Laverick, M., Lobel, A., Merle, T., et al. 2018, A&A, 612, A60 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  27. Laverick, M., Lobel, A., Royer, P., et al. 2019, A&A, 624, A60 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  28. Le Borgne, J.-F., Bruzual, G., Pelló, R., et al. 2003, A&A, 402, 433 [CrossRef] [EDP Sciences] [Google Scholar]
  29. Lebzelter, T., Mowlavi, N., Lecoeur-Taibi, I., et al. 2023, A&A, 674, A15 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  30. McSwain, M. V., Boyajian, T. S., Grundstrom, E. D., & Gies, D. R. 2007, ApJ, 655, 473 [NASA ADS] [CrossRef] [Google Scholar]
  31. Merle, T., Van der Swaelmen, M., Van Eck, S., et al. 2020, A&A, 635, A155 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  32. Munari, U., Sordo, R., Castelli, F., & Zwitter, T. 2005, A&A, 442, 1127 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  33. Muñoz Bermejo, J., Asensio Ramos, A., & Allende Prieto, C. 2013, A&A, 553, A95 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  34. Paletou, F., Böhm, T., Watson, V., & Trouilhet, J. F. 2015, A&A, 573, A67 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  35. Patience, J., White, R. J., Ghez, A. M., et al. 2002, ApJ, 581, 654 [NASA ADS] [CrossRef] [Google Scholar]
  36. Pickles, A. J. 1998, PASP, 110, 863 [NASA ADS] [CrossRef] [Google Scholar]
  37. Pourbaix, D., Tokovinin, A. A., Batten, A. H., et al. 2004, A&A, 424, 727 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  38. Prugniel, P., & Soubiran, C. 2001, A&A, 369, 1048 [CrossRef] [EDP Sciences] [Google Scholar]
  39. Prugniel, Ph., & Soubiran, C. 2004, ArXiv e-prints [arXiv:astro-ph/0409214] [Google Scholar]
  40. Prugniel, Ph., Soubiran, C., Koleva, M., & Le Borgne, D. 2007, ArXiv e-prints [arXiv:astro-ph/0703658] [Google Scholar]
  41. Randich, S., Gilmore, G., & Gaia-ESO Consortium 2013, The Messenger, 154, 47 [Google Scholar]
  42. Randich, S., Gilmore, G., Magrini, L., et al. 2022, A&A, 666, A121 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  43. Raskin, G., van Winckel, H., Hensberge, H., et al. 2011, A&A, 526, A69 [CrossRef] [EDP Sciences] [Google Scholar]
  44. Rayner, J. T., Cushing, M. C., & Vacca, W. D. 2009, ApJS, 185, 289 [Google Scholar]
  45. Reiners, A., Mrotzek, N., Lemke, U., Hinrichs, J., & Reinsch, K. 2016, A&A, 587, A65 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  46. Różański, T., Niemczura, E., Lemiesz, J., Posiłek, N., & Rózanski, P. 2022, A&A, 659, A199 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  47. Ruffoni, M. P., Den Hartog, E. A., Lawler, J. E., et al. 2014, MNRAS, 441, 3127 [NASA ADS] [CrossRef] [Google Scholar]
  48. Sana, H., de Koter, A., de Mink, S. E., et al. 2013, A&A, 550, A107 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  49. Sánchez-Blázquez, P., Peletier, R. F., Jiménez-Vicente, J., et al. 2006, MNRAS, 371, 703 [Google Scholar]
  50. Shulyak, D., Tsymbal, V., Ryabchikova, T., Stütz, C., & Weiss, W. W. 2004, A&A, 428, 993 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  51. Silva, D. R., & Cornell, M. E. 1992, ApJS, 81, 865 [NASA ADS] [CrossRef] [Google Scholar]
  52. Skiff, B. A. 2014, VizieR Online Data Catalog: B/mk [Google Scholar]
  53. Smette, A., Sana, H., Noll, S., et al. 2015, A&A, 576, A77 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  54. Strassmeier, K. G., Ilyin, I., & Steffen, M. 2018, A&A, 612, A44 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  55. Tkachenko, A. 2015, A&A, 581, A129 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  56. Tsymbal, V. 1996, ASP Conf. Ser., 108, 198 [Google Scholar]
  57. Valdes, F., Gupta, R., Rose, J. A., Singh, H. P., & Bell, D. J. 2004, ApJS, 152, 251 [Google Scholar]
  58. Verro, K., Trager, S. C., Peletier, R. F., et al. 2022, A&A, 660, A34 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  59. Wallace, L., Hinkle, K. H., Livingston, W. C., & Davis, S. P. 2011, ApJS, 195, 6 [Google Scholar]
  60. Xu, X., Cisewski-Kehe, J., Davis, A. B., Fischer, D. A., & Brewer, J. M. 2019, AJ, 157, 243 [NASA ADS] [CrossRef] [Google Scholar]
  61. Yan, R., Chen, Y., Lazarz, D., et al. 2019, ApJ, 883, 175 [Google Scholar]
  62. Yee, S. W., Petigura, E. A., & von Braun, K. 2017, ApJ, 836, 77 [Google Scholar]

2

Due to the absence of meteorological data records prior to September 28, 2010, the spectra obtained before that date were excluded to ensure the homogeneity of the dataset.

3

These numbers were obtained by using the ‘Simbad: query by criteria’ with the search expression Vmag > = X & Vmag < X + 1 & dec > -30 & otypes = ’*’, where X varies between −1 and 12 per step of 1 magnitude. The latest condition on otypes ensures the exclusion of the non-stellar objects from the query

All Tables

Table 1

Optical spectral libraries.

Table 2

Wavelength ranges and the respective molecules included in the fitting process with molecfit.

Table 3

Calibration stars used for the instrumental response correction, including their observation frequency and the astrophysical parameters used as input to generate our SED models.

Table 4

Number of stars per spectral type and luminosity class (excluding the Sun).

All Figures

thumbnail Fig. 1

Effect of the telluric correction on a spectrum from HD 19356 (B8V). In red: the spectrum before the correction. In black: the spectrum after correction with molecfit. The insert shows the region around . Whereas weak lines are usually very well corrected, large correction residuals do appear at the level of saturated telluric lines.

In the text
thumbnail Fig. 2

Best-fitting normalised spectroscopic model (in black) of the highest-S/N observed spectrum of HD 149212 (in blue), focussing on the wavelength region between the Hγ and Hβ.

In the text
thumbnail Fig. 3

Derivation of the effective response for a night (Eq. (7)). The spectrophotometric calibrator star used in this example is HD 42818. Top: the spectrum corrected for flat-field and atmospheric effects (fcal0,FF)$\left( {f_{{\rm{cal}}}^{0,{\rm{FF}}}} \right)$. Middle: model SED used to derive the response (SCAL0)$\left( {S_{{\rm{CAL}}}^0} \right)$. Bottom: the derived effective response in red which is fit with a spline in black (^)$(\hat \Re )$. The knot points used to fit the spline are shown with vertical lines.

In the text
thumbnail Fig. 4

Instrumental response correction for a spectrum of the scientific target HD 3379 (B2.5IV). Top: spectrum corrected for flat-field and atmospheric effects (fobj0,FF)$\left( {f_{{\rm{obj}}}^{0,{\rm{FF}}}} \right)$. Middle: effective response (^)$(\hat \Re )$ for the same night. Bottom: response-corrected spectrum (SOBJ0)$\left( {S_{{\rm{OBJ}}}^0} \right)$.

In the text
thumbnail Fig. 5

Variability of the instrumental response. Red: standard deviation of the ratio between subsequent responses derived for our programme indicative of the additional uncertainty on the low-frequency components of the continuum for the stars with STDNIGHT = 0. Grey: standard deviation computed over all responses, regardless of their acquisition time. (See text for details.)

In the text
thumbnail Fig. 6

Illustration of the iteration process in a given Chebyshev polynomial order for an early-type star (top) and a late-type star (bottom), focussing on the wavelength range [3750, 5000] Å. Top: order 26 for HD 3901 with spectral type B2V. Bottom: order 16 for HD 41116 with spectral type G5III. The successive polynomial fits start with the thick black line, representing the first iteration, and progress towards the green line, representing the iteration with the best d score. For the sake of completeness, the iterations corresponding to the best p and n scores are represented as well, in red and blue respectively. The final selection is based on d, combining p and n.

In the text
thumbnail Fig. 7

Evolution of the d scores with the number of iterations for a given polynomial order applied to the same spectra as in Fig. 6. Left: order 26 for HD 3901 with spectral type B2V. Right: order 16 for HD 41116 with spectral type G5III. The numbers given below each point represent the number of the selected wavelength points (over the full wavelength range) in the polynomial fitting.

In the text
thumbnail Fig. 8

Pseudo-normalised version of the observed spectra presented in Fig. 6 but over the full wavelength range. Top: HD 3901 (B2V). Bottom: HD 41116 (G5 III). Top sub-panel: response-corrected spectrum (black dots) and the normalisation function (green line). Bottom sub-panel: Normalised spectrum.

In the text
thumbnail Fig. 9

Best d score as a function of B – V. We provide normalised spectra when the best d score is lower than 0.24. The spectra excluded from the normalisation process represent about 6% of the sample and are made of M-, S-, and C-type stars. See text for details.

In the text
thumbnail Fig. 10

Sky distribution of the objects from the MELCHIORS catalogue. The size of the symbols is related to their apparent V magnitude.

In the text
thumbnail Fig. 11

V-band magnitude distribution of the MELCHIORS stars compared to the stars listed in Simbad with declinations larger than −30°. The median V-band magnitude of MELCHIORS stars is 5.9.

In the text
thumbnail Fig. 12

Distribution of the MELCHIORS stars per spectral type and luminosity class (excluding the Sun, as in all other subsequent figures). The number above each bar is the total number of star per spectral type. About 11% of targets do not have a luminosity class on Simbad (grey histogram). Early-type stars and giants are over-represented in the database.

In the text
thumbnail Fig. 13

Simbad types of stars in the MELCHIORS database.

In the text
thumbnail Fig. 14

Colour-absolute magnitude diagram of the MELCHIORS stars using astrometric and photometric Gaia DR3 data. Apparent visual magnitudes and S/N of the best spectrum per star are also encoded. The intersection of the dotted lines shows the position of the Sun.

In the text
thumbnail Fig. 15

Distribution of the spectra as a function of S/N in the U, B, V, R, and I wavelength ranges.

In the text
thumbnail Fig. 16

Number of spectra per star on a logarithmic scale. The distribution of known Simbad binaries is overplotted in red. The name of the stars with more than eight spectra are indicated. The MELCHIORS star with the highest number of spectra, HD188001 (9 Sge),is an O-type runaway blue supergiant, that could also be a spectroscopic binary (see text for details).

In the text
thumbnail Fig. 17

Examples of normalised spectra. Top: Spectral type sequence – OBAFGKM. Bottom: Luminosity class sequence – V, III, I. We use a black background for a better visualisation of the colours of the corresponding stars, following M. Charity’s work (http://www.vendian.org/mncharity/dir3/starcolor/UnstableURLs/starcolors.html), who derived chromaticity and rgb-pixel colour from spectra for various stellar types and/or classes, providing physically motivated colours.

In the text
thumbnail Fig. 18

MELCHIORS solar reference. Top: MELCHIORS solar spectrum. The response and telluric corrected spectrum is shown in black and the normalised spectrum is shown in red. Bottom: excerpt around Hα compared to the IAG (Reiners et al. 2016) and PEPSI (Strassmeier et al. 2018) solar spectra degraded to the resolution of HERMES. Note the correction for the telluric lines performed in the MELCHIORS solar spectrum, in contrast with the other spectra.

In the text

Current usage metrics show cumulative count of Article Views (full-text article views including HTML views, PDF and ePub downloads, according to the available data) and Abstracts Views on Vision4Press platform.

Data correspond to usage on the plateform after 2015. The current usage metrics is available 48-96 hours after online publication and is updated daily on week days.

Initial download of the metrics may take a while.