1 Introduction

The Solar Terrestrial Relations Observatory (STEREO: Kaiser et al., 2008), launched in late 2006, is a two-spacecraft NASA mission to investigate the initiation and propagation of coronal mass ejections (CMEs) from locations separated in ecliptic longitude. The two spacecraft were placed in heliocentric orbits, one (the ahead spacecraft; STEREO-A) somewhat inside 1 AU and the other (the behind spacecraft; STEREO-B) somewhat outside. This means the spacecraft drift ahead of and behind the Earth by about \(22^{\circ}\) per year, and reached solar superior conjunction in early 2015.

The imaging capabilities of STEREO are provided by the Sun Earth Connection Coronal and Heliospheric Investigation (SECCHI: Howard et al., 2008), which is a package consisting of an EUV imager, two coronagraphs, and two Heliospheric Imagers. The Heliospheric Imagers (HI: Eyles et al., 2009) use Thomson-scattered light to detect and track CMEs and other solar-wind disturbances from the outer limits of the coronagraphs to 1 AU and beyond. The HI instruments have a nominally circular field of view offset from the Sun to the earthward side. The inner (HI-1) instruments have a field of view \(20^{\circ}\) in diameter, centred at an elongation of \(14^{\circ}\), while the outer (HI-2) instruments have a field diameter of \(70^{\circ}\) centred at an elongation of \(53^{\circ}\). The photometric calibration and evolution of the HI-1 instruments over the first four STEREO orbits (relative to the background stars) have been described by Bewsher et al. (2010) and Bewsher, Brown, and Eyles (2012), respectively.

The present article should be considered as Article 2 to Bewsher et al. (2010) (hereafter Article 1), in which the photometric calibration and flatfield of the HI-1 cameras were derived, and also to Bewsher, Brown, and Eyles (2012), which studied the evolution of the HI-1 photometric performance over the STEREO mission. In this article we describe the photometric calibration and large-scale flatfield determinations for the HI-2 instruments. In Section 2 we describe the predicted HI-2 instrument response that has been used until now for calibrating the photometric response of the instruments. In Sections 3 and 4 we describe the photometric calibrations performed in flight using measurements of background stars and present revised photometric calibration parameters based on those analyses. In Section 5 we examine the long-term stability of the instrument responses. In Section 6 we describe in-flight revisions to the large-scale flatfield and related considerations. The appendices provide more details on the handling of stellar magnitudes as applied to the HI-2 instruments, examine the effects of saturation on HI-2 images, and assess the accuracy of assuming the azimuthal perspective projection for HI images.

A note on terminology: since the science images from the HI cameras are \(2 \times2\) binned before transmission to Earth (Eyles et al., 2009), it is important to maintain the distinction between pixels on the \(2048 \times2048\) camera CCD and pixels in the \(1024 \times1024\) science images. Therefore we here refer to a pixel on the CCD as a pixel, and one in a science image as a bin. In general, our analyses are presented in terms of CCD pixels with appropriate conversions to image bins provided.

2 HI-2 Predicted Instrument Response and Pre-launch Flatfield Calibration

Until the analysis that we present in the remainder of this article, the conversion of HI-2 observations to units of mean solar brightness [\(\mathrm{B}_{\odot}\)] and other units was based on measurements made prior to launch. In this section we describe how these parameters were derived.

2.1 Predicted Instrument Response

The predicted instrument response was derived from a mixture of measurements and manufacturers’ data. The contributors to the response are described below.

2.1.1 The Transmission of the Optics

Unlike the HI-1 optics, which have a coating to limit the passband, those of HI-2 do not, so the response is broadband. This difference is for a number of reasons; the optics of HI-1 were coated to match the passband to that of the coronagraph COR2 and also to reduce chromatic aberration, but HI-2 was not coated as it was desired to maximise the total light transmission. One consequence of this is that the HI-2 point-spread functions (PSFs) are larger than those of HI-1 partly due to chromatic aberration.

The transmission was determined in three segments: i) Over the wavelength range 400 – 1010 nm, direct measurements of absolute optical transmission obtained during unit-level pre-launch calibration of the HI optics assemblies are used. ii) Above 1010 nm, a simple extrapolation of the measured optical transmission is assumed. iii) Over the range 300 – 400 nm, the transmission of the optics elements is calculated using manufacturers’ data for the various glass types used. The transmission is predicted to cut off at approximately 300 nm.

These transmissions are shown as the dashed (HI-2A) and dash–dot (HI-2B) traces in Figure 1a.

Figure 1
figure 1

The optical transmission and quantum efficiencies of the HI-2 instruments. (a) The transmissions and efficiencies displayed separately. Solid = quantum efficiency, dashed = HI-2A, dash–dot = HI-2B. (b) The net effective transmission for the two HI-2 instruments, and also the transmission for HI-1A (dotted) for comparison. The vertical lines show the centroids of the passbands.

2.1.2 The Quantum Efficiency (QE) of the CCD

This is again divided into segments by wavelength. i) Over the range 300 – 1000 nm, the measured values of QE from the CCD manufacturer are used, with a smooth interpolation between the data points (see Figure 16 of Eyles et al., 2009). ii) Above 1000 nm, a simple extrapolation of the measured QE is assumed where the QE drops to zero at 1080 nm, which is the wavelength corresponding to the band gap in silicon.

The solid trace in Figure 1a shows the resulting efficiency (which is assumed to be identical for all of the HI CCDs). The effective transmission [\(T(\lambda)\) in subsequent equations] is then the product of the optical transmission and the QE; this is shown (along with HI-1A for comparison) in Figure 1b.

2.1.3 The Collecting Area

This was derived to be \(A = 3.85 \times 10^{-5}~\mbox{m}^{-2}\) from the nominal aperture of diameter 7.0 mm (Eyles et al., 2009).

2.1.4 The Camera Gain

The nominal value of \(G = 15\) photoelectrons per data number (DN) is used (Eyles et al., 2009).

The integrated counting rate response [\(\mbox{DN}\,\mbox{s}^{-1}\)] to a star whose spectral intensity is \(F(\lambda)\) is then given by

$$ I_{\mathrm{pred}} = \frac{A}{G} \frac{1}{hc} \int _{0}^{\infty}\lambda F(\lambda) T(\lambda) \,\mathrm{d} \lambda, $$
(1)

where \(\lambda\) is wavelength, \(h\) and \(c\) are Planck’s constant and the speed of light, respectively, and the other terms are as described above.

Until now, the conversion factors used to convert from instrument response in \(\mbox{DN}\,\mbox{s}^{-1}\) \((\mbox{CCD}\,\mbox{pixel})^{-1}\) to units of diffuse flux such as \(\mathrm{B}_{\odot}\) have been derived from this predicted count rate in the manner described in Section 4.2, using the standard solar reference spectrum of Neckel and Labs (1984).

In later sections of this article, we compare the measured responses to a population of background stars with the responses predicted according to Equation (1) to derive a correction factor to the photometric response:

$$ C = \frac{I_{\mathrm{meas}}}{I_{\mathrm{pred}}}. $$
(2)

2.2 Pre-launch Flatfield Calibration

Before launch, the large-scale flatfield of the HI-B instruments was calibrated by measuring the response to a calibration light source as a function of its angular position in the field of view (see Eyles et al., 2009). Unfortunately, the test configuration only permitted the calibration source to be scanned along a single axis through the centre line of the field of view. As a result, no information was obtained about any axial asymmetry of the response. Furthermore, due to schedule constraints, it was not possible to perform this calibration on HI-A, which has therefore been assumed to be identical to HI-B.

The response was measured at \(1^{\circ}\) intervals and was found to be quite accurately represented by a polynomial of the form

$$ I = I_{0} \bigl(1 + a_{1}R^{2} + a_{2}R^{4}\bigr), $$
(3)

where \(R\) is the radial distance on the detector from the optical axis (assumed to be at the CCD centre) and \(I_{0}\) is the response on axis. Best-fit numerical values for \(a_{1}\) and \(a_{2}\) were found to be \(a_{1} = -6.24 \times10^{-4}~\mbox{mm}^{-2}\) and \(a_{2} = -1.65 \times10^{-6}~\mbox{mm}^{-4}\) for HI-2B. Before 1 July 2015, this pre-launch flatfield correction was used for processing HI-2 image data, assuming axial symmetry.

3 Photometric Calibration: Method

The methods used in Article 1 to calibrate the HI-1 instruments were not successful when applied to the HI-2 instruments. This is thought to be mainly due to the relatively large PSF of the HI-2 instruments (especially HI-2B) compared with HI-1, and also to the higher density of stars in the images due to the large field of view (Figure 2). For this reason, a new approach to performing stellar photometry has been devised. This method is described in the remainder of this section, and the important differences to the techniques used for HI-1 (Article 1) are explained.

Figure 2
figure 2

Comparison of the stellar densities and PSFs in the HI-2 fields with those in HI-1. (a, d) HI-2A, (b, e) HI-2B, and (c, f) HI-1A, (a – c) a region at the centre of the field (bins 488:575, 488:575), (d – f) a region in the outer part of the field of view (bins 128:255, 256:383 for HI-2A and HI-1A and 768:895, 256:383 for HI-2B). All are taken from level-2 science images near 1200 UT on 1 September 2011 and are displayed on a logarithmic scale from \(0.1\mbox{ to }20~\mbox{DN}\,\mbox{s}^{-1}~(\mbox{CCD}\,\mbox{pixel})^{-1}\).

3.1 Defining a Sample

The first step in any calibration using stars is to define a sample of stars with which to perform the calibration.

Since the field of view of HI-2 is large (\(35^{\circ}\) radius), it is not necessary to use very faint stars to obtain a sufficiently large sample. In fact this would be disadvantageous because confusion (the situation where fluctuations in the background from faint stars significantly influence the measured counting rate for a star Scheuer 1957) will be a problem. For that reason, we have used the “Yale bright star catalogue” (Hoffleit and Warren, 1995) as our source. This provides a list of 9110 stars with, inter alia, positions, V magnitudes [\(m_{v}\)], and spectral types down to \(m_{v}=6.5\), rather than the NOMAD catalogue (Zacharias et al., 2004) used in Article 1.

From this list it is necessary to create a sample suitable for use in calibrating the HI-2 instruments. For that we used the following criteria:

  • The object must be a star (although the Yale catalogue is nominally a star catalogue, a few non-stars are listed for historical compatibility).

  • It must not be a double (either binary or optical).

  • It must not be listed as a variable.

  • It must have an ecliptic latitude lower than \(35^{\circ}\) so that it is actually observed by the HI-2 cameras.

  • It must have a HI-2A photonic-magnitude between 2.0 and 5.5. That is to say that the star should have the same expected counting rate in HI-2A (using the pre-launch calibrations) as an A0V star with magnitude between 2.0 and 5.5; see Appendix A for a full explanation of the photonic magnitude. The bright limit of 2.0 was chosen because stars brighter than this show significant smearing in the CCD column direction due to saturation effects. The faint limit was chosen to give an acceptable number of stars while minimising the contributions of confusion. Near the field centre, using the star counts given by Allen (1976) and the typical stellar areas that we found in the course of this analysis, this threshold is about 25 times the brightness of stars with a density of one per PSF at low galactic latitude in HI-2A and 13 times for HI-2B. We used the HI-2A values for convenience as the differences between HI-2A and HI-2B magnitudes are small.

  • It must have a spectral type that can be matched to a spectrum in Pickles’ collection of stellar spectra (Pickles, 1998). A spectral match is considered valid if the luminosity class is a single value and the spectrum is not flagged as variable or peculiar, and one of the following is satisfied:

    1. i)

      There is an exact match to a type with a spectrum.

    2. ii)

      The spectral type lies within a range that shares a common spectrum in Pickles’ catalogue.

    3. iii)

      The spectral type is a range that spans a spectrum in Pickles.

    4. iv)

      The spectral type can be matched by interpolating between two spectra separated by no more than three subclasses (e.g. K4 could be derived from K2 and K5, but not from K2 and K6).

    In all cases an exact luminosity class match is required (e.g. we would not attempt to interpolate between A2I and A2III to obtain a spectrum for A2II). Unlike the HI-1 analysis in Article 1, it was not necessary to resort to colour mixing as we had spectral types for all of the stars in our sample and the vast majority could be matched to spectra in Pickles (1998); those few that could not be matched were discarded. Indeed, it is uncertain whether colour mixing could be effectively applied to the much broader passband of HI-2.

By applying the criteria above, we arrive at a sample of 575 stars that are potentially useful for calibrating the HI-2 instruments. The characteristics of these stars are available in the supplementary file star_list_all.csv (the contents of the columns are described in the file READ.ME).

For each star in the sample, a predicted count rate was determined for each of the HI-2 instruments by integrating the product of the spectrum and the passband over wavelength and applying the calibration parameters described in Section 2. The details of the spectral calibration and integration are described in Appendix A.

3.2 Measuring Stellar Brightness

Determining the total counting rate of a star in the HI-2 instruments is the main problem that has held up the production of a post-launch calibration of the HI-2 instruments. Whilst the absence of such a photometric calibration has not hindered the analysis of numerous solar transients and the publication of many results, it is clear that a robust calibration will pave the way to many additional lines of research.

To avoid unnecessary duplication of processing, we chose to use the Level-2 science data images in instrument units (\(\mbox{DN}\,\mbox{s}^{-1}~(\mbox{CCD}\,\mbox{pixel})^{-1}\)) with a three-day background subtracted to remove the stable background (mainly the F-corona). The details of the processing are summarised on the UK Solar System Data Centre (UKSSDC) web site ( www.ukssdc.ac.uk/solar/stereo/documentation/HI_processing.html and www.ukssdc.ac.uk/solar/stereo/documentation/HI_processing_L2_data.html ). In summary: the raw images are converted from units of DN to units of \(\mbox{DN}\,\mbox{s}^{-1}~(\mbox{CCD}\,\mbox{pixel})^{-1}\), the readout smearing caused by the shutterless cameras (Eyles et al., 2009) is removed, severely saturated bins are flagged, the pre-launch large-scale flatfield is applied, and a three-day running mean of the lowest quartile of the measurements for each individual bin is subtracted.

The aperture-photometry method employed for HI-1 of defining an inner disk for the star and an outer ring for the background (Article 1) was found to give inconsistent results for HI-2. Preliminary analysis suggests that when the inner disk is large enough to not miss a significant fraction of the stellar flux, then the outer ring becomes large enough that there are problems with confusion. It was therefore necessary to devise a new method for defining a star and the surrounding background level. After some experimentation, the following procedure was found to work for the vast majority of stars and to give fluctuations in measured count rate that were lower than 3 % over short (one-day) time scales. Examples of a number of the stages of the procedure are shown in Figure 3, for both HI-2A (panels a – e) and HI-2B (panels f – j):

  1. i)

    Start at the calculated star position (using its catalogue position and the SolarSoft WCS routines (Thompson and Wei, 2010) with the projection parameters derived by Brown, Bewsher, and Eyles 2009).

  2. ii)

    Select a region surrounding that position within which all subsequent analysis will be done. For HI-2A we used a \(25\times25\) bin region (this is about \(1.8^{\circ}\) square at the centre of the CCD), while for HI-2B we used a \(31\times31\) region (about \(2.2^{\circ}\) at CCD centre). These sizes were chosen to be large enough to allow a reasonable region of background around the star even in the outer parts of the field of view where the PSFs are larger, but also small enough that there should not be major effects on the background from gradients such as the galactic plane (Figure 3a, f).

    Figure 3
    figure 3

    Illustration of the star-region definition algorithm in action. (a – e) HI-2A, (f – j) HI-2B. (a, f) The region to be analysed, scaled using a square-root scaling to allow the lower-level structure to be seen. The +-sign indicates the peak pixel and the ×-sign the centroid of the high region. (b, g) The high-level regions, with the region for the star in white, other high areas in grey. (c, h) The radial gradient (white is negative). (d, i) The union of the high region and the negative gradient region (grey indicates those regions not encompassing the star centre). (e, j) The region defined to be part of the star. Both sequences come from images starting at 12:09:21 UT on 1 September 2011. The star in HI-2A is Yale 8093, HD201381, \(\nu\mbox{Aqu}\), a G8III star of \(m_{v}=4.51\), while that in HI-2B is Yale 307, HD6386, 73Psc, a K5III star of \(m_{v}=6.00\). The HI-2A fields are about \(1.8^{\circ}\) square, and those for HI-2B are about \(2.2^{\circ}\) square.

  3. iii)

    Locate the nearest bin to the calculated stellar position that is a maximum using a simple gradient-following method. Except near the edge of the field of view, this is almost always the bin containing the calculated position. This is marked by a + symbol in Figure 3a, f.

  4. iv)

    Define a “high-flux” region as those contiguous bins surrounding the peak that have values at least one-third of the peak value. This area is considered to always be part of the star image (Figure 3b, g).

  5. v)

    Define a new central location as the centroid of the “high-flux” region. This gives a better measure of the centre than the peak bin as some PSFs (particularly in the outer parts of HI-2B) have two peaks, or are strongly asymmetrical. This is again rarely more than a few tenths of a bin away from the calculated position. This is marked by a ×-symbol in Figure 3a, f.

  6. vi)

    Compute the gradient of the portion of the image in the analysis region using numerical differentiation, with a three-point Lagrangian interpolation (IDL routine DERIV); from that, compute the radial gradient of the image away from this new central location (Figure 3c, h).

  7. vii)

    Mark bins with negative gradient, and then apply the morphological ERODE operator (Gonzalez and Woods, 2008) with a \(3\times3\) kernel to remove pixels from the edge of the marked regions to separate zones.

  8. viii)

    Take the union of the “high-flux” region and the negative gradient regions (Figure 3d, i).

  9. ix)

    Label the resulting map into contiguous regions, and only select the region including the peak.

  10. x)

    Apply the morphological DILATE operator (Gonzalez and Woods, 2008) to this region to reverse the effect of the earlier ERODE (Figure 3e, j).

The regions defined by the sequences in Figure 3 are shown as surface plots in Figure 4; the HI-2B example is quite close to the limit of brightness vs. starfield density at which the method will work effectively.

Figure 4
figure 4

Examples of the bin selection for star images. (a) HI-2A and (b) HI-2B. The region indicated in red is that determined to be part of the star image, while the blue is the background region. As in Figure 3, both fields come from images starting at 12:09:21 UT on 1 September 2011. The star in HI-2A is Yale 8093, HD201381, \(\nu\mbox{Aqu}\), a G8III star of \(m_{v}=4.51\), while that in HI-2B is Yale 307, HD6386, 73Psc, a K5III star of \(m_{v}=6.00\). The HI-2A fields are about \(1.8^{\circ}\) square, and those for HI-2B are about \(2.2^{\circ}\) square.

The background level is taken to be the median of all of the bins in the analysis region that are not in the star image. The total counting rate of the star is taken to be four times the sum of all the bins in the star image region after the background level has been subtracted. The use of a median background level determined over a relatively large area ensures that i) the background level will not be affected by nearby bright stars, ii) the contribution of stars below the confusion limit is handled in an unbiased way, and iii) an excessively crowded starfield will be flagged by an abnormally high background. The factor of four is required as the counting rates are in units of \(\mbox{DN}\,\mbox{s}^{-1}~(\mbox{CCD}\,\mbox{pixel})^{-1}\), but we are summing over bins rather than pixels.

For each science image from the start of STEREO science operations in March 2007 up to the end of 2013, we used the method described above to measure a counting rate for each of the stars from our sample that fell in the nominal 512-bin radius field of view of the instrument. Although stars can be seen in the corners of the CCD, they are heavily vignetted and distorted beyond the nominal field of view.

3.3 The Correction Factor

To determine the correction factors of the measured instrument responses relative to the predicted response (Section 2), we used only values from stars whose calculated position was within 100 bins of the centre of the field of view. This was chosen as it is considered unlikely that there are significant deviations of the flatfield from pre-launch values within that region; this assumption has been confirmed a postiori by the flatfield analysis presented in Section 6.

To exclude “poorly behaved” and ill-characterised stars, we found it necessary to apply a number of additional selection criteria; these were mainly empirically determined thresholds selected to remove the problematic stars without eliminating too many useful ones:

  • The median summed count rate of the star must not exceed \(2000~\mbox{DN}\,\mbox{s}^{-1}\), as it is found that above this threshold there is a clear turn down of the observed relative to the predicted rates that is due to saturation of the highest pixels in the stellar image (see Appendix B for further discussion of this issue).

  • Neither the interquartile range of the individual count rates of the star nor their standard deviation excluding points below the 5th and above the 95th percentile may exceed 4 % of the median count rate. This is to exclude stars that blend with others in part of their track across the field of view.

  • There must not be another bright star (i.e. any star in the Yale list) within \(0.5^{\circ}\) of the star.

  • In the preliminary flatfield analyses (Section 6), the star must not have had a minimum count rate more than 20 % above the fitted trend, nor a maximum rate more than 20 % below the trend.

  • Stars that showed obvious discontinuities in their count rate tracking across the central region of the field were also excluded manually.

  • The median of the background (i.e. the background level as described above multiplied by the number of bins in the stellar image) must not exceed 8 % of the star’s median counting rate for HI-2A, or 15 % for HI-2B. This is mainly a precaution against false backgrounds in crowded fields.

  • There must be at least 50 measurements of the star; this excludes some stars that passed through the HI-2B field when the spacecraft roll relative to the ecliptic plane was large early in the mission (the STEREO-A roll was already small by the start of the HI science observations).

There is in fact a very considerable overlap between these criteria, i.e. most of the stars excluded fail on more than one of the thresholds.

This left a total of 62 stars for HI-2A and 54 for HI-2B (out of 113 and 127, respectively, that pass through the 100-bin region) that could be used for the photometric calibrations. While this is many fewer than were used for HI-1 in Article 1, it is comparable with the number used in the calibrations of the Large Angle and Spectrometric Coronagraph (LASCO) C3 coronagraph onboard the Solar and Heliospheric Observatory (SOHO) (Thernisien et al., 2006). The stars used are marked by an “A” or “B” in the “Used” column of the supplementary file star_list_all.csv.

We then took the median count rates for all stars that satisfied the above criteria and fitted a linear trend constrained to pass through the origin, using a weighted L1 norm (least absolute residual) fit. Each input value was weighted by \(N_{\mathrm{obs}}/\mathit{IQ}\), where \(N_{\mathrm{obs}}\) is the number of measurements for the star and was typically between 800 and 900, and \(\mathit{IQ}\) is the interquartile range for the observations of that star. The L1 norm was chosen because the underlying distribution is unknown, which means that parametric techniques are not appropriate (e.g. Wall 1979, 1996, Branham 1982). It also became clear from the orbit-by-orbit analysis (Section 5) that the deviations of each star from the trend are dominated by systematic effects. The estimation of errors for L1-norm fitting is not a precise science, but if we assume that the errors are equally likely to be positive or negative, then the \(1\sigma\) limit can be approximated by the \(\frac{1}{2} \pm\frac{1}{\sqrt{N}_{\mathrm{s}}}\) quantile fits (Koenker and Hallock, 2001), where \(N_{\mathrm{s}}\) is the number of stars used. We also note that the results obtained from L2-norm (least-squares) fitting are not significantly different from those presented here.

In addition to the main fitting, we also carried out consistency checks by dividing the core region into five sub-regions (an inner 50-bin radius circle and four outer quadrants running from 50 to 100 bins) and carrying out similar fits for each of these regions.

To at least crudely check the shape of the spectral response, we also compared the results when the stars were split into three broad spectral groups: early type (B1 to G5), intermediate type (G6 to K3), and late type (K4 to M3). These limits were chosen to give roughly equal numbers of stars in each category.

4 Photometric Calibration: Results

4.1 Scaling Factors

The correlation results are shown in Figures 5 and 6, and they are summarised in Table 1.

Figure 5
figure 5

Correlations between the observed and predicted count rates for the core-region stars: (a) HI-2A and (b) HI-2B. The solid lines indicate the best fits, and the dotted lines show the estimated \(1\sigma\) limits.

Figure 6
figure 6

Correlations between observed and predicted count rates for the various sub-samples used. (a) HI-2A by zone, (b) HI-2B by zone, (c) HI-2A by spectral type, and (d) HI-2B by spectral type. In panels c and d, the black line is the corresponding fit from Figure 5.

Table 1 Fitted calibration corrections for the core region.

It is clear then that the correction factors are very consistent, with none of the sub-category fits differing from the global fit by more than about \(1\sigma\). It should be noted that the difference between HI-2A and HI-2B is greater than the difference in the values predicted from the pre-launch calibrations, and in the opposite sense, meaning that HI-2B is actually the more sensitive instrument. We cannot determine whether the differences from the predicted values are due to differences in the optical transmission, the CCD efficiency, uncertainties in the effective aperture size, or the analogue-to-digital converter gain.

4.2 Conversion to Physical Units

The calibrations presented above relate to the response of the HI-2 instruments to point sources. To be useful for the primary purpose of the instruments within the STEREO mission, we must relate these values to useful quantities for diffuse sources. Here we follow the methods used in the HI-1 calibrations (Article 1), except that we also provide some additional SI unit conversions. Numerical values of all the conversion factors are presented in Table 2, and their derivation is discussed below.

Table 2 Conversion factors from \(\mbox{DN}\,\mbox{s}^{-1}\) \((\mbox{CCD}\,\mbox{pixel})^{-1}\) to physical units for HI-2A and HI-2B.

4.2.1 The On-axis Conversion Factors

The primary target of the heliospheric imagers is Thomson-scattered light from the solar wind, which preserves the source spectrum; it is therefore appropriate to consider only solar-type spectra. In addition, since the science images supplied by the UKSSDC are averaged over the \(2 \times2\) binning, rather than summed, the appropriate unit for the conversion factors is from \(\mbox{DN}\,\mbox{s}^{-1}~(\mbox{CCD}\,\mbox{pixel})^{-1}\) rather than from \(\mbox{DN}\,\mbox{s}^{-1}~(\mbox{image}\,\mbox{bin})^{-1}\). It should also be noted here that since the surface brightness of an extended source is independent of the viewing distance, we do not need to adjust the scaling factors for the orbital distance of the spacecraft; however, we do need to be consistent in the distance at which extensive quantities are measured. Tabulations such as those of Allen (1976) are for observers at 1 AU, therefore we use 1 AU values in this analysis.

The traditional unit for coronagraph and heliospheric imager data is the mean solar brightness (\(\mathrm{B}_{\odot}\)), which is the average surface brightness of the solar disk. The scaling factor may be defined as

$$ C(\mathrm{B}_{\odot}) = \frac{n_{\mathrm{pix}}}{\mathrm{I}_{\odot}}, $$
(4)

where \(n_{\mathrm{pix}}\) is the number of pixels covered by the solar image, and \(\mathrm{I}_{\odot}\) is the computed total counting rate for the Sun in \(\mbox{DN}\,\mbox{s}^{-1}\).

$$ n_{\mathrm{pix}} = \pi \biggl( \frac{\Theta_{\odot}}{D_{\mathrm{pix}}} \biggr)^{2}, $$
(5)

where \(\Theta_{\odot}\) is the angular radius of the Sun, taken to be 960 arcsec (Allen, 1976), and \(D_{\mathrm{pix}}\) is the angular size of a CCD pixel at the centre of the field of view (130.03 arcsec for HI-2A and 129.80 arcsec for HI-2B, Brown, Bewsher, and Eyles 2009).

$$ \mathrm{I}_{\odot}= \frac{A}{G}\frac{1}{hc}\int ^{\infty}_{0} \lambda F_{\odot}(\lambda) T( \lambda) \,\mathrm{d}\lambda. $$
(6)

This is the same as Equation (1), with the solar spectral power \(F_{\odot}(\lambda)\) in place of a generic stellar spectrum. The results presented here were derived using \(F_{\odot}(\lambda)\) from the solar spectrum published by Neckel and Labs (1984), which was also used in Article 1. In addition, we repeated the computations using two other spectra: firstly the higher resolution spectrum from Kurucz et al. (1984), and secondly the generic G2V spectrum given by Pickles (1998). The Kurucz et al. spectrum gave conversion factors about 2.3 % larger than using the Neckel and Labs spectrum, while those using the generic spectrum from Pickles were about 0.5 % smaller.

The S10 unit is defined to be a surface brightness equivalent to one \(m_{v} = 10.00\) solar-type star per square degree. This is related to the counting rate by

$$ C(S10) = \frac{1}{I_{10} \Omega_{\mathrm{deg}}}, $$
(7)

where \(I_{10}\) is the computed integrated count rate for a magnitude 10 solar-type star and \(\Omega_{\mathrm{deg}} = D_{\mathrm{pix}}^{2}\) is the solid angle subtended by a pixel in square degrees. \(I_{10}\) is easily computed from \(\mathrm{I}_{\odot}\) using the known visual magnitude of the Sun \(m_{v\odot} = -26.74\) (Allen, 1976) as \(I_{10} = \mathrm{I}_{\odot }\times 10^{-36.74/2.5}\).

To convert to SI units of \(\mbox{W}\,\mbox{m}^{-2}\,\mbox{sr}^{-1}\), we use the relation

$$ C(\mbox{SI}) = \frac{P}{\mathrm{I}_{\odot}\Omega_{\mathrm{pix}}}, $$
(8)

where \(\Omega_{\mathrm{pix}} = \Omega_{\mathrm{deg}} (\frac{\pi}{180} )^{2}\) is the solid angle subtended by a pixel in steradians. \(P\) is the power in the solar spectrum, which can usefully be determined in at least three ways:

  1. i)

    The total power across all wavelengths: \(P = \int_{0}^{\infty}F_{\odot}(\lambda) \,\mathrm{d}\lambda\). (i.e. the solar constant of \(1361~\mbox{W}\,\mbox{m}^{-2}\); Kopp and Lean 2011).

  2. ii)

    The total power in the wavelength range to which the HI-2 detectors are sensitive, 360 to 1080 nm: \(P = \int_{360}^{1080} F_{\odot}(\lambda) \,\mathrm{d}\lambda\). (\(945~\mbox{W}\,\mbox{m}^{-2}\)).

  3. iii)

    The total power detected by the HI-2 detectors: \(P = \int_{0}^{\infty}F_{\odot}(\lambda) T(\lambda) \,\mathrm{d}\lambda\). (\(487~\mbox{W}\,\mbox{m}^{-2}\) for HI-2A, \(513~\mbox{W}\,\mbox{m}^{-2}\) for HI-2B).

These updated calibration parameters along with the time-dependency described in Section 5 were added to versions of secchi_prep after 1 July 2015.

4.2.2 Geometrical Correction for Extended Sources

The values quoted above are derived using the pixel solid angle on the optical axis. For extended sources, it is also necessary to consider the variation of pixel solid angle across the field of view. The relation for this correction, which was provided in the unnumbered relation following Equation (18) in Article 1, is oversimplified (essentially it assumes that each pixel views a square region of the sky), therefore we present a more rigorous version here.

As discussed by Brown, Bewsher, and Eyles (2009), the projection of the HI instruments can be well-approximated by the azimuthal-perspective projection (AZP: Calabretta and Greisen, 2002), and in this section we use this. It should be emphasised here (as it was by Brown, Bewsher, and Eyles 2009) that the optics design of the HIs has no relationship to the geometrical construction of the AZP projection, but that the link is merely an empirical one, in that it was found to give a good fit to the observed behaviour of the optics. The AZP projection is characterised by the relation

$$ R = \frac{F_{p}(\mu+1)\sin\alpha}{\mu+ \cos\alpha}, $$
(9)

where \(R\) is the radial distance on the detector from the optical axis, \(\alpha\) is the angular distance of the source from the optical axis, \(F_{p}\) is the paraxial focal length, and \(\mu\) is a distortion parameter.

From this relation we can derive an expression for the factor \([\rho]\) by which the raw image must be divided to correct for the pixel solid angle as

$$ \rho= \frac{\delta\Omega(\alpha)}{\delta\Omega(0)} = \frac{(\mu+ \cos\alpha)^{3}}{(\mu+ 1)^{2}(\mu\cos\alpha+ 1)}, $$
(10)

where \(\delta\Omega(\alpha)\) is the solid angle of the pixel (or bin) at an angle \(\alpha\) from the CCD centre. This may then be related to the physical distance from the CCD centre using Equation (19):

$$\cos\alpha= \frac{-\mu+ \gamma\sqrt{1-\mu^{2}+\gamma^{2}}}{1 + \gamma^{2}}, $$

where, \(\gamma= F_{\mathrm{p}} (\mu+1) / R\). The resulting variation of \(\rho\) across the HI-2 fields of view is shown in Figure 7. The details of the derivation are presented in Appendix C.

Figure 7
figure 7

The variation of the diffuse correction factor \([\rho]\) across the HI-2 CCDs: HI-2A is the solid line, HI-2B is the dashed line. The vertical dotted line indicates the edge of the nominal field of view.

An investigation of the accuracy of the AZP projection when applied to the HI-2 instruments is presented in Appendix D.

This relation for \(\rho\) is used in current versions of the secchi_prep routine distributed in SolarSoft and has been used in the physical-unit images distributed from the UKSSDC.

5 Evolution of the Sensitivity

The analyses and results presented in Sections 3 and 4 assume that the properties of the instrument do not change with time. It is well known, however, that the sensitivity of most space-based detectors degrades with time (e.g. Thernisien et al. 2006, Buffington et al. 2007, BenMoussa et al. 2013).

To test for any degradation of the sensitivity of the HI-2 instruments through the mission, we divided the observations by STEREO orbit (seven orbits for HI-2A and six for HI-2B) and carried out a similar analysis to that described in Section 3 on each orbit. These results are shown in Figure 8 and the upper part of Table 3. From these results it is not possible to see any degradation over the course of the mission at about the 1 % level. However, because it is clear from Figure 8 that the individual stars show far less variation from orbit to orbit than their deviations from the general trend suggests that we can improve our sensitivity to potential gain degradation by adjusting each star’s count rate by its fractional deviation from the trend in the whole-mission fit (Figure 5).

Figure 8
figure 8

Correlations of counting rates for (a) HI-2A and (b) HI-2B subdivided by STEREO orbit. (c) The evolution of the fitted slopes, red = HI-2A and blue = HI-2B. Note that in most cases the star values for earlier orbits in (a) and (b) are obscured by those from later orbits.

Table 3 Fitted correction factors by STEREO orbit. Upper rows: fitting to the raw count rates, lower rows: fitting to the adjusted count rates.

When these adjustments are applied, we obtain a much better-constrained result, as seen in Figure 9 and the lower part of Table 3. If we fit a straight line to these trends, we obtain \(S(T) = 1.0058 - 0.0016~T\) for HI-2A and \(S(T) = 1.0031-0.0007~T\) for HI-2B, where \(T\) is the time in years after 2007.0 and \(S(T)\) is the sensitivity relative to the mission-to-date values in the first row of Table 1. These correspond to a degradation of \(0.16~\%\,\mbox{year}^{-1}\) for HI-2A and \(0.07~\%\,\mbox{year}^{-1}\) for HI-2B. This result shows that the degradation of the HI-2 detectors and optics is small over a period of more than six years.

Figure 9
figure 9

Adjusted counting rate correlations by STEREO orbit and the resulting trends: (a) HI-2A and (b) HI-2B subdivided by STEREO orbit. (c) The evolution of the fitted slopes, red = HI-2A and blue = HI-2B. Note that in most cases the star values for earlier orbits in (a) and (b) are obscured by those from later orbits. The dashed and dash–dot lines in (c) are the best-fit linear trends.

This measurement is considerably smaller than the upper limit of about 1 % per year found for HI-1 by Bewsher, Brown, and Eyles (2012) and by BenMoussa et al. (2013). The degradation rate for the HI-2 cameras is almost an order of magnitude lower than has been found for the white-light coronagraphs onboard the SOHO mission, where Thernisien et al. (2006) found a decrease of sensitivity of the LASCO-C3 instrument by 3.5 % over eight years of operation, whilst Llebaria, Lamy, and Danjard (2006) reported a degradation of the LASCO-C2 instrument by 0.7 % per year. For the Solar Mass Ejection Imager (SMEI) onboard the Coriolis mission, Buffington et al. (2007) found a 1.6 % per year decline of sensitivity, again an order of magnitude worse than HI-2A. While we do not have a definitive explanation of the better durability of the HI-2 cameras compared with LASCO and SMEI, we suspect that improvements in CCD technology since the building of SOHO and the stable thermal and radiation environments of STEREO (cf. SMEI) are major factors.

The degradation rates can be converted to yield time-dependent forms for the physical conversion factors given in Table 2; these are given in Table 4. The changes over the course of the mission-to-date are of the same order as the uncertainty in the absolute calibration, but the trend is clear and relevant to relative photometry, and we also expect the trend to continue into the future. For that reason, we have included the degradation in the \(\mathrm{B}_{\odot}\) and \(S_{10}\) conversions in secchi_prep since 1 July 2015. The evolution of the sensitivity will continue to be monitored after the end of the solar-conjunction phase of the mission.

Table 4 Time-dependent conversion factors from \(\mbox{DN}\,\mbox{s}^{-1}~(\mbox{CCD}\,\mbox{pixel})^{-1}\) to physical units for the HI-2 cameras.

6 Flatfield Determination

In addition to determining the gain corrections at the centre of the HI-2 fields, we also examined the variation of gain across the field of view. The large-scale flatfield is the variation of effective gain caused by, inter alia, the change in effective aperture as a function of entry angle and vignetting and differing optical paths within the instrument optics, as well as any large-scale variations in CCD sensitivity. This is separate from, and independent of, the pixel-solid-angle corrections described above, and it affects stellar measurements as well as diffuse sources.

The first approach was to divide the whole field of view into a number of sub-regions and follow the approach described in Section 4.1 to determine gain corrections for each sub-region. Initial versions of this approach were dominated by striations parallel to the \(x\)-axis (i.e. tracking the motion of stars across the CCD). When the causes of this were analysed, we found that a number of stars were consistently high or low (mostly high) relative to the fitted trend. This probably is most commonly caused by cases where the star region identification includes another star (which would occur if the saddle point between the stellar responses was above one-third of the peak of one of the stars). For this reason, we created a blacklist of stars for each instrument that contained those stars whose lowest value in any of the boxes was more than 20 % above the fitted trend or whose highest value was more than 20 % below the trend. These lists were also fed back into the photometric calibration analysis.

After this modification, the star-track aligned striations were much reduced relative to the original version, but they still dominated the maps. It was clear, however, that the main systematic deviation was a fall-off of sensitivity towards the edge of the field.

The effect of the track-aligned variation and the limitations of a box-based method led us to take the following path:

  1. i)

    Take the stellar count rates, determined as in Section 3.2 but without the pre-launch flatfield corrections applied, from individual science images for all usable stars within 512 bins of the CCD centre.

  2. ii)

    Take the ratio of each count rate to the predicted count rate with the previously derived correction factors to instrument response applied.

  3. iii)

    Treat the data as a single set of values of ratio against pixel coordinates.

  4. iv)

    Fit a suitable functional form, using the L1 norm and weighting all the measurements for each star by its interquartile range.

Using the results from the box-based analysis and the pre-launch flatfield from Section 2.2 (Equation (3)) as a guide, we tried a form

$$ \mathit{FF}(r) = a_{0} + a_{1} R^{2} + a_{2} R^{4} + a_{3} \max(R-a_{4},0)^{2}, $$
(11)

where \(R\) is the radial distance from the image centre. For HI-2A, the results are tabulated in Table 5. We were not able to obtain a useful fit for HI-2B as too few stars were sufficiently well-behaved across the whole field of view, but the results appear to be consistent with those for HI-2A. The addition of non-radial terms to the relation did not give any measurable improvement in the fit, so we consider that the form given in Equation (11) with the coefficients derived for HI-2A and listed in Table 5 represents the best large-scale flatfield that we can obtain for both HI-2 cameras.

Table 5 Fitted large-scale flatfield parameters for HI-2.

In Figure 10a we show a 2D histogram of the ratios of the measured count rate to that predicted as a function of radial distance from the CCD centre. This clearly shows that the shape of the fit is at least consistent with the histogram, but there is a large scatter. The structure of the histogram strongly suggests the scatter to be mainly due to variations from star to star. As with the instrument degradation analysis (Section 5), we therefore rescaled each star so that its median ratio after applying the flatfield was 1.0, and then regenerated the histogram. This revised histogram is shown in Figure 10b, which shows that the shape of the revised fit is indeed an excellent fit to the data. We also show (Figure 10c – e) the effect of the flatfield correction on an individual star, in this case \(\eta\) Norma, which shows that the corrected stellar count rate is constant across the CCD with the revised flatfield.

Figure 10
figure 10

The corrected large-scale flatfield for HI-2A. (a) Compared with the raw ratios of the count rate to that predicted at field centre. The greyscale map is a 2D histogram of the measurements, the dash–dot curve is the pre-launch flatfield, and the dashed curve is the fit presented here. (b) Compared with the same ratios, but normalised on a source-by-source basis. The format is the same as for (a). (c – e) Comparison of the counting rate for the star \(\eta\) Norma (G8III, \(m_{v} = 4.65\)) as it tracks across the CCD. (c) The raw ratio, (d) corrected with the pre-launch flatfield, (e) corrected with the new flatfield.

The revised flatfield was added to secchi_prep on 1 July 2015 along with the revised conversion coefficients.

7 Summary

We may summarise the results obtained in this study as follows:

  1. i)

    There are small but significant corrections to be made to the photometric calibration parameters of the two HI-2 instruments, the correction factors are 1.043 for HI-2A and 0.946 for HI-2B with both being accurate to about 2 %. The SolarSoft processing routines were updated to use these revised parameters on 1 July 2015.

  2. ii)

    The stability of the photometric sensitivity of the HI-2 cameras (like the HI-1 cameras) through the mission is very good. HI-2A is degrading at about \(0.16~\%\,\mbox{year}^{-1}\) and HI-2B at about \(0.07~\%\,\mbox{year}^{-1}\), which is about an order of magnitude slower than for other white-light imaging instruments.

  3. iii)

    The large-scale flatfield must be modified to account for substantial vignetting in the outer parts of the field of view beyond about 450 image bins from the CCD centre. There is no need to introduce non-axisymmetric terms.

  4. iv)

    The lack of dependency of the photometric corrections on spectral type suggests that the pre-launch bandpass determinations are accurate.

  5. v)

    The detectors appear to be linear up to the onset of saturation. Saturation is not a factor for heliospheric use of the HI-2 instruments, but must be taken into account for stellar observations.

  6. vi)

    The AZP projection is not a perfect representation of the HI-2 projection, but the errors from its use are small compared with other uncertainties in CME measurements.