# Map-making LFI

## Contents

## Mapmaking[edit]

The inputs to the mapmaking procedure consist of the calibrated timelines, along with the corresponding pointing information.
The main output consists of temperature and polarization maps.
An important part of the mapmaking step is the removal of correlated 1/*f* noise.

LFI maps were constructed with the MADAM mapmaking code, version 3.7.4. The code is based on a generalized destriping technique, where the correlated noise component is modelled as a sequence of constant offset "baselines". The baseline solution is constrained by a noise filter. As auxiliary information, the code produces a hit-count map and a white noise covariance matrix. No beam information is used, with the signal being simply assigned to the pixel where the centre of the beam falls.

The chosen baseline length was 1s for the 44GHz and 70GHz maps, 0.25s for the 30GHz map. This gives good noise removal, without being computationally burdensome. The noise filter was built according to the noise parameters listed in Table 1.

Flagged samples were excluded from the analysis. The Galaxy region was masked out in the destriping phase, to reduce errors arising from strong signal gradients. Radiometers were combined according to the horn-uniform weighting scheme to minimize systematics. The polarization component was included in the analysis, although only the temperature maps were released in 2013.
A detailed description of the mapmaking procedure is given in Planck-2013-II^{[1]}Planck-2015-A02^{[2]}Planck-2015-A06^{[3]}. See also the section on Frequency Maps.

The maps are in HEALPix format, at resolution *N*_{side}=1024 for all frequencies with an additional map at *N*_{side}=2048 for the LFI 70GHz channel, in the nested pixelization scheme.
Unobserved pixels are marked by a special value.

The released maps are in Galactic coordinates. The conversion between ecliptic and Galactic coordinates is described by the rotation matrix

The conversion was applied to the input pointing data, prior to the construction of the map.

**Table 1: Knee frequencies and slopes for the LFI radiometers.**

## Low-resolution maps and noise covariance matrices[edit]

To fully exploit the information contained in the large-scale structure of the microwave sky, pixel-pixel covariances are needed in the maximum likelihood estimation of the CMB power spectrum. However, full covariance matrices are impossible to employ at the native map resolution due to resource limitations. A low-resolution data set is therefore required for the low-ℓ analysis. This data set has been packed into three different files, one per frequency, called "LFI_NoiseCovMat_0??_0016_R2.00.tgz", that can be downloaded from the Cosmology section of the Planck Legacy Archive. They consist of low-resolution maps, and descriptions of residual noise present in those maps given by pixel-pixel noise covariance matrices (NCVMs).

Filenames | Comment |
---|---|

LFI_SkyMap_0??_0016_nobs_DX11D_full_regnoise.fits | Low-resolution maps. Full mission coverage. |

LFI_SkyMap_0??_0016_nobs_DX11D_s1-s3-s5-s6-s7-s8_regnoise.fits | Low-resolution maps. Full mission coverage, excluding Surveys 2 and 4. |

offset_covmat_toast_nside64T16_nobs_025sec_??GHz_DX11D_full_bin.dat | Low-resolution noise covariance matrices. Regularization noise added. Format: C unformatted. |

offset_covmat_toast_nside64T16_nobs_025sec_??GHz_DX11D_s1-s3-s5-s6-s7-s8_bin.dat | Low-resolution noise covariance matrices. Regularization noise added. Format: C unformatted. |

covmat_toast_nside64T16_nobs_025sec_??GHz_DX11D_full_bin.dat | Low-resolution noise covariance matrices. No regularization noise added. Format: C unformatted. |

covmat_toast_nside64T16_nobs_025sec_??GHz_DX11D_s1-s3-s5-s6-s7-s8_bin.dat | Low-resolution noise covariance matrices. No regularization noise added. Format: C unformatted. |

DX11D_0??_016_full_conv060_VarianceBPcorrection_v2.fits | Variance of the BandPass correction. |

DX11D_0??_016_full_conv060_BPcorrection_v2.fits | BandPass Correction map to be SUBTRACTED to the corresponding Low Resolution. |

QUmask_DX11_16_0??GHz_R1.50.fits |

The low-resolution data set can currently be utilized efficiently only at resolution *N*_{side} = 16, or lower. All the low-resolution data products are produced at this target resolution.

### Low-resolution maps[edit]

A number of different schemes to obtain the low-resolution maps are discussed in ^{[4]}. We chose to downgrade the maps using the inverse noise weighting. This is discussed further in Planck-2013-II^{[1]}Planck-2015-A06^{[3]}.

#### Inputs[edit]

We took the high-resolution maps described in Map-making and Frequency Maps, and the corresponding 3×3 matrices as an input for this analysis step.

#### Production[edit]

The high-resolution maps were downgraded to *N*_{side} = 16 using inverse noise weights (given by the 3×3 matrices), and subsequently the temperature part was smoothed with a symmetric Gaussian beam with FWHM = 440arcmin.

### Noise covariance matrices[edit]

The statistical description of the residual noise in the maps is given in the form of a pixel-to-pixel noise covariance matrix (NCVM), as described in ^{[4]}.

#### Inputs[edit]

The noise model was determined by three noise parameters: the white noise level σ; slope; and knee frequency *f*_{knee}. We actually used three sets of noise parameters, one for the entire mission (noise parameters are listed in Table 1), and one for each sky survey (SS1 and SS2).

We used the same pointing as in the noise Monte Carlo simulations. See the description in Noise Monte Carlo Simulation Inputs.

We used the gap files produced during the making of the flight maps to leave out samples that were flagged as bad for various reasons.

#### Production[edit]

The output of the NCVM module of MADAM mapmaker are inverse NCVMs. Since the inverse matrices are additive, we divided the computations into a number of small chunks to save computational resources. We first calculated one inverse NCVM per radiometer per survey at resolution *N*_{side}=32, and then combined these individual inverse matrices to form the actual inverse matrices. The mapmaking parameters were almost identical to the standard mapmaking runs. The differing parameter values are listed below:

- baseline lengths were 0.25s (eight samples), 0.50s (24 samples), and 0.50s (39 samples) for 30GHz, 44GHz, and 70GHz, respectively;
- the calculations were performed at resolution
*N*_{side}= 32; - no destriping mask was applied;
- the horns were weighted optimally.

To obtain the noise covariance from its inverse, the matrices are inverted using the eigen decomposition of a matrix. The monopole of the temperature map cannot be resolved by the mapmaker, and thus the matrix becomes singular. This ill-determined mode is left out of the analysis.

Having calculated the eigen decomposition in the previous step, we can apply the same linear operators to modify the eigenvectors as were applied to the high-resolution maps while downgrading them. The eigenvectors are downgraded to *N*_{side} = 16 using inverse noise weights, and subsequently the temperature part is smoothed with a symmetric Gaussian beam with FWHM = 440arcmin.

The final matrices are then recomposed from the original eigenvalues and modified eigenvectors.

The low-resolution noise covariance matrices:

- are C binary format files;
- are organized in block form,

- are in the HEALPix nested pixelisation scheme (with resolution is
*N*_{side}= 16, and thus there are*N*_{pix}= 3072 pixels); - are in Galactic coordinates;
- have K
_{CMB}units.

## Half-ring jackknife noise maps[edit]

### Overview[edit]

In order to estimate the noise directly at the map level and in the angular power spectra, we divided the time-ordered data into two halves and produced half-ring jackknife maps, as described in Planck-2015-A03^{[2]}.

Briefly, instead of using the full time-ordered data as described above, we produced two sets of maps using either only the first half of each pointing period (map named **j**_{1} below) or only the second half of each pointing period (map named **j**_{2}). At each pixel *p*, these half-ring jackknife maps **j**_{1} and **j**_{2} contain the same sky signal, since they result from the same scanning pattern on the sky. However, because of instrumental noise, the maps **j**_{1} and **j**_{2} are not identical.

We estimated the noise level in each map **m** made using the full (ring) data, by constructing a half-ring difference map

with weights

.

Here **hit**_{full}(*p*) = **hit**_{1}(*p*) + **hit**_{2}(*p*)
is the hit count at pixel *p* in the full map **m**, while **hit**_{1} and **hit**_{2} are the hit counts of **j**_{1} and **j**_{2}, respectively. The weight factor **w**_{hit}(*p*) is equal to 2 only in those pixels where **hit**_{1}(*p*) = **hit**_{2}(*p*) . In a typical pixel, **hit**_{1}(*p*) will differ slightly from
**hit**_{2}(*p*) and hence the weight factor is **w**_{hit}(*p*)>2.

The half-ring difference maps **n**_{m} are the most direct measure of the noise in the actual maps. The other noise estimates (NCVM and noise Monte Carlo) rely on specific modelling of the noise and this modelling can be validated by comparing to the half-ring difference maps. However, the half-ring difference maps can only capture the noise that varies faster than half of the duration of the pointing period, i.e., the noise whose frequency is approximately *f* > 1/20min = 0.85mHz.

We calculated the noise maps **n**_{m}, from half-ring "jackknife" maps for temperature (*I*) and polarization (*Q* and *U*) and as a first quality check of the maps (and as one of the tests of the whole data processing pipeline up to the map level) tested both numerically and visually that these noise maps divided pixel-by-pixel by the square root of the white noise covariance maps were approximately Gaussian with variance near to unity. Temperature noise maps for the nominal survey and for the first and second sky surveys are shown in the next subsection. Furthermore we calculated from the noise maps the temperature and polarization (E and B mode) auto-correlation and cross-correlation noise angular power spectra using HEALPix anafast and compared to these the results from the white noise covariance matrices and from the noise Monte Carlo simulations. A similar comparison was made between downgraded half-ring noise maps, downgraded noise Monte Carlo maps, and the low-resolution noise covariance maps. Detailed results are presented in Planck-2015-A03^{[5]}.

### Examples of half-ring difference maps and noise angular power spectra[edit]

#### Hit-count weighted half-ring difference maps[edit]

Here we show some hit-count weighted half-ring difference maps, i.e., noise maps for temperature. The columns are for different LFI frequencies, namely 30GHz, 44GHz, and 70GHz. The rows are for the nominal survey (a bit more than 1 year of observations), Survey 1 (the first sky survey, approximately the first half year of observations) and Survey 2 (the second sky survey, approximately the second half year of observations). Some features are visible, particularly in the Galactic plane; these are due to "gradient leakage." In regions where the gradient in the sky signal is very large, even a tiny difference in the pointing of the first and second half of each pointing period causes the signal to "leak" into the half-ring difference map. In practice this is not a problem for noise estimation, since these regions (i.e., the Galaxy, Orion, Crab Nebula, etc.) will be masked in the cosmology analysis.

#### Normalized hit-count weighted half-ring difference maps[edit]

Now we show the same as above, but divided by the square root of the estimate of the white noise variance in each pixel. These normalized noise maps should be approximately Gaussian with unit variance (at the native resolution), apart from some stripes that are due to correlated (non-Gaussian) 1/*f* noise. The large-scale 1/*f* noise is more apparent in the smoothed version of the figure, which follows after the native resolution version.

#### Noise angular power spectra from half-ring difference maps[edit]

The noise angular power spectra are shown below. These were calculated using HEALPix routine anafast from half-ring difference temperature maps and normalized by the sky coverage to estimate the noise level if there was a full sky coverage. This enables us more easily to compare different surveys.

### Comparison of noise estimates[edit]

Here we compare noise angular power spectra estimated from half-ring difference maps (red) to the estimate from white noise covariance maps (blue), and the full noise Monte Carlo simulations (BLACK, top curve 16th percentile, middle curve 50th percentile, i.e., median, and bottom curve 84th percentile). See the next section for the details of noise Monte Carlos.

#### High-ell average noise relative to white noise estimate[edit]

The figure below is the same as the previous figures, but here the noise comparison is made from the high ℓ tails of the angular power spectra, where the white noise dominates. We have taken the average of *C*_{ℓ} from multipoles between 1150 and 1800, and subtracted the white noise estimate. The half-ring difference noise estimate is shown in red, the full noise Monte Carlo estimate in black, and the white noise estimate from noise Monte Carlos in green. The white noise estimate from the white noise covariance map (WNC), in blue, has been subtracted from all the results.

## Noise Monte Carlo simulations[edit]

### Overview[edit]

Calculating and handling full pixel-to-pixel noise covariance matrices for Planck maps if feasible only at low resolution. To support the analysis of high-resolution maps, a Monte Carlo set of noise maps were produced. These maps were produced from noise timelines using the same map-making procedure as for the flight data. In the noise Monte Carlo it was possible to follow exactly the mapmaking procedure used for the flight maps, whereas for the calculation of noise covariance matrices some approximations had to be made. Such noise Monte Carlos were produced at two levels of the analysis: (1) LFI Monte Carlo (MC) as part of the LFI data processing procedure; and (2) Full Focal Plane (FFP) Monte Carlos as part of the joint HFI/LFI data processing. This page describes the LFI noise MCs. For the FFP MC, see HL-sims and Simulation data.

### Inputs[edit]

The noise MC uses a three-parameter noise model, consisting of white noise level (σ), slope, and knee frequency (*f*_{knee})). Here the noise consists of white noise and correlated 1/*f* noise, with a power spectrum

- ,

where *f*_{sample} is the sampling frequency of the instrument. The noise parameters were determined separately for each radiometer, as described in the section Noise above, assuming they stayed constant over the mission.

The detector pointing was reconstructed from satellite pointing information, focal-plane geometry, pointing correction (tilt angle), and sample timing, using Level-S simulation software. The same pointing solution (two focal planes) was used as for the LFI flight maps. Due to numerical accuracy, the detector pointing in the noise MC was not exactly the same as for the flight maps, so some data samples (of the order of one in a thousand) whose pointing was near the pixel boundary ended up assigned to the neighbouring pixel. During mapmaking from the flight data, a "gap file" was produced to represent the samples that were omitted from mapmaking due to various flags. This gap file was used in the noise MC instead of the full set of flags. The flight mapmaking procedure used destriping masks to prevent regions of strong signal gradients from contributing to the noise baseline solution. These same destriping masks (one for each frequency channel) were used for the noise MC.

### Production[edit]

The noise was generated internally in the Madam mapmaking code using a stochastic differential equation (SDE) method, to avoid time-consuming writing and reading of noise timelines to and from disk. Noise for each pointing period was generated separately, using a double-precision random number seed constructed from the realization number, radiometer number, and the pointing period number; this allowed for regeneration of the same noise realization when needed. White noise and 1/*f* noise were generated separately.

The same mapmaking code (Madam) with the same parameter settings was used for the noise MC as for the flight maps.
In addition to the destriped maps from the full noise (output maps), binned maps from just the white noise (binned white noise maps) were produced; they represent the white noise part of the output maps. The difference between these two maps represents the residual correlated noise in the output map. The maps were made at HEALPix resolution *N*_{side} = 1024 for all LFI frequency channels and also at HEALPix resolution *N*_{side} = 2048 for the 70 GHz channel.
For low-resolution analysis, these maps were downgraded (and the temperature part was smoothed) to *N*_{side} = 32 and *N*_{side} = 16.

In addition to frequency maps for the nominal survey, also single-survey and 70 GHz horn-pair maps were produced in the noise MC. For each case 102-1026 realizations were produced.

### Usage[edit]

These noise Monte Carlo maps were used for a number of purposes in LFI data analysis. They were compared to the low-resolution noise covariance matrices, generated for the same noise model, in order to reveal the impact of the approximations in the noise covariance matrix calculation. They were compared to the half-ring noise maps to see how well the noise model matches the noise in the flight maps (noting, however, that the half-ring noise maps misrepresent the lowest noise frequencies in the flight maps, and contain some effects from the sky signal). They were also used in power spectrum estimation and non-Gaussianity estimation.

### Examples[edit]

As an example, we show below images of the first realization of the 70GHz frequency map noise for the nominal survey. The images are in the order: destriped full noise; binned white noise; and residual correlated noise. Note that it is difficult to see any difference between the first two images, since the residual correlated noise is more than an order of magnitude below the white noise level. The units here are K_{CMB}.

The following two images show the statistics of the angular power spectra of 101 realizations of the 70 GHz frequency map noise for the nominal survey. The thick black line shows the median *C*_{ℓ}, while the green line the mean *C*_{ℓ}. Thin black lines show the minimum, 16th percentile, 84th percentile, and the maximum *C*_{ℓ}. The red line is the 102nd realization. The first plot is for the full noise in the output map, while the second plot is for the residual correlated noise.

## References[edit]

- ↑
^{1.0}^{1.1}**Planck 2013 results. II. Low Frequency Instrument data processing**, Planck Collaboration, 2014, A&A, 571, A2 - ↑
^{2.0}^{2.1}**Planck 2015 results. II. LFI processing**, Planck Collaboration, 2016, A&A, 594, A2. - ↑
^{3.0}^{3.1}**Planck 2015 results. VI. LFI mapmaking**, Planck Collaboration, 2016, A&A, 594, A6. - ↑
^{4.0}^{4.1}**Residual noise covariance for Planck low-resolution data analysis**, R. Keskitalo, M. A. J. Ashdown, P. Cabella, T. Kisner, T. Poutanen, R. Stompor, ArXiv e-prints, (2013). - ↑
**Planck 2015 results. III. LFI systematics**, Planck Collaboration, 2016, A&A, 594, A3.

(Planck) Low Frequency Instrument

(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).

Cosmic Microwave background

Full-Width-at-Half-Maximum

(Planck) High Frequency Instrument