Table of Contents
Fetching ...

CMBAnalysis: A Modern Framework for High-Precision Cosmic Microwave Background Analysis

Srikrishna S Kashyap

TL;DR

CMBAnalysis is presented, a state-of-the-art Python framework designed for high-precision analysis of Cosmic Microwave Background (CMB) radiation data, which implements parallel Markov Chain Monte Carlo techniques for robust cosmological parameter estimation.

Abstract

I present CMBAnalysis, a state-of-the-art Python framework designed for high-precision analysis of Cosmic Microwave Background (CMB) radiation data. This comprehensive package implements parallel Markov Chain Monte Carlo (MCMC) techniques for robust cosmological parameter estimation, featuring adaptive integration methods and sophisticated error propagation. The framework incorporates recent advances in computational cosmology, including support for extended cosmological models, detailed systematic error analysis, and optimized numerical algorithms. I demonstrate its capabilities through analysis of Planck Legacy Archive data, achieving parameter constraints competitive with established pipelines while offering significant performance improvements through parallel processing and algorithmic optimizations. Notable features include automated convergence diagnostics, comprehensive uncertainty quantification, and publication-quality visualization tools. The framework's modular architecture facilitates extension to new cosmological models and analysis techniques, while maintaining numerical stability through carefully implemented regularization schemes. My implementation achieves excellent computational efficiency, with parallel MCMC sampling reducing analysis time by up to 75\% compared to serial implementations. The code is open-source, extensively documented, and includes a comprehensive test suite, making it valuable for both research applications and educational purposes in modern cosmology.

CMBAnalysis: A Modern Framework for High-Precision Cosmic Microwave Background Analysis

TL;DR

CMBAnalysis is presented, a state-of-the-art Python framework designed for high-precision analysis of Cosmic Microwave Background (CMB) radiation data, which implements parallel Markov Chain Monte Carlo techniques for robust cosmological parameter estimation.

Abstract

I present CMBAnalysis, a state-of-the-art Python framework designed for high-precision analysis of Cosmic Microwave Background (CMB) radiation data. This comprehensive package implements parallel Markov Chain Monte Carlo (MCMC) techniques for robust cosmological parameter estimation, featuring adaptive integration methods and sophisticated error propagation. The framework incorporates recent advances in computational cosmology, including support for extended cosmological models, detailed systematic error analysis, and optimized numerical algorithms. I demonstrate its capabilities through analysis of Planck Legacy Archive data, achieving parameter constraints competitive with established pipelines while offering significant performance improvements through parallel processing and algorithmic optimizations. Notable features include automated convergence diagnostics, comprehensive uncertainty quantification, and publication-quality visualization tools. The framework's modular architecture facilitates extension to new cosmological models and analysis techniques, while maintaining numerical stability through carefully implemented regularization schemes. My implementation achieves excellent computational efficiency, with parallel MCMC sampling reducing analysis time by up to 75\% compared to serial implementations. The code is open-source, extensively documented, and includes a comprehensive test suite, making it valuable for both research applications and educational purposes in modern cosmology.

Paper Structure

This paper contains 58 sections, 29 equations, 4 figures, 9 tables.

Figures (4)

  • Figure 1: Best-fit CMB angular power spectra (red lines) compared to observational data (grey points with error bars). From top to bottom: temperature (TT), temperature-E-mode cross-correlation (TE), and E-mode polarization (EE) power spectra. The $C_\ell$ spectra are plotted as a function of multipole moment $\ell$ and shown in units of $\mu\text{K}^2$. The TT spectrum shows the characteristic acoustic peaks at high $\ell$, while the TE spectrum exhibits the expected alternating correlation/anti-correlation pattern. The EE spectrum demonstrates the predicted polarization signal with decreasing amplitude at larger angular scales (lower $\ell$). The excellent agreement between theory and data across all spectra and scales validates the consistency of our cosmological model.
  • Figure 2: CMB power spectra measurements (grey points with error bars) compared to the best-fit theoretical predictions (colored lines). Top panel shows the temperature power spectrum (TT), middle panel shows the temperature-E-mode cross-correlation spectrum (TE), and bottom panel shows the E-mode polarization power spectrum (EE). The theoretical predictions (blue for TT, green for TE, and orange for EE) show excellent agreement with the observed data across all angular scales (multipole moments $\ell$). The TT spectrum demonstrates the well-known acoustic peaks, while the TE correlation shows characteristic oscillatory behavior, and the EE spectrum reveals the expected polarization signal. Error bars increase at higher multipoles due to instrumental noise and at lower multipoles due to cosmic variance. All spectra are plotted in terms of $D_\ell = \ell(\ell+1)C_\ell/(2\pi)$ in units of $\mu\text{K}^2$.
  • Figure 3: Normalized residuals ($\Delta D_\ell/\sigma$) between the observed and best-fit theoretical CMB power spectra as a function of multipole moment $\ell$ for temperature (TT, top), temperature-polarization cross-correlation (TE, middle), and polarization (EE, bottom) spectra. The residuals show no significant systematic deviations from zero, with $\chi^2/\text{dof}$ values close to unity (1.03 for TT, 1.04 for both TE and EE) indicating a good fit to the data. The scatter of the residuals increases at higher multipoles due to decreasing signal-to-noise ratio, but remains within expected statistical variations across all angular scales.
  • Figure 4: Corner plot showing the marginalized posterior distributions and 2D confidence contours for the six primary cosmological parameters: the Hubble constant $H_0$ (km s$^{-1}$ Mpc$^{-1}$), baryon density $\omega_b$, cold dark matter density $\omega_{\text{cdm}}$, optical depth $\tau$, scalar spectral index $n_s$, and amplitude of primordial fluctuations $\ln(10^{10}A_s)$. The diagonal panels show the 1D marginalized distributions with dashed lines indicating the mean and 68% confidence intervals. The off-diagonal panels show the 2D joint posterior distributions with 1$\sigma$, 2$\sigma$, and 3$\sigma$ contours. The posterior distributions demonstrate well-constrained parameters with no significant degeneracies between them.