# Astrophysical component separation

## CMB and foreground separation

See the Component Separation paper Planck-2013-XII[1]Planck-2015-A11[2] for details.

### NILC

NILC is a linear method for combining the input channels. It implements an ILC with weighting coefficients varying over the sky and over the multipole range up to and it does so using 'needlets' which are spherical wavelets. A special procedure is used for processing the coarsest needlet scale which contains the large scale multipoles.

In practice, our NILC processing depends on several implementation choices, as follows:

• Input channels: In this work, the NILC algorithm is applied to all Planck channels from 44 to 857 GHz omitting only the 30 GHz channel.
• Pre-processing of point sources: Identical to the SMICA preprocessing.
• Masking and inpainting: The NILC CMB map is actually produced in a three-step process. In a first step, the NILC weights are computed from covariance matrices evaluated using a Galactic mask removing about 2 % of the sky (and is apodized at 1◦). In a second step, those NILC weights are applied to needlet coefficients computed over the complete sky (except for point source masking/subtraction), yielding a NILC CMB estimate over the full sky (except for the point source mask). In short, the weights are computed over a masked sky but are applied to a full sky (up to point sources). In a final step, the pixels masked due to point source processing are replaced by the values of a constrained Gaussian realization (inpainting).
• Spatial localization: The boundaries of the zones used for spatial localisation are obtained as iso-level curves of a low resolution map of Galactic emission.
• Beam control and transfer function: As in the SMICA processing, the input maps are internally re-beamed to a 5′ resolution, so the resulting CMB map is automatically synthesized with an effective Gaussian beam of five arcminutes, according to the unbiased nature of the ILC.
• Using SMICA recalibration: In our current implementation, the NILC solution uses the values determined by SMICA for the CMB spectrum, given in Eq. (D.6).

### SEVEM

The aim of Sevem is to produce clean CMB maps at one or several frequencies by using a procedure based on template fitting. The templates are internal, i.e., they are constructed from Planck data, avoiding the need for external data sets, which usually complicates the analyses and may introduce inconsistencies. The method has been successfully applied to Planck simulations (Leach et al., 2008) and to WMAP polarisation data (Fernandez-Cobos et al., 2012). In the cleaning process, no assumptions about the foregrounds or noise levels are needed, rendering the technique very robust.

The input maps used are all the Planck frequency channels. In particular for intensity, we have cleaned the 100, 143 GHz and 217 GHz maps using four templates. Three or them are constructed as the difference of the following Planck channels (smoothed to a common resolution to remove the CMB contribution): (30-44) GHz, (44-70) GHz, (545-353) GHz and a fourt template given by the 857 GHz channel (smoothed at the resolution of the 545 GHz channel). For polarization we clean maps at frequencies of 70, 100 and 143 GHz using three templates for each channel. In particular, we use (30-44) GHz smoothed to a common resolution, (353-217) at 10', and (217-143) GHz at 1 degree resolution to clean 70 and 100. To clean the 143 GHz channel, the last template is replaced by (217-100) GHz at 1 degree resolution. Before constructing the templates, for both intensity and polarization, we perform inpainting in the detected point sources positions to reduce its contamination in the final map.

A linear combination of the templates is then subtracted from the Planck sky map at the considered frequency, in order to produce the clean CMB map. The coefficients of the linear combination are obtained by minimising the variance of the clean map outside a given mask. Although we exclude very contaminated regions during the minimization, the subtraction is performed for all pixels and, therefore, the cleaned maps cover the full-sky (although we expect that foreground residuals are present in the excluded areas). Inpainting of point sources is also carried out in the clean maps.

The final CMB intensity map has then been constructed by combining the 143 and 217 GHz cleaned maps by weighting the maps in harmonic space taking into account the noise level, the resolution and a rough estimation of the foreground residuals of each map (obtained from realistic simulations). This final map has a resolution corresponding to a Gaussian beam of FWHM=5 arcminutes at Nside=2048. The final CMB polarization map has been obtained by combining the 100 and 143 GHz clean maps at Nside=1024 and has a resolution of 10 arc minutes.

### SMICA

A linear method, SMICA reconstructs a CMB map as a linear combination in the harmonic domain of input frequency maps with weights that depend on multipole . Given the vector of spherical harmonic coefficients for the input maps, it computes coefficients for the CMB map as

where the vector which contains the multipole-dependent weights is built to offer unit gain to the CMB with minimum variance. This is achieved with

where vector is the emission spectrum of the CMB evaluated at each channel (allowing for possible inter-channel recalibration factors) and is the spectral covariance matrix of . Taking in the second equation to be the sample spectral covariance matrix of the observations:

would implement a simple harmonic-domain ILC. This is not what SMICA does. As discussed below, we instead use a model and determine the covariance matrix to be used in the second equation by fitting to . This is done in the maximum likelihood sense for stationary Gaussian fields, yielding the best fit model parameters θ as

SMICA models the data is a superposition of CMB, noise and foregrounds. The latter are not parametrically modelled; instead, we represent the total foreground emission by templates with arbitrary frequency spectra, angular spectra and correlations:

where is the angular power spectrum of the CMB, is a matrix, is a positive matrix, and is a diagonal matrix representing the noise power spectrum. The parameter vector contains all or part of the quantities in the above equation.

The above equations summarize the founding principles of SMICA; its actual operation depends on a choice for the spectral model and on several implementation-specific details.

The actual implementation of SMICA includes the following steps:

Inputs
All nine Planck frequency channels from 30 to 857 GHz, harmonically transformed up to .
Fit
In practice, the SMICA fit,i.e.,the minimization of Eq. (4), is conducted in three successive steps: We first estimate the CMB spectral law by fitting all model parameters over a clean fraction of sky in the range and retaining the best fit value for vector . In the second step, we estimate the foreground emissivity by fixing a to its value from the previous step and fitting all the other parameters over a large fraction of sky in the range and retaining the best fit values for the matrix . In the last step, we fit all power spectrum parameters; that is, we fix and to their previously found values and fit for each and at each .
Beams
The discussion thus far assumes that all input maps have the same resolution and effective beam. Since the observed maps actually vary in resolution, we process the input maps in the following way. To the -th input map with effective beam and sampled on an HEALPix grid with , the CMB sky multipole actually contributes , where is the pixel window function for the grid at . Seeking a final CMB map at 5-arcmin resolution, the highest resolution of Planck, we work with input spherical harmonics re-beamed to 5 arcmins, ; that is, SMICA operates on vectors with entries , where is a 5 arcmin Gaussian beam function. By construction, SMICA then produces an CMB map with an effective Gaussian beam of 5 arcmin (without the pixel window function).
Pre-processing
We start by fitting point sources with SNR > 5 in the PCCS catalogue in each input map. If the fit is successful, the fitted point source is removed from the map; otherwise it is masked and the hole in-painted. This is done at all frequencies but 545 and 857 GHz, where all point sources with SNR > 7.5 are masked and in-painted.
In practice, SMICA uses a small Galactic mask leaving 97% of the sky. We deliver a full-sky CMB map in which the masked pixels (Galactic and point-source) are replaced by a constrained Gaussian realization.
Binning
In our implementation, we use binned spectra.
High
Since there is little point trying to model the spectral covariance at high multipoles, because the sample estimate is sufficient, SMICA implements a simple harmonic ILC at ; that is, it applies the filter (Eq. 2) with .

Viewed as a filter, SMICA can be summarized by the weights applied to each input map as a function of multipole. In this sense, SMICA is strictly equivalent to co-adding the input maps after convolution by specific axi-symmetric kernels directly related to the corresponding entry of . The SMICA weights used here are shown in figure below for input maps in units of K. They show, in particular, the (expected) progressive attenuation of the lowest resolution channels with increasing multipole.

Weights given by SMICA to the input maps, after they are re-beamed to 5 arcmin and expressed in K, as a function of multipole.

### Commander-Ruler

The Commander-Ruler (C-R) approach implements Bayesian component separation in pixel space, fitting a parametric model to the data by sampling the posterior distribution for the model parameters. For computational reasons, the fit is performed in a two-step procedure: First, both foreground amplitudes and spectral parameters are found at low-resolution using MCMC/Gibbs sampling algorithms (Jewell et al. 2004; Wandelt et al. 2004; Eriksen et al. 2004, 2007, 2008). Second, the amplitudes are recalculated at high resolution by solving the generalized least squares system (GLSS) per pixel with the spectral parameters fixed to the their values from the low-resolution run. For the CMB-oriented analysis presented in this paper, we only use the seven lowest Planck frequencies, i.e., from 30 to 353 GHz. We first downgrade each frequency map from its native angular resolution to a common resolution of 40 arcminutes and re-pixelize at HEALPix N = 256. Second, we set the monopoles and dipoles for each frequency band using a method that locally conserves spectral indices (Wehus et al. 2013, in preparation). We approximate the effective instrumental noise as white with an RMS per pixel given by the Planck scanning pattern and an amplitude calibrated by smoothing simulations of the instrumental noise including correlations to the same resolution. For the high-resolution analysis, the important pre-processing step is the upgrading of the effective low-resolution mixing matrices to full Planck resolution: this is done by repixelizing from N = 256 to 2048 in harmonic space, ensuring that potential pixelization effects from the low-resolution map do not introduce sharp boundaries in the high-resolution map.

## References

1. Planck 2013 results. XI. Component separation, Planck Collaboration, 2014, A&A, 571, A11
2. Planck 2015 results. XI. Diffuse component separation: CMB maps, Planck Collaboration, 2016, A&A, 594, A9.

Cosmic Microwave background

Full-Width-at-Half-Maximum

(Hierarchical Equal Area isoLatitude Pixelation of a sphere, <ref name="Template:Gorski2005">HEALPix: A Framework for High-Resolution Discretization and Fast Analysis of Data Distributed on the Sphere, K. M. Górski, E. Hivon, A. J. Banday, B. D. Wandelt, F. K. Hansen, M. Reinecke, M. Bartelmann, ApJ, 622, 759-771, (2005).