A novel method for component separation of extended sources in X-ray astronomy
Adrien Picquenot, Fabio Acero, J\'er\^ome Bobin, Pierre Maggi, Jean, Ballet, Gabriel W. Pratt

TL;DR
This paper introduces a new blind source separation method, GMCA, that jointly utilizes spatial and spectral data to disentangle and accurately extract components in X-ray astronomy, demonstrated on simulations and real Chandra data.
Contribution
The paper adapts GMCA, a method from CMB analysis, for X-ray data to improve component separation by exploiting the full (x,y,E) data structure.
Findings
GMCA effectively separates entangled components in simulated X-ray data.
The method accurately recovers spectra and spatial maps of physical components.
Application to Chandra data reveals detailed emission maps and element distributions.
Abstract
In high-energy astronomy, spectro-imaging instruments such as X-ray detectors allow investigation of the spatial and spectral properties of extended sources including galaxy clusters, galaxies, diffuse interstellar medium, supernova remnants and pulsar wind nebulae. In these sources, each physical component possesses a different spatial and spectral signature, but the components are entangled. Extracting the intrinsic spatial and spectral information of the individual components from this data is a challenging task. Current analysis methods do not fully exploit the 2D-1D (x,y,E) nature of the data, as the spatial and spectral information are considered separately. Here we investigate the application of a Blind Source Separation algorithm that jointly exploits the spectral and spatial signatures of each component in order to disentangle them. We explore the capabilities of a new BSS…
| Description | Parameters | |
| Model 1 | Power Law + | |
| Gaussian | keV | |
| eV | ||
| Model 2 | Power Law + | |
| Apec | keV | |
| Model 3 | Power Law + | |
| Two Gaussians | keV | |
| keV | ||
| eV | ||
| Model 4 | Power Law + | |
| Two Apecs | keV | |
| keV |
| Models | Model 1 | Model 2 | Model 3 | Model 4 |
|---|---|---|---|---|
| Comp. | ||||
| - | - | - | - | |
| Ratios | keV | keV | keV | keV |
| 13.35 | 4.20 | 2.39 | 4.36 | 1.67 |
| 8.90 | 2.80 | 1.59 | 2.91 | 1.11 |
| 5.93 | 1.86 | 1.06 | 1.93 | 0.74 |
| 3.95 | 1.24 | 0.71 | 1.29 | 0.50 |
| 2.64 | 0.83 | 0.47 | 0.86 | 0.33 |
| 1.76 | 0.55 | 0.31 | 0.57 | 0.22 |
| 1.17 | 0.37 | 0.21 | 0.38 | 0.15 |
| 0.78 | 0.25 | 0.14 | 0.26 | 0.098 |
| 0.52 | 0.16 | 0.093 | 0.17 | 0.065 |
| 0.35 | 0.11 | 0.062 | 0.11 | 0.043 |
| 0.23 | 0.073 | 0.041 | 0.076 | 0.029 |
| 0.15 | 0.049 | 0.028 | 0.050 | 0.019 |
| 0.10 | 0.032 | 0.018 | 0.033 | 0.013 |
| 0.069 | 0.0022 | 0.012 | 0.022 | 0.0086 |
| 0.046 | 0.0014 | 0.0082 | 0.015 | 0.0057 |
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAtomic and Subatomic Physics Research · Advanced X-ray Imaging Techniques · Medical Imaging Techniques and Applications
11institutetext: AIM, CEA, CNRS, Université Paris-Saclay, Université Paris Diderot, Sorbonne Paris Cité, F-91191 Gif-sur-Yvette, France 11email: [email protected], [email protected] 22institutetext: Observatoire Astronomique de Strasbourg, Université de Strasbourg, CNRS, 11 rue de l’Université, F-67000 Strasbourg, France
Novel method for component separation of extended sources in X-ray astronomy
A. Picquenot 11
F. Acero 11
J. Bobin 11
P. Maggi 22
J. Ballet 11
G.W. Pratt 11
In high-energy astronomy, spectro-imaging instruments such as X-ray detectors allow investigation of the spatial and spectral properties of extended sources including galaxy clusters, galaxies, diffuse interstellar medium, supernova remnants, and pulsar wind nebulae. In these sources, each physical component possesses a different spatial and spectral signature, but the components are entangled. Extracting the intrinsic spatial and spectral information of the individual components from this data is a challenging task. Current analysis methods do not fully exploit the 2D-1D () nature of the data, as spatial information is considered separately from spectral information. Here we investigate the application of a blind source separation (BSS) algorithm that jointly exploits the spectral and spatial signatures of each component in order to disentangle them. We explore the capabilities of a new BSS method (the general morphological component analysis; GMCA), initially developed to extract an image of the Cosmic Microwave Background from Planck data, in an X-ray context. The performance of the GMCA on X-ray data is tested using Monte-Carlo simulations of supernova remnant toy models designed to represent typical science cases. We find that the GMCA is able to separate highly entangled components in X-ray data even in high-contrast scenarios, and can extract the spectrum and map of each physical component with high accuracy. A modification of the algorithm is proposed in order to improve the spectral fidelity in the case of strongly overlapping spatial components, and we investigate a resampling method to derive realistic uncertainties associated to the results of the algorithm. Applying the modified algorithm to the deep Chandra observations of Cassiopeia A, we are able to produce detailed maps of the synchrotron emission at low energies (0.6-2.2 keV), and of the red- and blueshifted distributions of a number of elements including Si and Fe K.
Key Words.:
** methods: data analysis, techniques: imaging spectroscopy, ISM: supernova remnants **
1 Introduction
Beginning in the 1970s, it was realised that the X-ray sky is full of extended sources, among which we find emission from the Milky Way itself, other Galactic sources such as pulsar wind nebulae or supernova remnants (SNRs), and extragalactic sources such as galaxies and clusters of galaxies. The typical emission components one can see in X-rays from these types of objects are thermal emission or accelerated particles radiating through the synchrotron process. In each case, their spectral signature is distinctive and recognizable. For example, in SNRs the shock wave propagating rapidly through the interstellar medium heats it up to approximately K, resulting in thermal emission peaking in the X-ray domain.
Spectro-imaging instruments such as those aboard the current generation of X-ray satellites XMM-Newton and Chandra provide data comprising spatial and spectral information: the detectors record the position and energy event by event, thereby providing a data cube with two spatial dimensions and one spectral dimension.
An ability to disentangle the different physical components in this 2D-1D data cube would allow us to learn more about their respective spatial and spectral distributions. However, the different components are frequently superimposed along the line of sight, or are even physically nested, making such separation difficult.
In this paper we introduce a new method to disentangle spectral components from X-ray data of extended sources. Separating a set of components mixed in a set of observations is known in the field of signal processing as a blind source separation (BSS) problem. Our method is based on an algorithm that uses the ability of wavelets to provide a sparse representation for astrophysical images to find a solution to BSS problems. In this context, we consider our 2D-1D data cube as the product between an image and a spectrum. This algorithm, the generalized morphological components analysis (GMCA), was first developed by Bobin et al. (2015), and has recently been applied to Planck survey data to separate the image of the Cosmic Microwave Background (CMB) from the foregrounds (Bobin et al., 2016). The application of the GMCA method to X-ray data is nontrivial. While in Planck the data are obtained in nine fixed frequencies, the X-ray photons can be binned into an arbitrarily large number of energy bins; the X-ray photon count is drastically lower at high energies, and has higher dynamic range. In addition, the X-ray data have Poisson noise whereas the GMCA method assumes an additive Gaussian noise.
Here we adapt the GMCA algorithm to the study of extended sources in X-rays, and test its implementation by applying the method to SNR data. We first test the method on toy models reproducing X-ray data of SNRs containing up to three components (see Sections 4 and 7). Although the noise is Poissonian in our simulated data set, we obtain accurate spectral shapes and cleaner images than with any of the typical X-ray analysis techniques. However, we find that a strong spatial correlation between the components leads to a leakage from the main components to the weaker ones, which may be partially linked to the nature of the noise, and we implement a refinement step in the algorithm to minimize this effect (see Section 5). Although a version of the GMCA handling Poisson statistics is currently being developed, our results show that the existing version can be used to disentangle extended sources in X-rays. Applying our method to real data from the Cassiopeia A SNR yields sharp images of the synchrotron at low and high energy, and images of the distributions of a number of elements including Si and Fe K (see Section 8). In both cases, one of the images presents the blueshifted part of the structure, and the other one the redshifted part.
2 Motivations and current methods
The telescopes XMM-Newton and Chandra have provided a major step forward in effective area and angular resolution, and have led to nearly 20 years of observations resulting in deep (Mega-seconds) archival public datasets. As an example, the deep Chandra 2 Ms observation of SNR Cassiopeia A resulted in about a billion X-ray photons. Despite this breakthrough improvement in data quality, the analysis techniques used to extract the wealth of information contained in such datasets have stalled.
The main analysis challenge lies in the fact that at each position, the different spectral components (e.g., synchrotron and thermal emission from the shocked medium and ejecta) are projected along the line of sight, and that the observed signal is a combination of these components.
In the study of SNRs, a typical scientific case is to study the spatial distribution of a spectral feature (e.g., heavy element maps to probe the morphology and asymmetries of the ejecta). The common methods are to generate maps integrated around the centroid energy of a line and to subtract the underlying continuum estimated from adjacent energy bands (the continuum interpolation method). However, if the faint emission lines are dominated by the continuum or if the adjacent energies also have emission lines, those methods perform poorly. An alternative method to study the spatial variations of the spectral properties is to divide the image into subregions and carry out a spectral analysis in each subregion. One frequently used method is to define regions of equal photon statistics with for example the Voronoï tiling method (see Diehl & Statler, 2006, for an adaptation to X-rays). Each cell is then fitted with a physical model independently from its neighbors and maps representing the best-fit parameters are produced. This method is time consuming and does not take into account the underlying relationship between the spatial and spectral components. In addition, the best-fit parameter map may suffer from statistical fluctuations from cell to cell as for practical reasons only one grid is defined using a reference image in a large energy range that might not represent the flux of individual spectral components.
To summarize, one of the root issues of the methods described above is that each region (pixels or cell) is treated independently. The disentangling process only relies on the spectral signature of the components in each region considered, whereas in reality the physical components also have different spatial signatures. Exploiting both the spectral and spatial signatures of the components and treating pixels not individually but as a whole yields more discriminative power to disentangle the different physical components. We note that other methods such as the principal component analysis (PCA) have already been applied to SNRs in the past to retrieve entangled components (see Warren et al., 2005). However, the PCA works in such a way that it has to retrieve decorrelated components, which usually makes them not physically significant. We can also cite Jones et al. (2015), who used Bayesian statistical methods to infer the number of sources and probabilistically separate photons among the sources. Yet, these methods work with event lists , and do not retrieve images or spectra associated with the sources, as our method does.
3 A blind source separation method: the GMCA
3.1 Description of the method
Blind source separation methods aim to disentangle mixed sources in a data set without prior information. A classic way to do so is to look at the original data in a mathematical space where the sources will be sufficiently different from one another. The concept of sparsity helps to determine what kind of space could be suitable; a sparse signal is a signal in which most of the coefficients are zero. Thus, two sparse signals will be easier to disentangle as their signatures will not be correlated. For example, to separate periodic signals in a unidimensional data set, it is much easier to work in Fourier space, where such sources will be entirely determined by a few coefficients.
In this paper, we introduce a new method to disentangle physical components based on their spatial and spectral signature. This method is based on the GMCA algorithm, a blind source separation algorithm developed to disentangle the CMB from the galactic foregrounds in the data of the Planck satellite (Bobin et al., 2015). The input is a data cube , where is the spectral dimension and and are spatial dimensions.
The main concept of GMCA is to take into account the morphological particularities of each component to disentangle them. Apart from the data cube, the only input needed is the number of components to retrieve, which is user-defined. To optimize the disentangling process, the signal is projected in a space where it will have a sparse representation. Thus, two components that are sufficiently spatially different will have few coefficients in common, allowing us to separate them more easily. In the case of images, the equivalent of the Fourier space would be a correctly chosen wavelet transform, that would concentrate most of the image information into a few coefficients (for more about wavelets, and for an illustration of the interest of the wavelet space to disentangle components in a data cube , see Appendix A).
3.2 Mathematical formalism
Here we use the undecimated111An undecimated transform produces images of the same size for each scale. Starlet transform (see Starck et al., 2007, and Appendix A) which is well suited for astronomical purposes. Each wavelet scale contains information about structures of a specific size, which allows us to isolate the morphological features of each component more easily. In order to minimize cross-correlations between components, the two largest wavelet scales are not used, because in these scales morphological features are harder to differentiate.
For a data cube of dimension , we apply a wavelet transform with scales on the images of each energy slice of the cube resulting in an array of dimension , the two largest wavelets scales being rejected. We note that the wavelet transform is applied only on images, and that there is no constraint on the sparsity of the spectra. The aim of the GMCA is to solve the following problem:
[TABLE]
where is the predefined number of components, the are vectors of size , in our case related to the spectral information (the spectra of our mixed components), the are the sources represented in wavelets, of dimension and related to the spatial information (the images in wavelets of our mixed components), and is a Gaussian noise. The product here for a given is the multiplication of every coefficient of by every coefficient of . The components to retrieve are assumed to be modeled as the product of an image ( in the wavelet space) and a spectrum (). Thus, the retrieved components are approximations of the actual components with the same spectrum on each point of the image. This problem being an ill-posed inverse problem, as both and are unknown, one needs a constraint to solve it. The GMCA relies on the assumption that once the image has been translated into wavelet space, each constituent can be sparsely represented, thus making the component separation easier.
The GMCA solves the inverse problem by imposing a sparsity constraint: it maximizes the sparsity of the images of each source in the wavelet domain. The problem being actually solved by the GMCA is thus the following optimization problem:
[TABLE]
where are regularization coefficients equivalent to thresholds that aim at rejecting noise samples, and are essential to provide robustness with respect to noise. They are chosen thanks to an estimation of the noise level in the sources based on the median absolute deviation (MAD) method, and progressively decrease towards the final noise-related level. is the Frobenius norm defined by Trace and is a norm, with or . The norm is defined by and counts the number of nonzero entries in . The and norms are customarily used to measure the sparsity of signals. The first term of this equation is a sparsity constraint term and the second is a data-fidelity term.
More precisely, the GMCA is an iterative algorithm repeating the following two steps:
- •
Step 1: Estimation of for fixed , by simultaneously minimizing and the term enforcing sparsity in the Wavelet domain;
- •
Step 2: Estimation of for fixed by minimizing .
3.3 Application of the method
When the GMCA was applied to Planck data, the CMB spectrum was fixed to its theoretical shape. Giving a known spectrum as additional information fixes a column in , making the algorithm work in what is termed a semi-blind mode. However, if the theoretical spectrum is not previously known, the algorithm can also work in a completely blind mode. With our toy model example (described in the following section), we test both of these modes.
The only input needed is the number of components to retrieve. Any prior knowledge of the data can help to choose wisely, that is, as the expected number of components visible in the energy band on which the GMCA is applied. In addition, this algorithm runs quickly (a few minutes to extract sources from a 200200300 single-core personal computer), so we highly recommend trying different values of and checking if the outputs have a physical relevance: as we see in Section 4.2, the GMCA does not produce images of spurious structures.
We see in Appendix B that the Akaike information criterion (AIC) can be used as a figure of merit to confirm the relevance of a chosen . However, this criterion must be used with caution since it is rigorously valid when computed at the maximum likelihood. This does not perfectly hold true in this case since: i) the underlying cost function that GMCA minimizes contains an additional sparsity regularization, and ii) the resulting problem is not convex and only a local minimizer is guaranteed to be reached.
The outputs of the GMCA are an array of dimension containing the spectral information of the components, and an array of dimension containing the spatial information of the components. In order to obtain normalized cubes of dimension we multiply each spectrum by its associated image. By collapsing these cubes along the axis, images of the retrieved sources can be obtained, and by collapsing them along the and axes we can obtain their spectra. The spectra can subsequently be used in Xspec or a similar analysis tool in order to fit physical models and retrieve physical parameters (see Section 4.3).
4 Method performance
4.1 Toy model definition
To test the performance of the GMCA in disentangling components in X-ray data, we designed toy models inspired by real X-ray observations of SNRs. We chose to simulate a SNR similar to Cassiopeia A, one of the best-studied SNRs and one which has benefited from deep megasecond observations.
Our toy models consist of a data cube composed of the sum of individual components to which we add Poisson noise. Each component comprises an image multiplied by a spectrum (see Figure 1). The images were obtained by applying the GMCA to real Chandra data from Cassiopeia A (see Section 8), and smoothing the output to mitigate the noise. For now, the relevance of these images is not important: we only want to ascertain if, when the components are known, the GMCA is able to disentangle them when mixed together. The spectra we use are the theoretical spectra folded through the Chandra instrument response; the energy binning is eV (three times the native energy channel width), and the pixel size is arcsec (four times the native pixel size). We also add a completely flat image associated with the instrumental background222Derived from closed/stowed observations available at: http://cxc.harvard.edu/ciao/download/caldb.html to better simulate observed data. We do not add a cosmic X-ray background, because this background being isotropic at the scale of CasA, its spatial template would be a flat image, and therefore the addition of a cosmic X-ray background and the instrumental background would only end up being one component, with a slightly different spectrum. Finally, we generate Poisson noise. In this study we begin by focusing on two typical observational scenarios (see Table 1): synchrotron continuum emission entangled with line emission (Model 1), and synchrotron continuum emission entangled with thermal emission (Model 2). In both models, we set the synchrotron emission as one with the highest total number of counts.
The results of our method depend on the relative level of the Poisson noise, and therefore on the total number of counts in the signal. This parameter is chosen in order to reflect the reality of the data we get from spectro-imaging instruments. Hence we set the count rate of the synchrotron and line or thermal emission to be of the order of that observed in Cassiopeia A. We then simulated two datasets, corresponding to a Ms or a ks observation with the Chandra ACIS-S instrument.
The ratio between the strength of the main component and that of the secondary components is also an essential factor. For Model 1, we define this as the Fe line-to-synchrotron ratio at keV (the peak of the Gaussian); for Model 2, it is defined as the thermal emission-to-synchrotron ratio at keV. We progressively decrease the contrast of the second component relative to that of the synchrotron emission following ratios.
For both toy models we tested the same ratios. Table 2 presents a conversion table between these ratios and the Fe line-to-synchrotron flux ratios between and keV, or the thermal emission-to-synchrotron ratio in the keV band.
4.2 Reconstructed image fidelity
To assess the accuracy of the results of the GMCA, we compared both the similarities between the input and the output images, and the reliability of the spectral parameters fitted. For the image benchmarks, we used the structural similarity index (SSIM; see Wang et al., 2004), which measures the perceived similarities between two images by incorporating perceptual phenomena and the idea that close pixels have strong interdependencies, instead of solely measuring absolute differences. This index takes the form of a number between zero and one, one being a perfect resemblance and zero indicating perfect dissimilarity. In our case, below an SSIM of we can consider that the source has not been retrieved, the remaining correlations being linked to the similarities between the synchrotron image, the Fe image, and the Poisson noise associated to them.
For each line-to-synchrotron ratio we then performed a Monte-Carlo simulation of 100 different Poisson realizations to test the robustness of the algorithm. We compared the results of the GMCA in pure blind mode with that of the GMCA in semi-blind mode, with the theoretical shape of the Fe line fixed. We also compared these results to that of an interpolation method between and keV (the left panels of Figs. 2 and 15 show the results for the simulated Ms and 100 ks observations, respectively). This method consists of estimating the underlying synchrotron spectrum between and keV by interpolating it. The synchrotron image is then determined by integration (e.g., between and keV, where the Fe is absent) and the synchrotron cube is obtained by multiplying this image and the interpolated spectrum. Subsequently, we subtract the aforementioned cube, and the synchrotron-subtracted remaining cube constitutes an estimation of the Fe structure.
For both simulated exposures, we see that Fe line-to-synchrotron ratio images given by the GMCA have slightly better SSIM coefficients to those obtained with an interpolation method. However, a sudden drop in the GMCA results points out the moment when the algorithm in blind mode is no longer able to find the Fe structures. The descent is smoother with a fixed spectrum (semi-blind mode) because the algorithm is given more information to search for potential sources, but as the number of counts in the iron line decreases the noise increases. In blind mode, the GMCA retrieves an image of the Fe spatial structure when it is up to times weaker than the synchrotron in the case of a total number of counts corresponding to a Ms observation ( times weaker in flux), and up to times higher than the synchrotron for ks ( times weaker in flux).
The GMCA in blind mode does not benefit from the information that the Fe line is contained between and keV, but still gives very good results. Furthermore, the interpolation method cannot be used on components whose spectra are extended on an energy range that is too wide, as we see with our second toy model. Also, we see in Sect. 8 that with real data, what looks like a Gaussian can contain some hidden information that a GMCA in blind mode will be able to retrieve, but an interpolation can only find the Gaussian as a whole.
The fact that the GMCA gives good images until it is suddenly unable to find anything but noise suggests that the algorithm can be trusted; in this particular test the Fe distribution is found or is not, but the algorithm never gives images of spurious, over-interpreted structures (see 14 for an example of images becoming noisier as the component becomes fainter). In our test case, when we increase the number of sources, the first two remain the synchrotron and Fe structure, the rest are only noise. As our data are Poissonian, the noise component has a shape similar to that of the main component, here the synchrotron, with large fluctuations.
We proceeded in the same way with our second toy model, featuring a synchrotron continuum emission and a thermal emission (see the right panel of Figs. 2 and C.2 for the simulated Ms observation and the ks one, respectively). Here, the comparison with an interpolation method is impossible because the thermal spectrum cannot be subtracted from the synchrotron with a simple interpolation. The GMCA in semi-blind mode does not make sense either, because with real data it would be impossible to know the shape of a thermal emission a priori. With a total number of counts corresponding to a Ms observation, the GMCA in blind mode applied from to keV is able to retrieve an image of the thermal emission spatial structure when this component is up to times weaker than the synchrotron ( times weaker in flux). With a total number of counts corresponding to a ks observation, it could retrieve an image up to times weaker than the synchrotron ( times weaker in flux). The thermal emission in our second toy model can be retrieved with smaller ratios than the Fe line because it is non-negligible on a wider energy range, providing more counts to the algorithm.
We note that the instrumental background was not retrieved in any of the cases, and that it did not leak on any other component. This is due to the fact that the two largest wavelet scales being eliminated, the instrumental background associated with a flat image, were automatically suppressed with it.
4.3 Spectral fidelity
For every Fe line-to-synchrotron ratio for which the Fe K distribution is found by the GMCA in blind mode, the retrieved spectrum is comparable to the input spectrum with some noise appearing as the Fe component becomes fainter (see left panel of Fig. 3). Apart from a slight overestimation of the wings, the retrieved spectra are accurate and their normalizations well estimated.
In order to obtain a more precise estimate of the spectral accuracy of the method, we fitted the recovered spectra in Xspec and compared the parameters thus obtained with a fit of the original data without GMCA processing directly in Xspec. Fitting the retrieved spectra requires estimating the errors for every spectral bin. In spite of the fact that our input data are Poissonian, we cannot assume that the results given by the GMCA will still be such. Therefore, we used the standard deviation of 100 Monte-Carlo realizations as an estimation of the error.
We tested the accuracy of the spectra retrieved by the GMCA in Model 1 by comparing their centroids, widths, and normalizations to the theoretical ones (see central and right panels of Fig. 3). The norms are almost perfectly retrieved (left and central panels of Fig. 3,), and even the slight energy shift for the smaller ones (around eV) is negligible as compared to the instrument resolution, which is eV (at keV) for the ACIS-S camera 333 http://cxc.harvard.edu/cal/Acis/ . The wings are a little overestimated in the first norms (Figure 3, left panel), while the width is underestimated in the last ones (left and right panels of Fig. 3). It may be due to the fact that in the fainter part of the Gaussian, the signal is largely dominated by the synchrotron, which makes the disentanglement harder than at the peak of the Gaussian.
We made the same comparison with the Gaussians recovered without using GMCA by fitting a power law and a Gaussian on the original spectra in Xspec (see Fig. 16). The retrieved norms and centroids are a little more accurate (Fig. 16, left panel), but are relatively similar to the results given after GMCA. However, the retrieved are not underestimated, and are still centered on the theoretical value for low ratios (Fig. 16, right panel). Thus, the GMCA introduces a bias in calculating some physical parameters in Xspec, but this bias is minimal compared to the eV spectral resolution.
Finally, we tested the accuracy of the spectra retrieved by GMCA in our second toy model, featuring a synchrotron and a thermal emission (see left panel of Fig. 4). The spectra are mainly well retrieved, even for low thermal emission-to-synchrotron ratios, but they are always overestimated at high energies. This reflects the fact that the synchrotron is contaminating the thermal emission: because of the spatial overlap between the two structures, there is a leakage from the main one into the weaker one when the number of counts is too low. This leakage strongly impacts the temperature retrieved after a fitting in Xspec, the necessary information being the slope at high energies. As shown in the right panel of Fig. 4, the overestimation of the spectra, greater as the ratio decreases, is directly affecting the retrieved . However, is a global parameter, relying on the information contained over the full energy range, thus highly susceptible to being impacted by an overestimation at high energies. Local parameters, like or , are almost perfectly estimated for thermal-to-synchrotron ratios as low as . For example, the theoretical is equal to cm*-2*, and for a ratio of we retrieve cm{}^{-2}\leavevmode\nobreak\ and for a ratio of , we obtain cm*-2* where errors are the standard deviation on 100 Monte-Carlo realizations. In the same way, the theoretical is cm*-3* s; for a ratio of we retrieve cm*-3* s, and for a ratio of , we obtain cm*-3* s.
5 Implementing a new inpainting step in the GMCA
In this section we discuss the introduction of an extra step in the GMCA algorithm based on an inpainting method. Inpainting is a process consisting in reconstructing parts of an image that are lost or willingly removed. In photography, it can be used to clean the image, removing defaults or inappropriate details. This tool was shown to be useful to improve our blind source separation method.
We previously saw that in the results given by the GMCA on toy models composed of two physical sources there could be some leakage from the main component to the other one (e.g., leakage of the synchrotron component to the thermal component in Fig. 4). These leakages are often balanced by negative parts in the image or spectrum of the main component. In order to correct that leakage, we added an extra step to the GMCA.
The GMCA being an iterative algorithm, our revised version retains a loop of about iterations of the usual algorithm, followed by a smaller loop with a new step in which each result of the previous state is treated in a way to forbid negative values. To do so, a first method would be to define a mask where the reconstructed images take negative values, and apply those masks to the wavelet transforms of those images, , imposing a zero value on the negative parts before they are processed to estimate . The results can be improved by replacing the raw masking by an inpainting, here a reconstruction of the masked parts of the image using a wavelet transform (see Fadili et al., 2007). We do this in order to constrain the algorithm to converge to a more physical solution.
Our new loop can be described thus:
- •
Step 1 : Estimation of thanks to and the previous .
- •
Step 2 : Defining masks set to zero where the reconstructed images are negative, indicating an area where strongly correlated components are overlapping, and one elsewhere.
- •
Step 3 : Inpainting of (in wavelets) using the previously defined masks.
- •
Step 4 : Estimation of for fixed by minimizing .
As can be seen in Fig. 6, our inpainting step accurately corrects the leakage from the synchrotron to the thermal emission component in our second toy model: the retrieved spectra are closer to the truth. The resulting impact on the fitting in Xspec is also significant, as the temperatures are now more accurately retrieved for sufficiently high thermal emission-to-synchrotron ratios (see Fig. 6). The convergence of our new loop is not mathematically proven, but we empirically noted that the solution stabilized quickly. In the science cases that we explored, three iterations were sufficient to recover more accurate spectral results.
6 Estimating errors with only one realization
The Monte-Carlo method cannot be used to retrieve error bars with real data, as only one observation is available: the observed one. Therefore, a resampling method such as the Bootstrap (see Efron, 1979), able to simulate several realizations out of a single one, is necessary.
6.1 Block bootstrap
The bootstrap is a statistical method consisting of a random sampling with replacement from a current set of data. If the initial data is a collection of events, a resampling obtained through bootstrapping would be a set of events taken randomly with replacement amid the initial ones. This method can be repeated in order to simulate as many realizations as needed to estimate standard errors or confidence intervals. In order to save calculation time, we choose to resample blocks of data of a fixed size instead of single events: this method is named block bootstrap.
In our case, the data is the set of all photons detected by an X-ray telescope during its observation time, each photon being considered as a triplet . Because of the massive amount of events, we use a block bootstrap resampling method. The ordering variable is time, independent of , and therefore defining blocks preserves the random character. There is no proper way to choose a block length a priori; a few tests seem to indicate that a length of the order of the cube root of the total data set size is efficient with our type of data.
The errors on the spectra are calculated as the standard deviation of the values on each energy bin over all new samples. The error on the i-th bin is thus:
[TABLE]
where is the number of resamples, the value of the spectrum in the i-th bin of the j-th sample, and the mean of the values of the spectra in the i-th bin over the resamples.
6.2 Estimated errors
Our aim in using a block bootstrap resampling method is to estimate errors on the spectral data points that will allow us to fit spectra issued from real data in Xspec. In the first place, we compared the error bars given by 100 Monte-Carlo realizations of the Fe Gaussian alone to those retrieved by these methods out of a single one. The data we used were the Fe Gaussian of our first toy model between and keV for a ks observation and a ratio of .
To do so, for every energy bin we looked at the correlation between the standard deviation of the spectral values as given by a Monte-Carlo and by the block bootstrap method; by applying the resampling method to different realizations we were able to evaluate the errors on the bootstrap error bars (i.e., the uncertainty induced by using one given observation). In Fig. 5, we see that the error bars obtained through resampling are consistent with the Monte-Carlo error bars.
To find out if applying the GMCA algorithm introduces a bias, we also compared the error bars given by the standard deviation of 100 GMCA applied on different Monte-Carlo realizations and the error bars given by 100 GMCA applied on 100 resamples.
The error bars obtained through GMCA applied on 100 block bootstrap resamplings are slightly overestimated in comparison with those obtained with Monte-Carlo, but this does not have a crucial impact on the best-fit parameters obtained in Xspec (see Figure 7).
7 GMCA applied on toy models with more than two components
We designed two more toy models featuring three sources instead of two (see Table 1, and Table 2 for flux ratios). In our third toy model, we put a synchrotron and two Gaussians centered respectively on keV and keV. The one at keV has a norm equal to times that of the other one. Here, the Gaussians are the instrumental responses to a Dirac, hence they have a smaller width than in the first toy model. This is what we would get if the first wide Gaussian truly was the sum of two slightly shifted thinner ones. As we need a more precise definition in energy, the binning is thinner than in our previous toy models ( eV), but the total number of counts is of the same order.
In our fourth toy model, we input a synchrotron and two thermal emissions, one with equal to keV, the other with equal to keV. The norm of the first thermal emission is equal to times that of the second one. For the images, we used the blue- and redshifted Fe components shown in Fig. 9. As for our first two toy models, we added to our third and fourth toy models a flat image associated with the spectrum of an instrumental noise, and we generated Poisson noise on the whole data cube. The total number of counts of the synchrotron corresponds to a ks observation, and the second main component (brightest Gaussian or thermal emission)-to-synchrotron ratios we tested are the same as before.
The GMCA is able to properly disentangle the three sources for the highest second-main-component-to-continuum ratios, but when the sources weaken, it only retrieves the synchrotron and a second source that is a composite of the two Gaussians, or of the two thermal emissions. Using the inpainting step helps to disentangle the three sources a little longer and improves the spectra in the thermal emission case, but the weakest thermal emission is underestimated: the leakage mechanism is more difficult to correct with three sources to disentangle than with only two of them. In Fig. 7, we can see an example of correct disentanglement of the components in both toy models. The presented line-to-continuum and thermal-to-continuum ratios are the last ones to give correct images and correct spectra for every component.
We fitted the retrieved thermal emission spectra of our fourth toy model in Xspec in order to estimate . We first used as error bars the standard deviation of 100 MC realizations; we then took the standard deviation of 100 block bootstrap resamplings of a single MC realization. The temperature of the first thermal emission is slightly overestimated with MC error bars, but the overestimation is of the same order as with our second toy model. However, this temperature is consistently retrieved with the block bootstrap error bars. The temperature of the second thermal emission is slightly underestimated in both cases.
8 GMCA applied to real data
Following the consistency and the robustness tests described above, we applied the GMCA to the deep Chandra observations of Cassiopeia A, which was observed with the ACIS-S instrument in 2004 for a total of 980 ks (ObsID : 4634, 4635, 4636, 4637, 4638, 4639, 5196, 5319, 5320). The spectrum from the whole SNR, together with the main emission features, is shown in Fig. 8. The event lists from all observations were merged in a single data cube. For each application described in the sections below, the spatial and spectral binning were adapted so as to obtain a sufficient number of counts in each cube element. No background subtraction or vignetting correction has been applied to the data. We note that due to the lack of exposure and background map handling with the current version of GMCA, the method cannot yet be applied to a large mosaic of observations.
8.1 Asymmetries of the Fe K distribution in Cassiopeia A
We first applied the GMCA to the Cassiopeia A observation between and keV, where the prominent features are known to be the synchrotron emission and the Fe K line complex. To allow for unexpected sources to be retrieved by the algorithm, it is recommended to decompose the data into a larger number of components than expected as a first guess. By doing this, we obtained three physically meaningful components in Cassiopeia A: continuum emission and two Gaussian lines that appear to be slightly shifted with respect to one another, and with respect to the Fe K average energy. The first component is undoubtedly the synchrotron emission, for which the image is coherent with our knowledge of its spatial distribution; the corresponding spectrum can be described as a power law (Fig. 9, top panel). The two other components have spectra corresponding to blue- and redshifted Fe line emission (Fig. 9, middle panels), and the associated images show clumps typical of the spatial distribution of Fe in Cassiopeia A (see Fig.7 of DeLaney et al., 2010). If we instead require the algorithm to find only two components, it retrieves the synchrotron emission and a composite of the two Fe components. If require the algorithm to find more than three components, the additional retrieved sources are simply noise. The bottom panel of Fig. 9 shows an image of what we identify as noise in such a case.
The block bootstrap resampling step outlined in Sect. 6.1 allowed us to extract the spectra corresponding to the different components above. Fitting the Fe K line emission in Xspec with a Gaussian model, the redshifted part was found to peak at keV, and the blueshifted part peaks at keV. These energies suggest a relative velocity between the red- and blueshifted components of km s*-1*, a value that is coherent with the results shown in Fig. 7 of DeLaney et al. (2010).
Our method allows direct imaging of the red- and blueshifted Fe K components with unprecedented spatial resolution. In addition, instead of estimating a mean shift in each line of sight (such as would be obtained when fitting with one Gaussian), our method can disentangle the red- and blueshifted components along a line of sight as shown in Fig. 9, where both emissions co-exist in the southeast.
8.2 Spatial structures of the main line emissions in Cassiopeia A
Figure 10 shows an application of the method to the main line emission bands in Cassiopia A, centred on Si, S, Ar, Ca, and Fe. In each case, the GMCA was able to retrieve two images corresponding to a slightly redshifted and a blueshifted component.
We compared the spatial structures of these components to what could be retrieved by an interpolation method (see Section 4.2) around these same line emissions. As we can see in Figure 10, both methods give consistent results, although the GMCA retrieves more structures for faint lines (Ar and Ca). More importantly, the GMCA can probe structures within a broad line and reveal line shifts, information that cannot be yielded by the interpolation method. The blueshifted and redshifted images in Si, S, Ar, and Ca are very similar (but differ from Fe). This attests to the robustness of GMCA, because the energy ranges are completely independent.
8.3 Spatial distribution of continuum components in Cassiopeia A
We applied our method on Cassiopeia A data between and keV. The number of counts being higher in this energy band, we used data with a finer spectral binning ( eV instead of eV) and smaller pixels ( arcsec instead of arcsec).
Figure 11 shows that the four components were retrieved. The first corresponds to the synchrotron emission, and is coherent with the image we retrieved between and keV. It is the first time an image of the synchrotron has been extracted in these energy bands, where it is dominated by the ejecta emission. Such a map of the low-energy synchrotron emission is very valuable for the study of the energy dependence of the synchrotron rim width. A second component has a spatial distribution highly similar to that of the Fe K between and keV, and the line emission complex at 1 keV in the corresponding spectrum seems to indicate that this component may be dominated by the Fe L complex.
The final two components have spectra corresponding to slightly red- or blueshifted Si emission. Their spatial distributions are similar: we can thus deduce that both components correspond to Si emission, one being slightly redshifted, and the other slightly blueshifted. The morphology of the two parts is globally consistent with previous works but is endowed with more details (see e.g., Figure 7 of Willingale et al. (2002), or DeLaney et al. (2010) for a comparison with optical images). We note that each thermal component is not completely dominated by a unique line structure. For example, we see that the Si components (Figure 11, right panels) also contain oxygen and magnesium emission in their spectra. Oxygen and magnesium are grouped together with Si by the algorithm because they have similar plasma conditions (temperature, abundances, ionization stage) and spatial distributions. More surprisingly, the component exhibiting Fe L emission (Figure 11 bottom left panel) also has strong Mg XII and Si XIV line emission. This indicates that the Fe L is co-spatial with Mg and Si in a higher ionization state than in the Si-dominated components. While the reason for this difference is still unclear, this example shows the power of GMCA to disentangle physical components in complex environments.
9 Discussion and Conclusions
The separation of entangled components in the X-ray data of extended sources is a challenging task. Isolation of the morphology and associated spectrum of the individual components could provide new insight into the physical and thermodynamical conditions of the plasma in these objects. In the case of supernova remnants, those measurements could lead to a better understanding of the explosion mechanisms, gas heating, and particle acceleration.
Here we present a method based on the GMCA, a blind source-separation algorithm developed to extract the CMB from Planck data. The method uses all of the information contained in data cubes , and extracts the unique spatial and spectral signatures of the entangled components without any prior information (neither physical models nor instrument response functions). It has been applied here to X-ray data for the first time, and we have shown that it provides better results than the usual methods in use in this field.
The GMCA needs to be applied to data with a large total number of counts. When such data are available, it can successfully disentangle highly spatially correlated sources, as was shown with our toy models (Sections 4 and 7). A first application to real Chandra data of Cassiopeia A in different energy bands, detailed in Section 8, gave promising results, highlighting the asymmetries in the Si, S, Ar, Ca, and Fe K spatial distributions by retrieving two maps associated to spectra that are slightly red- or blueshifted with respect to the rest-frame line.
The main conclusions of our study are the following:
- •
Morphological fidelity: In every example we tested, it appeared that the GMCA yields accurate images of the sources it retrieves, very close to the original ones we injected in the toy model. Furthermore, while the cases we tested were very challenging, the sources being spatially highly entangled, our method succeeded in retrieving detailed disentangled images of each component. Lastly, the algorithm never retrieved any artifact that did not belong to the toy model: when the second-component-to-main-component ratio was too weak, the second component was not retrieved, but everything that was retrieved could be trusted was a bona-fide component, and not a false detection.
- •
Spectral fidelity: While the initial GMCA retrieves correct images, there is a leakage which affects parameters that depend on a wide energy range when the spectra are fitted in Xspec. An inpainting step that we added after the internal loops of the GMCA corrected most of the overestimation of the spectrum caused by the leakage, and improved the retrieved temperatures.
- •
Block bootstrap: Spectral analyzing tools such as Xspec need error bars in order to fit physical models. The block bootstrap resampling method tested here is a promising way to estimate error bars from a single set of data.
- •
Performance: The ability of the GMCA to disentangle components depends on the total number of counts in the data, on the number of counts of each component, and on the nature of the data itself: performance is very case-specific. In this paper, we focused on the study of highly spatially entangled sources, which are frequent in the study of SNRs, and represent an extremely challenging analysis task. For that reason, the weakest ratio at which every component can be successfully retrieved depends on the morphological and spectral diversity. We also note that the algorithm is more successful in finding faint features when applied to narrow, targeted energy bands rather than when applied to the full energy range. To conclude, GMCA is a fast-running algorithm, taking only a few minutes to extract sources from a data cube on a single-core personal computer.
The version of GMCA we used in this study was originally developed to handle the Gaussian noise in Planck data. The method will be enhanced in future work by inclusion of a treatment for Poisson statistics that should help to retrieve fainter components and diminishing leakages. In addition, exposure and background cubes will be implemented for application of the method to large mosaic observations. The use of physically motivated spectral models to guide the component-separation process could also be envisaged.
New spectro-imaging instruments with increased effective area and high spectral resolution, such as Athena, will provide data whose tremendous potential cannot be fully exploited with existing data analysis methods. The GMCA provides a new way to leverage all possible dimensions in the data, thus allowing a maximum of physical information to be obtained.
Acknowledgements.
This research made use of Astropy,444http://www.astropy.org a community-developed core Python package for Astronomy (Astropy Collaboration et al., 2013, 2018). GWP acknowledges funding from the European Research Council under the European Union’s Seventh Framework Programme (FP7/2007-2013)/ERC grant agreement No. 340519. JB acknowledges funding from the European Community through the grant LENA (ERC StG - contract no. 678282).
Appendix A Wavelets and starlets
A wavelet is a square-integrable function of zero mean. Briefly, a wavelet transform consists in contracting a mother wavelet and convolving it with an image, each scale providing a new image. Each wavelet scale contains information about structures of a specific size. For that reason, a wavelet transform proves useful to disentangle components using their morphological specificities. The starlet transform is a special case of bi-dimensional wavelets, which have been specifically designed to efficiently represent isotropic structures in images. Therefore, this particular case of wavelets has proven to be well-adapted to analyzing astrophysical images.
The starlet transform first builds a sequence of approximations of an image at increasingly large scales . Each approximation is obtained from the previous one through a convolution with a mother wavelet filter at scale :
[TABLE]
where the filter is defined as:
[TABLE]
According to the ”à trous” algorithm, consecutive filters, , are obtained by adding zeroes between the nonzero filter elements so as to dilate the filter by a factor of two from scale to scale Starck et al. (2015).
The wavelet coefficient at scale is then defined as the difference between consecutive large-scale approximations:
[TABLE]
This eventually yields a decompostion of the image into a coefficient set .
The reconstruction of the initial image is then obtained by a simple coaddition of all wavelet scales and the final smooth sub-band:
[TABLE]
In Figure 12, we build a very simple toy model to show the relevance of starlet transforms to separate components in a cube . The data cube is the sum of two components: an array of small spatial Gaussians multiplied by a flat spectrum and a large spatial Gaussian multiplied by a spectral line. A Gaussian noise with a standard deviation of /pixel is added to the cube. The figure points out the differences between the coefficients of the two components in the third starlet scale.
Appendix B Evaluating the number of components to retrieve.
From a statistical viewpoint, evaluating the number of components to be retrieved boils down to a model-selection problem. Testing for an increased number of components is equivalent to testing a model with additional degrees of freedom and selecting the one with the lowest Akaike information criterion (AIC).
For a given model, the AIC is defined as twice the difference between the log-likelihood and a complexity term :
[TABLE]
where is the number of degrees of freedom, and , the log-likelihood for components, is defined as
[TABLE]
with and being the solutions obtained by GMCA for components. For example, in the test presented in Figure 13 we applied the GMCA to Cassiopeia A real data between and keV with a number of components increasing from to and looked at the AIC of the different models. The images shown seem to indicate that after three components, no other meaningful components are retrieved, which is confirmed by the AIC.
It is important to note that if the couple were the maximum likelihood estimate, taking the AIC minimum would be a reliable criterion to determine . However, in the case of the GMCA algorithm, is not exactly a maximum likelihood since the GMCA algorithm makes use of a sparse regularization, which eventually yields solutions that do not maximise the likelihood. Furthermore, component separation problems are nonconvex and algorithms such as GMCA are only guaranteed to converge to a local minimum, which does not necessarily correspond to a global minimizer.
Even if the test was satisfying in the example presented above, we cannot insure that it will be with any other data set for the reason we mentioned. In practice, the main components are stable and well retrieved for different values of n, but there can be fluctuations in the remaining noisy images that would impact the statistical tests even if no actual physics could be gleaned from their interpretation. Also, adding a physically meaningful component presenting a coherent structure, but too faint to have a clear statistical impact, may not minimize the AIC. Hence, the AIC can be a useful figure of merit to confirm the relevance of a certain chosen , but should not replace a human interpretation nor be directly implemented inside of the algorithm as an automatized selector for the number of components.
Appendix C Spatial and spectral accuracy
In this section we present some additional figures resulting from our tests of the GMCA on our first two toy models. Figure 14 shows examples of images of the Fe spatial distribution in our first toy model by GMCA and an interpolation method for three different Fe line-to-synchrotron ratios, and the corresponding SSIM coefficients. Figure 15 shows the evolution of the accuracy of the retrieved images for ratios in our first and second toy models with a total count corresponding to a ks observation. Figure 16 shows the parameters of the Fe K Gaussian in our first toy model as retrieved by Xspec without using GMCA. This latter offers a good comparison with Figure 3, where the parameters were retrieved by fitting the spectra given by GMCA.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1Astropy Collaboration et al. (2018) Astropy Collaboration, Price-Whelan, A. M., Sipőcz, B. M., et al. 2018, AJ, 156, 123
- 2Astropy Collaboration et al. (2013) Astropy Collaboration, Robitaille, T. P., Tollerud, E. J., et al. 2013, aap, 558, A 33
- 3Bobin et al. (2015) Bobin, J., Rapin, J., Larue, A., & Starck, J.-L. 2015, IEEE Transactions on Signal Processing, 63, 1199
- 4Bobin et al. (2016) Bobin, J., Sureau, F., & Starck, J.-L. 2016, A&A, 591, A 50
- 5De Laney et al. (2010) De Laney, T., Rudnick, L., Stage, M. D., et al. 2010, Ap J, 725, 2038
- 6Diehl & Statler (2006) Diehl, S. & Statler, T. S. 2006, MNRAS, 368, 497
- 7Efron (1979) Efron, B. 1979, Volume 7, Number 1, 1-26
- 8Fadili et al. (2007) Fadili, J., Starck, J.-L., & Murtagh, F. 2007, The Computer Journal, Oxford University Press (UK), pp.64
