arXiv is now an independent nonprofit! Learn more
License: arXiv.org perpetual non-exclusive license
arXiv:1609.02006v1 [astro-ph.IM] 07 Sep 2016

Convolution kernels for multi-wavelength imaging

A. Boucaud Affiliation: Institut d’Astrophysique Spatiale, CNRS, UMR 8617, Univ. Paris-Sud, Université Paris-Saclay, IAS, bât. 121, Univ. Paris-Sud, 91405 Orsay, France Email: alexandre.boucaud@ias.u-psud.fr Affiliation: Sorbonne Universités, UPMC Univ Paris 6 et CNRS, UMR 7095, Institut d’Astrophysique de Paris, 98 bis bd Arago, 75014 Paris, France    M. Bocchio Affiliation: Institut d’Astrophysique Spatiale, CNRS, UMR 8617, Univ. Paris-Sud, Université Paris-Saclay, IAS, bât. 121, Univ. Paris-Sud, 91405 Orsay, France Email: alexandre.boucaud@ias.u-psud.fr    A. Abergel Affiliation: Institut d’Astrophysique Spatiale, CNRS, UMR 8617, Univ. Paris-Sud, Université Paris-Saclay, IAS, bât. 121, Univ. Paris-Sud, 91405 Orsay, France Email: alexandre.boucaud@ias.u-psud.fr    F. Orieux Affiliation: Institut d’Astrophysique Spatiale, CNRS, UMR 8617, Univ. Paris-Sud, Université Paris-Saclay, IAS, bât. 121, Univ. Paris-Sud, 91405 Orsay, France Email: alexandre.boucaud@ias.u-psud.fr Affiliation: Laboratoire des Signaux et Systèmes (Univ. Paris-Sud, CNRS, CentraleSupélec, Université Paris-Saclay), 91192, Gif-sur-Yvette, France.    H. Dole Affiliation: Institut d’Astrophysique Spatiale, CNRS, UMR 8617, Univ. Paris-Sud, Université Paris-Saclay, IAS, bât. 121, Univ. Paris-Sud, 91405 Orsay, France Email: alexandre.boucaud@ias.u-psud.fr    M. A. Hadj-Youcef Affiliation: Institut d’Astrophysique Spatiale, CNRS, UMR 8617, Univ. Paris-Sud, Université Paris-Saclay, IAS, bât. 121, Univ. Paris-Sud, 91405 Orsay, France Email: alexandre.boucaud@ias.u-psud.fr Affiliation: Laboratoire des Signaux et Systèmes (Univ. Paris-Sud, CNRS, CentraleSupélec, Université Paris-Saclay), 91192, Gif-sur-Yvette, France.
Received June 9, 2016; accepted September 5, 2016
Abstract

Astrophysical images issued from different instruments and/or spectral bands often require to be processed together, either for fitting or comparison purposes. However each image is affected by an instrumental response, also known as PSF, that depends on the characteristics of the instrument as well as the wavelength and the observing strategy. Given the knowledge of the PSF in each band, a straightforward way of processing images is to homogenise them all to a target PSF using convolution kernels, so that they appear as if they had been acquired by the same instrument. We propose an algorithm that generates such PSF-matching kernels, based on Wiener filtering with a tunable regularisation parameter. This method ensures all anisotropic features in the PSFs to be taken into account. We compare our method to existing procedures using measured Herschel/PACS and SPIRE PSFs and simulated JWST/MIRI PSFs. Significant gains up to two orders of magnitude are obtained with respect to the use of kernels computed assuming Gaussian or circularised PSFs. A software to compute these kernels is available at https://github.com/aboucaud/pypher.

Key Words.
point-spread function – PSF homogenisation – convolution kernels

1 Introduction

The point-spread function (PSF), also known as beam, is one of the main characteristics of any astronomical imager. It is a model of the diffraction pattern resulting from the interaction between the electromagnetic radiation and the instrument optics and detectors at every wavelength. Since most instruments operate on a single or a series of bandpasses (through e.g. filters), the resulting effective PSF is an integral of the monochromatic PSFs over the wavelength range, weighted by the instrumental throughput and the source energy distribution of a given astronomical object. A more accurate model can even include convolutional effects such as guiding errors, trailing effects from a scanning mode, smearing by the detector response or even non-convolutional effects like the brighter-fatter effect. Once imaged, these model PSFs exhibit a complex shape, including anisotropy, wings and spikes that extend far from the center. Another classic feature of the PSF derived from the laws of optics is the radially oscillating pattern of the response, (especially in the monochromatic case) creating a series of peaks and valleys. These secondary peaks can account for a non negligible amount of the total power of the PSF. For ground-based astronomy though, the atmospheric turbulence creates a smearing that redistributes the power of these peaks and valleys and enables the PSF to be modeled by simple analytic profiles like 2D Gaussians. On the contrary, space telescopes can benefit from a much higher resolution at the expense of a full complexity of the PSF. To cite a few examples, the effective PSF of IRAS maps was elliptical due to the scanning strategy, so the angular resolution was strongly anisotropic, with ratios up to 1:6 (Wheelock et al. 1994, e.g. 0.75’ ×\times 4.6’ at 25 μ\mum, from). More recently, the effective PSFs of the Planck/HFI11 1 http://planck.esac.esa.int maps appeared to have an ellipticity in a range 1.04 to 1.4, depending on the spectral band (Ade et al. 2011), and the PSF of the PACS22 2 http://herschel.esac.esa.int photometer (Poglitsch et al. 2010) onboard the Herschel satellite, characterised by Lutz 2012, showed a narrow core, a tri-lobe pattern and Knotty structured diffraction rings. As we push both optical performances and detector capabilities of the future missions towards the boundaries, the optical design highly increases in complexity. Hence, for upcoming space surveys (Euclid33 3 http://www.euclid-ec.org/, WFIRST44 4 http://wfirst.gsfc.nasa.gov/) or observatories (Athena55 5 http://www.the-athena-x-ray-observatory.eu/ or JWST66 6 http://http://www.jwst.nasa.gov/), the characterisation and processing of elaborated PSFs become a crucial task.

Most of astrophysical studies necessitate multi-wavelength observations, either from multiple bands/filters within an instrument or from various instruments and telescopes. The different maps are affected by a particular PSF and the pixel-based data comparison cannot be straightforward. However, a technique widely used in multi-band photometry is to perform the measurements on PSF homogenised data, that is to select a dataset as reference (usually the one with the worst resolution, or wider PSF) and transform the other datasets so they are PSF-matched with the reference PSF, a technique called PSF homogenisation or PSF matching (Bertin et al. 2002; Gordon et al. 2008; Darnell et al. 2009; Hildebrandt et al. 2012, see e.g.). PSF homogenisation is usually achieved by convolving the image with a kernel that is generated from the PSF corresponding to the image and the reference PSF. In the literature, one can distinguish between parametric kernels which use a fit of an analytic model to each PSF (Moffat, multiple Gaussians, etc.) or their decomposition on a proper basis (e.g. Gauss-Hermite polynomials, or shapelets), and results in an analytic expression for the kernel (Kuijken 2008; Hildebrandt et al. 2012, e.g.) ; and non parametric methods that use pixel information from the image (Alard 2000, e.g.) or adopt effective PSF images (Gordon et al. 2008; Aniano et al. 2011, e.g.) to compute the kernels.

With the purpose of taking into account the full complexity and angular extension of space instruments’ PSFs, we address the creation of PSF-matching kernels for multi-wavelength studies. We then present two usecases for these kernels, one based on the Herschel satellite data, and a second on simulations for the MIRI instrument of JWST. We also deliver a program called pypher that computes the kernels given two PSF images (see Appendix A). This code has initially been developed in preparation for the Euclid mission (Laureijs et al. 2010).

In Section 2, we describe the algorithm for the generation of convolution kernels used to match the resolution of images. In Section 3, we assess the improvement brought by these kernels on the multi-wavelength study of dust properties with the Herschel satellite, and show in Section 4 the reconstruction power of such kernels on PSF simulations of the future JWST satellite, before summarising this work in Section 5.

2 Kernel generation

2.1 Data Model

Let’s first consider an astrophysical image 𝒚\boldsymbol{y}, observed with an instrument modeled as a linear invariant system:

𝒚=𝒉𝒙+𝒏,\boldsymbol{y}=\boldsymbol{h}\ast\boldsymbol{x}+\boldsymbol{n}\,, (1)

where 𝒉\boldsymbol{h} is the PSF convolved with the unknown sky 𝒙\boldsymbol{x}, 𝒏\boldsymbol{n} is the image noise and \ast stands for the discrete convolution (Gonzalez & Woods 2008, see e.g.).

Given two PSF models 𝒉a\boldsymbol{h}_{a} and 𝒉b\boldsymbol{h}_{b}, where aa and bb refer to different frequency bands from the same or various instruments, the process we are interested in, referred to as PSF-matching, is to transform the image 𝒚a\boldsymbol{y}_{a} acquired at the angular resolution of 𝒉a\boldsymbol{h}_{a}

𝒚a=𝒉a𝒙+𝒏a,\boldsymbol{y}_{a}=\boldsymbol{h}_{a}\ast\boldsymbol{x}+\boldsymbol{n}_{a}\,, (2)

into an image 𝒚a,b\boldsymbol{y}_{a,b} at the angular resolution of 𝒉b\boldsymbol{h}_{b}

𝒚a,b\displaystyle\boldsymbol{y}_{a,b} =𝒌a,b𝒚a,\displaystyle=\boldsymbol{k}_{a,b}\ast\boldsymbol{y}_{a}\,, (3)
𝒉b𝒙\displaystyle\simeq\boldsymbol{h}_{b}\ast\boldsymbol{x} (4)

where 𝒌a,b\boldsymbol{k}_{a,b} is the matching kernel from 𝒉a\boldsymbol{h}_{a} to 𝒉b\boldsymbol{h}_{b}.

This paper presents a linear algorithm that computes the kernel 𝒌a,b\boldsymbol{k}_{a,b} to produce the image 𝒚a,b\boldsymbol{y}_{a,b} from the original image 𝒚a\boldsymbol{y}_{a} through a convolution. To this end, we need to construct the kernel 𝒌a,b\boldsymbol{k}_{a,b} such that

𝒉b=𝒉a𝒌a,b.\boldsymbol{h}_{b}=\boldsymbol{h}_{a}\ast\boldsymbol{k}_{a,b}\,. (5)

2.2 Kernel generation

For such linear systems as equation (5), one can seek an estimate of 𝒌a,b\boldsymbol{k}_{a,b}, denoted 𝒌^a,b\hat{\boldsymbol{k}}_{a,b}, that minimises the least squares criterion JJ

𝒌^a,b\displaystyle\hat{\boldsymbol{k}}_{a,b} =argmin𝒌a,bJ(𝒌a,b),\displaystyle=\mathop{\mathrm{arg\,min}}_{\boldsymbol{k}_{a,b}}J(\boldsymbol{k}_{a,b})\,, (6)
=argmin𝒌a,b𝒉b𝒉a𝒌a,b2.\displaystyle=\mathop{\mathrm{arg\,min}}_{\boldsymbol{k}_{a,b}}\left\|\boldsymbol{h}_{b}-\boldsymbol{h}_{a}\ast\boldsymbol{k}_{a,b}\right\|^{2}\,. (7)

However, the presence of the convolution makes the system ill-posed for the inversion, hence the solution to equation (7) is not stable. The only way to stabilise the solution is to add information. For the considered system, we use a technique called regularisation. We choose a 2\ell_{2} norm in order to have a linear estimator and use Fourier filtering, and penalise the high frequencies where we expect the noise to dominate, using a high-pass filter 𝒅\boldsymbol{d}. This corresponds to adding a relative degree of smoothness between values of neighboring pixels.

J(𝒌a,b)=𝒉b𝒉a𝒌a,b2+μ𝒅𝒌a,b2,J(\boldsymbol{k}_{a,b})=\left\|\boldsymbol{h}_{b}-\boldsymbol{h}_{a}\ast\boldsymbol{k}_{a,b}\right\|^{2}+\mu\left\|\boldsymbol{d}\ast\boldsymbol{k}_{a,b}\right\|^{2}\,, (8)

where 𝒅\boldsymbol{d} is the second-order differential operator (i.e. two-dimensional Laplacian matrix)

𝒅=[ 01 01 41 01 0]\boldsymbol{d}=\begin{bmatrix}\penalty\ 0&-1&\penalty\ 0\\ -1&\penalty\ 4&-1\\ \penalty\ 0&-1&\penalty\ 0\end{bmatrix} (9)

and μ\mu the regularisation parameter, which tunes the balance between the data fidelity and the penalisation. Other norms, such as 1\ell_{1}, 21\ell_{2}\ell_{1} or TVTV (Total Variations) are known to better preserve the image details, but produce non linear estimators that require iterative algorithms to solve.

Denoting the Fourier transform of any two-dimensional vector 𝒖\boldsymbol{u} by 𝒖~\tilde{\boldsymbol{u}}, the convolution theorem states that the real space convolution is equivalent to a termwise product in Fourier space

𝒉𝒌𝒉~𝒌~,\boldsymbol{h}\ast\boldsymbol{k}\Leftrightarrow\tilde{\boldsymbol{h}}\odot\tilde{\boldsymbol{k}}\,, (10)

where \odot symbolises the termwise product between vectors/matrices.

Under these assumptions, the cancellation of the first gradient of the criterion (8) leads to the classical regularised mean square solution of equation (7) in Fourier space

𝒌^~a,b=𝒘𝒉~b\tilde{\hat{\boldsymbol{k}}}_{a,b}=\boldsymbol{w}\odot\tilde{\boldsymbol{h}}_{b} (11)

where 𝒘\boldsymbol{w} is a Wiener filter with high-frequency penalisation

𝒘(μ)=𝒉~a|𝒉~a|2+μ|𝒅~|2;μ0\boldsymbol{w}(\mu)=\frac{\tilde{\boldsymbol{h}}_{a}^{{\dagger}}}{|\tilde{\boldsymbol{h}}_{a}|^{2}+\mu|\tilde{\boldsymbol{d}}|^{2}}\quad;\quad\mu\neq 0 (12)

and 𝒉~𝒂\boldsymbol{\tilde{\boldsymbol{h}}_{a}}^{{\dagger}} stands for the complex conjugate of matrix 𝒉~𝒂\boldsymbol{\tilde{\boldsymbol{h}}_{a}}.

The real-space convolution kernel 𝒌a,b\boldsymbol{k}_{a,b}, is eventually obtained via the inverse Fourier transform of equation (11). For two instruments aa and bb, this kernel is thus only parametrised by the regularisation parameter μ\mu. The optimal balance between the data and the penalisation is found by setting μ\mu to the inverse of the signal-to-noise ratio (SNR) of the homogenised image, 𝒚a\boldsymbol{y}_{a} in this case.

We provide with this paper the pypher program (see Appendix A), an implementation of the Algorithm 1 presented below, that computes 𝒌a,b\boldsymbol{k}_{a,b}.

inputs : 𝒉a\boldsymbol{h}_{a} 2D array of size Na ×\times Na and pixel scale pa,
𝒉b\boldsymbol{h}_{b} 2D array of size Nb ×\times Nb and pixel scale pb,
angles αa\alpha_{a} and αb\alpha_{b} (see Appendix A)
regularisation factor μ\mu.
output : 𝒌a,b\boldsymbol{k}_{a,b} 2D array of size N ×\times N and pixel scale p.
/* PSF warping: */
N = Nb ; p = pb
for ii in {aa, bb} do
if αi0\alpha_{i}\neq 0 then
   rotate 𝒉i\boldsymbol{h}_{i} through an angle αi\alpha_{i}
     end if
    end for
    if pa{}_{a}\neq p then
     rescale 𝒉a\boldsymbol{h}_{a} to the pixel scale p
       end if
      for 𝐮\boldsymbol{u} in {𝒉a\boldsymbol{h}_{a}, 𝐝\boldsymbol{d}} do
       if size(𝐮\boldsymbol{u}) ¡ N ×\times N then
         pad 𝒖\boldsymbol{u} with zeros to a size of N ×\times N
           else
           trim 𝒖\boldsymbol{u} to a size of N ×\times N
             end if
            end for
            
             /* Wiener filter: */
             for 𝐮\boldsymbol{u} in {𝒉a\boldsymbol{h}_{a}, 𝐝\boldsymbol{d}} do
             compute the OTF77 7 The optical transfer function (OTF) is the discrete Fourier transform of a signal which has been translated so that its peak value is the first vector entry (i.e. Im[0, 0] for an image). of 𝒖\boldsymbol{u}: 𝒖~\tilde{\boldsymbol{u}}
               end for
              
              compute 𝒘(μ)\boldsymbol{w}(\mu) following equation (12)
              
               /* Kernel: */
               compute the discrete Fourier transform of 𝒉b\boldsymbol{h}_{b}: 𝒉~b\tilde{\boldsymbol{h}}_{b}
               compute 𝒌^~a,b\tilde{\hat{\boldsymbol{k}}}_{a,b} following equation (11) via a termwise product
               inverse Fourier transform 𝒌^~a,b\tilde{\hat{\boldsymbol{k}}}_{a,b} to obtain the kernel 𝒌a,b\boldsymbol{k}_{a,b}
              
              
Algorithm 1 Matching kernel generation recipe

3 Impact on Herschel data analysis

The pypher kernels allow us to convolve multiple astronomical images to a common angular resolution. In order to preserve all the information during this process, a good knowledge of the effective PSFs of the instruments used is required. We focus here on the particular analysis of Herschel photometric images which have been widely used in the last few years to measure the dust temperature and the spectral index β\beta across many astronomical objects from multi-band imaging with PACS and SPIRE.

Given the uncertainties on the PSFs of PACS and SPIRE instruments, since the beginning of the operational period of Herschel and for a few years, convolutions from PACS to SPIRE angular resolution have been performed assuming Gaussian PSFs with a given FWHM estimated from dedicated observations of asteroids. In 2011, a better characterisation of the instruments’ PSFs allowed Aniano et al. 2011 to develop a method to construct convolution kernels assuming circular PSFs. While a full analysis of the PSF of the SPIRE instrument has been finalised recently by the Instrument Control Centre (Schultz 2015, ICC,), a final PSF characterisation for the PACS instrument has not been released yet by the ICC (Lutz 2015). Parallel work has been performed by Bocchio et al. 2016, who have computed PACS effective PSFs88 8 these PSFs are publicly available at
http://idoc-herschel.ias.u-psud.fr/sitools/client-user/Herschel/project-index.html.
from the combination of Vesta and Mars dedicated observations, which will be used hereafter. The current knowledge of both PACS and SPIRE PSFs, and the pypher code allow us to construct effective convolution kernels with an unprecedented precision. In this section we show how and to what extent the use of different convolution kernels can affect the results.

3.1 Herschel PSFs and kernels

For each Herschel band, λ\lambda, we define four PSF images:

  1. 1.

    the effective PSF (EλE_{\lambda}), taken from Bocchio et al. 2016 for PACS and Schultz 2015 for SPIRE ;

  2. 2.

    the Gaussian PSF (GλG_{\lambda}), computed fitting a 2D Gaussian profile to EλE_{\lambda}. GλG_{\lambda} has the same FWHM as EλE_{\lambda} but does not account for secondary lobes and faint structures ;

  3. 3.

    the circular PSF (CλC_{\lambda}), computed from EλE_{\lambda} by averaging the image intensity in annular bins. All information on the asymmetry of the PSF is then lost ;

  4. 4.

    the Aniano PSF (AλA_{\lambda}), a circular PSF from the 4 paper.

For each of the first three types of PSF, we define the corresponding matching kernels between the bands λ1\lambda_{1}and λ2\lambda_{2} as

Kλ1,λ2XwithX{E,G,C}K^{X}_{\lambda_{1},\lambda_{2}}\quad\text{with}\quad X\in\{E,G,C\} (13)

and compute them with pypher. We also consider the Aniano kernels defined here as Kλ1,λ2AK^{A}_{\lambda_{1},\lambda_{2}} and computed in 4 via a different method than that used in this work.

The homogenised images can therefore be denoted by

X70,350=E70K70,350X.X_{70,350}=E_{70}\ast K_{70,350}^{X}\,. (14)
Refer to caption
Figure 1: Effective PACS 70 μ\mum and SPIRE 350 μ\mum PSFs on the left. The central column shows Gaussian, circular and effective kernels for these PSFs computed following the procedure described in Section 3.1. The corresponding relative residual images (see equation 15) are displayed in the right column. The bottom kernel and residual image correspond to this work. All images are 120′′×120′′120^{\prime\prime}\times 120^{\prime\prime}.

3.2 Kernel comparison

In this paragraph we assess the impact of using approximations of effective PSFs in the homogenisation process, which is directly related to the creation of the convolution kernel. The effective kernel Kλ1,λ2EK^{E}_{\lambda_{1},\lambda_{2}} being the target of our kernel generation algorithm, it is expected to produce better results than the other types described above.

To compare the different types of kernels, we chose to measure the difference between the effective PSF at λ1\lambda_{1} matched to λ2\lambda_{2} and the effective PSF at λ2\lambda_{2}. We define the relative residuals RXR^{X} as

Rλ1,λ2X=|Eλ2Eλ1Kλ1,λ2X|Eλ2.R^{X}_{\lambda_{1},\lambda_{2}}=\frac{|E_{\lambda_{2}}-E_{\lambda_{1}}\ast K^{X}_{\lambda_{1},\lambda_{2}}|}{E_{\lambda_{2}}}. (15)

for each type of kernel.

For this comparison test, we consider the matching of the PACS 70 μ\mum PSF to the resolution of SPIRE 350 μ\mum. In the remainder of this paragraph, we refer to these bands as 70 and 350.

The two images on the left of Figure 1 represent the effective PSFs of PACS 70 μ\mum: E70E_{70} and SPIRE 350 μ\mum: E350E_{350}. The central column shows the kernels computed with pypher from Gaussian (top) and circular (middle) approximations of the effective PSFs, as described in Section 3.1, and directly from the left-side PSFs (bottom). On these kernel images, one can see the characteristics of the input PSFs: the Gaussian approximation has a single lobe, the circular one is axisymmetrical and presents a second lobe, and the last one has two lobes and the general shape of E350E_{350}. Next to these kernels, the associated homogenisation residual images are displayed (see equation 15 for computation).

Refer to caption
Figure 2: First (m(r)m(r), top panel) and second (σ(r)\sigma(r), bottom panel) polar moments of the residuals (right column images of Figure 1 + R70,350AR^{A}_{70,350}) as a function of the distance rr to the image center. The different lines represent the kernel types used for the homogenisation: Gaussian (red dotted), circular (green long dashed), 4 (black dashed) and effective (blue solid, this work). The vertical black dotted line indicates the HWHM of the SPIRE 350 μ\mum PSF.

Both R70,350GR^{G}_{70,350} and R70,350CR^{C}_{70,350} have residuals on the order of 10% within the first lobe of E350E_{350} (central region of radius equal to the HWHM 12′′\simeq 12^{\prime\prime}). Outside of that region, the reconstruction from these two kernels is even worse. In particular, the extinction ring that marks the transition between the first and second lobe does not exist in the Gaussian case and is slightly shifted due to azimuthal averaging in the circular case, which leads to a big residual error in both cases (white circle on R70,350GR^{G}_{70,350} and R70,350CR^{C}_{70,350}). Both kernel and residual images from 4, which are not shown on Figure 1, present very similar behaviour to the circular approximation. Using the kernel constructed with effective PSFs, R70,350ER^{E}_{70,350}, we obtain very homogeneous residuals of the order of 0.1%.

To analyse in more details these residuals, we introduce the first mm and second σ\sigma polar moments of the residuals:

m(r)\displaystyle m(r) =1nangi=1nangRX(r,θi),\displaystyle=\frac{1}{n_{\rm ang}}\sum_{i=1}^{n_{\rm ang}}R^{X}(r,\theta_{i}),
σ(r)\displaystyle\sigma(r) =1nangi=1nang[RX(r,θi)]2,\displaystyle=\sqrt{\frac{1}{n_{\rm ang}}\sum_{i=1}^{n_{\rm ang}}\left[R^{X}(r,\theta_{i})\right]^{2}}\,, (16)

where RX(r,θi)R^{X}(r,\theta_{i}) is the intensity of the residual image (computed using the kernel XX) at a distance rr from the image centre and at an angle θi=2πi/nang\theta_{i}=2\pi i/n_{\rm ang}, with nang=100n_{\rm ang}=100. The moments express the intensity and dispersion of the residuals along the PSF radius.

Figure 2 shows these two values computed on the residual images for the four kernel types. As previously stated, the Gaussian case (dotted red lines) is only stable within a circle of radius equal to the HWHM of E350E_{350}. At further distance it shows very high first and second moments, close to unity, and establishes a very poor matching. The circular case (long-dashed green) exhibits a constant first moment below 10% at all distances, better than the Gaussian case. This is mainly due to the computation of the first moment that is very similar to the circularising process and averages out the measurements. However, the asymmetry and local structures of E70E_{70} and E350E_{350} are lost and the second moment is comparable to that of R70,350GR^{G}_{70,350}. 4 used narrower versions of PACS and SPIRE PSFs than those used in this work to produce the kernels. Both first and second moments (dashed black) therefore present bumps at the position of the lobes. Finally, the effective case (blue) best matches E350E_{350}. In amplitude, the first moment is 0.1%\lesssim 0.1\% and the second moment 1%\lesssim 1\% at all distances, even if we note that the second moment presents the two bumps observed earlier. By comparison, these moments are two orders of magnitude lower than that of the other three cases.

This concludes in a major improvement in using pypher kernels with effective PSFs with respect to Gaussian, circular or 4 kernels from an image processing standpoint. Next we test again these kernels on the determination of meaningful parameters from data or simulations.

3.3 Dust properties study

Herschel observations are often used to retrieve information on dust properties in our Galaxy as well as in local galaxies. In this section we show how the choice of PSFs to construct the convolution kernels can affect pixel-by-pixel measurements.

We consider an edge-on galaxy at D10D\sim 10 Mpc from us with an intrinsic vertical profile given by:

Id(z)=Id(0)exp(zzd),I_{\rm d}(z)=I_{\rm d}(0)\exp\left(\frac{-z}{z_{\rm d}}\right), (17)

where zdz_{\rm d} is the scale height of the vertical dust distribution. We introduce the angular distance θz/D\theta\simeq z/D and its characteristic value θdzd/D\theta_{\rm d}\simeq z_{\rm d}/D. Three scale heights are examined, zd=z_{\rm d}= 0.1, 1 and 10 kpc (scenarios a., b. and c. from Table 1), corresponding to θd2,20\theta_{\rm d}\simeq 2,20 and 200′′200^{\prime\prime}. Their intrinsic dust profile is shown on Figure 3.

Refer to caption
Figure 3: Intrinsic dust profiles (see equation 17) for scenarios a., b. and c. listed in Table 1, corresponding, respectively, to characteristic scale heights of zd=0.1z_{d}=0.1, 1 and 10 kpc. These profiles are then convolved with Herschel PSFs to simulate an edge-on galaxy observed in different bands.

We convolve the intrinsic dust profile to the effective PSFs of PACS 70, 100 and 160 μ\mum and SPIRE 250 and 350 μ\mum, while keeping the pixel size at 1′′1^{\prime\prime}. We then make the basic assumption that the dust in the whole galaxy has a temperature of Td=20T_{\rm d}=20 K and spectral index β=1.6\beta=1.6 (following Planck Collaboration et al. 2014), and rescale the convolved models accordingly.

In order to simulate real data, we add Gaussian statistical noise to the models and consider three different values of signal-to-noise ratio (SNR), 10410^{4}, 10210^{2}, 1010 (scenarios b., b.1 and b.2 from Table 1), with respect to the dust emission at the peak position (z=0z=0). These images are then homogenised to the resolution of SPIRE 350 μ\mum using the four kernel types described in Section 3.1 and resampled with a common pixel size of 10′′10^{\prime\prime}.

Finally, using a minimum χ2\chi^{2} method, we fit the multi-wavelength data on a pixel-by-pixel basis to a modified blackbody:

Iν=τν0(ν/ν0)βBν(T),I_{\nu}=\tau_{\nu_{0}}(\nu/\nu_{0})^{\beta}B_{\nu}(T), (18)

where τν0\tau_{\nu_{0}} is the optical depth at the reference frequency ν0\nu_{0} and Bν(T)B_{\nu}(T) is the blackbody radiation for a grain at temperature TT.

Refer to caption
Figure 4: Δβ\Delta\beta parameter as a function of ΔT\Delta T for the four kernel types, using an edge-on galaxy with the dust profile b. (zd=1z_{d}=1 kpc, SNR = 10410^{4}). For a given kernel type, there are 21 data points, each of them corresponding to a measurement on a single pixel along the galaxy profile. The spread thus represents the systematic error on the βT\beta-T measurement for this kernel type. Error bars on both axis at the centre indicate the statistical errors on β\beta and TT obtained from the χ2\chi^{2}-fitting routine.

We define Δβ\Delta\beta and ΔT\Delta T the deviations from the reference dust spectral index β\beta and temperature TdT_{\rm d}, respectively. Figure 4 shows Δβ\Delta\beta as a function of ΔT\Delta T for scenario b. where zd=1z_{\rm d}=1 kpc and SNR = 10410^{4}, for the different kernel types. Except for the case where effective PSFs are used, systematic discrepancies are present (up to ΔT±1\Delta T\pm 1 K and Δβ±0.3\Delta\beta\pm 0.3), comparable in amplitude to the statistical errors (horizontal and vertical bars on Figure 4), and a spurious strong negative correlation appears between dust temperature and β\beta parameter.

Table 1: Scale height, zdz_{\rm d}, and signal-to-noise ratio (SNR) adopted for the simulation of dust profiles of an edge-on galaxy.
Scenario zdz_{\rm d} (kpc) SNR
a.a.\penalty\ 0.1 10410^{4}
b.b.\penalty\ 1.0 10410^{4}
c.c.\penalty\ 10.0 10410^{4}
b.1b.1 1.0 10210^{2}
b.2b.2 1.0 10110^{1}

In order to show where this effect is most significant within the galaxy profile, we illustrate on Figure 5 the quantities ΔT\Delta T and Δβ\Delta\beta at various angular distances from the galaxy centre and for different kernel types (G: Gaussian, C: circular, A: 4, E: effective). Each column thus represents a vertical cut of the modeled galaxy. Dashed lines indicate the characteristic scale height of the intrinsic dust abundance profile. The top three panels show scenarios a., b. and c. where the scale height varies and the SNR is kept constant at 10410^{4}. The two bottom panels show scenarios b.1 and b.2 where the scale height is fixed at 1 kpc and we vary the SNR (see Table 1 for a summary). Each panel of Figure 5 shows the relationship between Δβ\Delta\beta and ΔT\Delta T just as in Figure 4, and adds the spatial information to the data points.

Depending on the considered dust scale height, deviations from the reference dust temperature and β\beta parameter reach ±2\pm 2 K and ±0.6\pm 0.6, respectively, with higher deviations for shorter scale heights and at higher galactic latitudes. Regardless of the convolution kernel adopted, the negative correlation is clearly measured for all the pixels in the vertical cut.

Scenarios a., b. and c. show that using the effective kernels, very low (<1%<1\%) deviations from the reference values are obtained, while the use of other convolution kernels lead to larger errors for zzdz\gtrsim z_{\rm d}. However, as expected, decreasing the level of SNR (scenarios b.1 and b.2), the noise starts to dominate over the signal and very large discrepancies are observed in temperature and β\beta, regardless of the adopted convolution kernel.

Refer to caption
Figure 5: Heat maps of ΔT\Delta T and Δβ\Delta\beta measured on a simulated edge-on galaxy at various angular distances θ\theta from the center, as a function of the kernel type used. Each panel represents a scenario from Table 1. Dashed lines indicate the scale height of the dust profile zdz_{\rm d}. This figure highlights the very small scatter in both ΔT\Delta T and Δβ\Delta\beta when using the kernels with effective PSFs (column E on each plot), until the SNR becomes to low as in panel b.2b.2.

4 JWST PSF simulations

To show the reliability of our method for complex-shaped PSFs, we now test our algorithm on simulated PSFs from a telescope with an uncommon optical design. For this purpose, we select the Mid-InfraRed Instrument Imager (MIRI) of the James Webb Space Telescope (Bouchet et al. 2015, JWST,). The JWST main mirror being made of several hexagonal mirrors, the optical response of this instrument shows highly non symmetrical features that need to be accounted for in the homogenisation process.

We use WebbPSF (Perrin et al. 2012), the official JWST PSF simulation tool to generate a set of four broadband PSFs of 5′′×5′′5^{\prime\prime}\times 5^{\prime\prime} centered at λ1=5.6μm\lambda_{1}=5.6\penalty\ \mu m, λ2=11.3μm\lambda_{2}=11.3\penalty\ \mu m, λ3=18.0μm\lambda_{3}=18.0\penalty\ \mu m and λ4=25.5μm\lambda_{4}=25.5\penalty\ \mu m in order to cover the spectral range of MIRI. These broadband PSFs were generated from a set of 20 monochromatic ones assuming flat spectral energy distribution of the source, and oversampled at 4 times the pixel size of the detector, corresponding to a pixel scale of 0.11 arcsec. They are displayed on the first column (and top of the second column) of Figure 6.

Using pypher, we then compute three matching kernels, namely, Kλ1,λ4,Kλ2,λ4K_{\lambda_{1},\,\lambda_{4}},K_{\lambda_{2},\,\lambda_{4}} and Kλ3,λ4K_{\lambda_{3},\,\lambda_{4}} (following the notation from Section 3.1), to homogenise the first three PSFs to the angular resolution of Eλ4E_{\lambda_{4}}. Using the same procedure as in Section 3.2, we compare these homogenised PSFs to the original one using the residual formalism (15) applied to the MIRI bandpasses. The resulting residual images Rλ1,λ4,Rλ2,λ4R_{\lambda_{1},\,\lambda_{4}},R_{\lambda_{2},\,\lambda_{4}} and Rλ3,λ4R_{\lambda_{3},\,\lambda_{4}} are shown on the last column of Figure 6.

Refer to caption
Figure 6: Proof of concept of PSF homogenisation for the JWST/MIRI instrument. The PSFs from the first column, respectively at 5.6 μ\mum, 11.3 μ\mum and 18.8 μ\mum, are homogenised to the PSF on top of the second column at 25.5 μ\mum, using pypher kernels. The resulting homogenised PSFs are shown in the second column. They are visually indistinguishable from the effective one on top. The relative residuals on the right confirm that the central part of the PSF is reconstructed at least to 0.1%.

The central region of the residual images, within the two main lobes of the Eλ4E_{\lambda_{4}} PSF, has a low level of residuals (105\sim 10^{-5}) in the three configurations Along the image borders, there are some non-negligible residual patches. A quick visual comparison with the homogenised PSFs (central column) shows these patches correspond to extremely faint regions of the PSF (<106<10^{-6} w.r.t. the peak) and thus having a very low impact in the matching process.

5 Conclusions

In this paper, we propose a new method for the generation of static PSF homogenisation kernels which is applicable for instruments presenting complex PSFs such as recent or future space-born telescopes. The PSF on such optical systems is hardly ever static over the field-of-view, but we restricted the purpose of this paper to the production of homogenization kernels for the study of regions of interest on the image, where the PSF can be considered non-variable. The treatment of the PSF varying over the whole field-of-view of modern instruments cannot be linearized as in this work and requires a very different approach. It will be the subject of a following paper. The application on Herschel/PACS and SPIRE and JWST/MIRI instruments demonstrates the performance of the proposed algorithm in terms of low residuals (better than 10210310^{-2}-10^{-3} and 10510610^{-5}-10^{-6} for observed and simulated PSFs, respectively).

To assess the improvement brought by our algorithm for multi-wavelength studies, we address the estimation of dust temperature and spectral index β\beta of astronomical objects using multi-band images taken in the submillimeter spectral range by Herschel. This estimation is made via pixel-by-pixel measurements across these images which have different intrinsic angular resolutions. Homogenisation kernels are thus traditionally used to bring all the images to the same angular resolution. Most of the analysis performed so far use either Gaussian kernels, or the circularised kernels produced by Aniano et al. 2011. However, effective PSFs of space imagers are anisotropic, so these methods are not accurate enough therefore introducing systematic anti-correlation on β\beta and temperature measurements with an amplitude which can be larger than the statistical noise. We have checked that using pypher kernels, systematic errors are in any case negligible compared to statistical noise.

Finally, we provide the pypher software (Boucaud 2016) to compute homogenisation kernels to be used for current and future instruments.

Acknowledgements.
AB would like to thank Hacheme Ayasso for useful discussions. We acknowledge the CNES (Centre National d’Études Spatiales) for supporting this work as part of the Euclid SGS (Science Ground Segment) within the Euclid Consortium. We acknowledge the Euclid Consortium, the European Space Agency and agencies and institutes supporting the development of Euclid. Part of this work has received funding from the European Union’s Seventh Framework Programme (FP7/2007-2013) for the DustPedia project (grant agreement n FP7-SPACE-606847). This research made use of Astropy, a community-developed core Python package for Astronomy (Astropy Collaboration, 2013).

References

  • Ade et al. (2011) Ade, P. A., Aghanim, N., Arnaud, M., et al. 2011, Astronomy & Astrophysics, 536, A7
  • Alard (2000) Alard, C. 2000, Astron. Astrophys. Suppl. Ser
  • Aniano et al. (2011) Aniano, G., Draine, B., Gordon, K., & Sandstrom, K. 2011, Publications of the Astronomical Society of the Pacific, 123, 1218
  • Aniano et al. (2011) Aniano, G., Draine, B. T., Gordon, K. D., & Sandstrom, K. 2011, PASP, 123, 1218 (ADGS11)
  • Bertin et al. (2002) Bertin, E., Mellier, Y., Radovich, M., et al. 2002, in Astronomical Data Analysis Software and Systems XI, Vol. 281, 228
  • Bocchio et al. (2016) Bocchio, M., Bianchi, S., & Abergel, A. 2016, A&A
  • Boucaud (2016) Boucaud, A. 2016, pypher: Python PSF Homogenization kERnels, http://dx.doi.org/10.5281/zenodo.61392
  • Bouchet et al. (2015) Bouchet, P., García-Marín, M., Lagage, P.-O., et al. 2015, Publications of the Astronomical Society of the Pacific, 127, 612
  • Darnell et al. (2009) Darnell, T., Bertin, E., Gower, M., et al. 2009, in Astronomical Data Analysis Software and Systems XVIII, Vol. 411, 18
  • Gonzalez & Woods (2008) Gonzalez, R. C. & Woods, R. E. 2008, Nueva Jersey
  • Gordon et al. (2008) Gordon, K. D., Engelbracht, C. W., Rieke, G. H., et al. 2008, The Astrophysical Journal, 682, 336
  • Hildebrandt et al. (2012) Hildebrandt, H., Erben, T., Kuijken, K., et al. 2012, Monthly Notices of the Royal Astronomical Society, 421, 2355
  • Kuijken (2008) Kuijken, K. 2008, Astronomy & Astrophysics, 482, 1053
  • Laureijs et al. (2010) Laureijs, R. J., Duvet, L., Sanz, I. E., et al. 2010, in SPIE Astronomical Telescopes+ Instrumentation, International Society for Optics and Photonics, 77311H–77311H
  • Lutz (2012) Lutz, D. 2012, PACS photometer point spread function
  • Lutz (2015) Lutz, D. 2015, Herschel-PACS document PICC-ME-TN-033, v2.2, http://herschel.esac.esa.int/twiki/pub/Public/PacsCalibrationWeb/bolopsf_22.pdf
  • Perrin et al. (2012) Perrin, M. D., Soummer, R., Elliott, E. M., Lallo, M. D., & Sivaramakrishnan, A. 2012, in SPIE Astronomical Telescopes+ Instrumentation, International Society for Optics and Photonics, 84423D–84423D
  • Planck Collaboration et al. (2014) Planck Collaboration, Abergel, A., Ade, P. A. R., et al. 2014, A&A, 571, A11
  • Poglitsch et al. (2010) Poglitsch, A., Waelkens, C., Geis, N., et al. 2010, A&A, 518, L2
  • Schultz (2015) Schultz, B. 2015, Analysis Details of SPIRE Photmeter Beam Profiles, http://herschel.esac.esa.int/twiki/bin/view/Public/SpirePhotometerBeamProfileAnalysis2
  • Wheelock et al. (1994) Wheelock, S., Gautier, T., Chillemi, J., et al. 1994

Appendix A The pypher code

A Python code called pypher (Boucaud 2016), that computes the static PSF homogenisation kernels described in this work has been made publicly available and can be retrieved at
https://github.com/aboucaud/pypher.

Once installed, this program can be used through a command-line interface taking as input the PSF images – source and target – as fits files, and specifying the output filename for the kernel,

$ pypher psf_a.fits psf_b.fits kernel_a_to_b.fits

The tunable parameters are

  • the regularisation parameter μ\mu of the Wiener filter (see equation 12) that penalises the high-frequencies, and should be set according to the image that will be homogenised,

  • the input PSFs position angle with respect to their image to accurately take into account the shape of both PSF in the homogenisation process.

The program takes less than a second on a single CPU to compute a kernel from two 512×512512\times 512 PSF images.