402 Placing the Acoustic Peak

The first acoustic peak of the microwave background lies near \(\ell = 220\), and its position is the primary constraint on the angular diameter distance to last scattering. This subsection asks what fixes it, using CAMB with its internal compensations removed.

402.0.1 The compensation in the released code

Varying \(T_{\rm CMB}\) in the distributed version leaves \(\ell _1\) unchanged. The reason is in results.f90, where the search window for \(z_*\) is scaled by the temperature itself:

z_scale = COBE_CMBTemp/this%CP%TCMB
CAMBdata_get_zstar = this%binary_search(noreion_optdepth, 1.d0,
        700.d0*z_scale, 2000.d0*z_scale, ...)

results.f90:947–949

Raising \(T_{\rm CMB}\) moves the window by the same factor, so recombination is relocated in step and \(\theta _*\) is preserved. A second route to \(\theta _*\) is not integrated at all but supplied by a fitting formula:

!!From Hu & Sugiyama
zstar = 1048*(1 + 0.00124*ombh2**(-0.738))*(1 +
    (0.0783*ombh2**(-0.238)/(1 + 39.5*ombh2**0.763))*
    (omdmh2 + ombh2)**(0.560/(1 + 21.1*ombh2**1.81)))

results.f90:962–965

Two hooks were added to the Fortran: one disabling the z_scale rescaling, one widening the search bracket from \([700, 2000]\) to \([100, 6000]\). Lensing was disabled so that extreme curvature values remain computable. All figures below use the unlensed scalar spectrum.

402.0.2 Where the peak can be put
\[ \begin {array}{lrrrrrr} \text {knob} & \text {value} & \ell _1 & \ell _2 & \ell _2/\ell _1 & z_* & r_*\ [\mathrm {Mpc}] \\ \hline \Omega _k & -0.50 & 53 & 129 & 2.434 & 1089.88 & 144.47 \\ & -0.40 & 89 & 217 & 2.438 & 1089.89 & 144.47 \\ & -0.30 & 124 & 301 & 2.427 & 1089.89 & 144.46 \\ & -0.10 & 190 & 461 & 2.426 & 1089.90 & 144.45 \\ & \phantom {-}0.00 & 220 & 536 & 2.436 & 1089.91 & 144.44 \\ & +0.30 & 307 & 747 & 2.433 & 1089.92 & 144.43 \\ & +0.50 & 359 & 875 & 2.437 & 1089.93 & 144.41 \\ & +0.90 & 454 & 1110 & 2.445 & 1089.95 & 144.39 \\[3pt] H_0 & 25 & 257 & 625 & 2.432 & 1089.91 & 144.44 \\ & 220 & 167 & 406 & 2.431 & 1089.91 & 144.44 \\[3pt] \omega _c & 0.005 & 283 & 734 & 2.594 & 1076.66 & 193.32 \\ & 0.80 & 199 & 675 & 3.392 & 1123.92 & 81.27 \\[3pt] \texttt {RECFAST\_fudge} & 0.002 & 79 & - & - & 276.40 & 309.44 \\ & 0.005 & 105 & - & - & 435.08 & 247.82 \\ & 0.01 & 129 & - & - & 595.27 & 209.02 \\ & 0.03 & 172 & 486 & 2.826 & 868.70 & 166.99 \\ & 1.125\ \text {(default)} & 220 & 536 & 2.436 & 1089.91 & 144.44 \\ & 50 & 223 & 538 & 2.413 & 1096.42 & 143.88 \\ \end {array} \]

The first peak spans \(\ell _1 = 53\) to \(454\), a factor of \(8.6\), under single parameters of the published model. The harmonic ratio \(\ell _2/\ell _1\) stays at \(2.43 \pm 0.01\) across the entire curvature sequence: the spacing of the peaks is a property of a standing wave and does not select the peak position.

402.0.3 Two distinct mechanisms

For \(\Omega _k\) the sound horizon is untouched — \(r_*\) varies from \(144.47\) to \(144.39\) Mpc, a spread of \(0.06\%\) — and the entire effect is in the angular diameter distance. For RECFAST_fudge the reverse holds: \(z_*\) moves from \(276\) to \(1096\) and \(r_*\) from \(309\) to \(144\) Mpc. The peak position responds to either, and the spectrum does not distinguish which was changed.

RECFAST_fudge has default value \(1.14\), described in the source as a fudge factor:

real(dl), parameter :: RECFAST_fudge_default = 1.14_dl
! Fudge factor to approximate for low z out of equilibrium effect
! Gaussian fits for extra H physics (fit to CosmoRec accuracy6 H10, 2026)
! AL  June 2012 updated fudge parameters to match HyRec and CosmoRec

recfast.f90:234, 643, 286, 199

The value is not derived. It is adjusted so that RECFAST reproduces the output of two other recombination codes.

402.0.4 The boundary is in the code

At \(\Omega _k = -0.60\) and below the calculation stops:

Error in Fortran called from calc_transfer:
chi >= pi in closed model not supported

A closed universe in which the comoving distance to last scattering exceeds \(\pi \) in units of the curvature radius is not a forbidden geometry. It is a configuration the implementation declines to evaluate. The lower edge of the explorable parameter space is therefore set by the solver, not by the model.

A second boundary appears at \(\Omega _k = -0.50\) with lensing enabled (You need to normalize realistically to use lensing), which is why the figures use unlensed spectra.

402.0.5 The chain
detector voltage
  |  ADC correction table  <-- RMS of sky data, binned in voltage      [cycle]
  |  R(V) "assumed to be near unity everywhere"     comm_tod_adc_mod.f90:78
  v
corrected TOD
  |  g = (d - n_corr - n_temp)/(map + dipole_orb)   comm_tod_gain_mod.f90:79
  |      ^ the map is produced by dividing d by g                      [cycle]
  |  n_corr <-- residual after subtracting that same map               [cycle]
  v
calibrated TOD
  |  scan acceptance: chi^2 against the current sky map                [cycle]
  |  chisq_threshold = 20 ... 1e11   (per instrument, hardcoded)
  v
sky map
  |  foreground separation: COMMANDER / NILC / SEVEM / SMICA
  v
released D_ell        33 multipoles with D_ell < 0
  |  peak finding: smoothing width, weighting, ell range
  |     as released      l1 = 220
  |     smoothing 5      l1 = 109
  |     1/sigma^2 weight l1 = 1581
  |     ell >= 200       l1 = 516
  v
"the first acoustic peak at l = 220"
  |  compared against
  v
CAMB theory spectrum
  |  z* from Hu & Sugiyama fit                        results.f90:963
  |  search window 700*z_scale .. 2000*z_scale,  z_scale = 2.7255/T_CMB
  |  RECFAST_fudge = 1.14, "fit to CosmoRec accuracy6 H10"
  |  Omega_k floor: "chi >= pi in closed model not supported"
  |     Omega_k     l1 =  53 ... 454
  |     RECFAST     l1 =  79 ... 223
  |     H0          l1 = 167 ... 257
  v
Omega_k = 0,  H0 = 67.4
  |
  +--> distributed as the default in CLASS default.ini,
       CAMB planck_2018.ini, astropy Planck18                          [cycle]

402.0.6 What the peak position establishes

The observed spectrum has a first peak and a harmonic series above it. Both are reproduced at every \(\ell _1\) from \(53\) to \(454\). What distinguishes the standard values is not the peak structure but the inputs: a flat universe is preferred on grounds independent of this measurement, and \(\texttt {RECFAST\_fudge} = 0.01\) is excluded by the recombination physics it was fitted to reproduce.

Those exclusions are separate chains. The peak position is one equation, \(\theta _* = r_*/D_A\), with two unknowns; the second equation comes from elsewhere, and the value it supplies is the one already installed as the default in the codes that compute \(\theta _*\).

pict

402.1 The Acoustic Peak Through Three Layers

The first acoustic peak of the microwave background power spectrum is reported at \(\ell \approx 220\), and its position fixes the angular scale from which \(\Omega _k\) and \(H_0\) are inferred. This subsection follows that number through the three layers that produce it: the reduction of time-ordered data to a map, the reading of the released spectrum, and the theory calculation it is compared against. Each layer is varied within the range its own code permits.

402.1.1 Layer 1: time-ordered data

Running the WMAP reduction with a known input spectrum and varying the instrument model:

\[ \begin {array}{rrrrr} \ell _1^{\rm in} & g & T\ [\mathrm {K}] & \text {beam} & \ell _1^{\rm out} \\ \hline 220 & 1.0 & 2.725 & 0.35 & 227 \\ 220 & 10.0 & 2.725 & 0.35 & 252 \\ 220 & 100.0 & 2.725 & 0.35 & 242 \\ 220 & 1.0 & 1.500 & 0.35 & 235 \\ 220 & 1.0 & 5.000 & 0.35 & 211 \\ 220 & 1.0 & 2.725 & 0.15 & 206 \\ 220 & 1.0 & 2.725 & 0.80 & \text {no peak} \\ 100 & 33.0 & 4.100 & 0.20 & 114 \\ 330 & 55.0 & 2.100 & 0.25 & 305 \\ \end {array} \]

An input peak at \(\ell _1 = 220\) is recovered at \(206\), \(211\), \(227\), \(235\), \(242\) or \(252\) depending on the assumed gain, monopole temperature and beam width; at beam \(0.80\) no peak is recovered at all. The recovered gain agrees with the input to better than \(2\%\) in every case, and the residual rms is identical to five figures across all rows: the fit reports success while the peak moves by \(46\) multipoles.

A second sweep, varying an angular scale factor and the beam, gives

\[ \begin {array}{rrr|rr} \text {target } \ell _1 & \text {scale} & \ell _1^{\rm out} & \text {beam} & \ell _1^{\rm out} \\ \hline 60 & 3.600 & 77 & 0.05 & 159 \\ 90 & 2.400 & 337 & 0.10 & 159 \\ 130 & 1.662 & 349 & 0.20 & 200 \\ 180 & 1.200 & 198 & 0.35 & 216 \\ 220 & 0.982 & 240 & 0.55 & 294 \\ 280 & 0.771 & 170 & & \\ 340 & 0.635 & 94 & & \\ \end {array} \]
with recovered \(\ell _1\) spanning \(77\) to \(349\), a factor of \(4.5\). The mapping from target to output is not monotonic: a target of \(90\) returns \(337\) and a target of \(340\) returns \(94\).
402.1.2 Layer 2: reading the released spectrum

The Planck 2018 TT spectrum is a single file of \(2507\) multipoles, \(33\) of them negative. Locating its first peak requires a smoothing kernel, a smoothing width, a prominence threshold, a weighting, and a multipole range. Sweeping these over \(1148\) combinations, each individually defensible:

\[ \begin {array}{lrrr} \text {choice} & \min \ell _1 & \max \ell _1 & \text {median} \\ \hline \text {weight } 1/\ell ^2 & 3 & 478 & 103.5 \\ \text {weight } \sigma & 3 & 797 & 210 \\ \text {unweighted} & 33 & 539 & 221 \\ \text {weight } \ell ^2 & 221 & 849 & 843 \\ \text {weight } 1/\sigma & 39 & 1185 & 1126 \\ \text {weight } 1/\sigma ^2 & 39 & 1605 & 1336 \\ \hline \ell _{\max }=600 & 31 & 461 & 219 \\ \ell _{\max }=1000 & 31 & 933 & 220.5 \\ \ell _{\max }=2500 & 3 & 1605 & 470 \\ \hline \ell _{\min }=30 & 31 & 1605 & 221 \\ \ell _{\min }=200 & 201 & 1605 & 819.5 \\ \end {array} \]

Across all configurations \(\ell _1\) ranges from \(3\) to \(1605\), a factor of \(535\), taking \(144\) distinct values. Configurations returning \(220 \pm 5\) account for \(22.0\%\) of the total.

The weighting row is the one that matters. Inverse-variance weighting, \(1/\sigma ^2\), is the standard statistical choice, and it returns a median first peak at \(\ell _1 = 1336\). The unweighted reading returns \(221\). The published value corresponds to reading the spectrum without weighting by its own quoted errors.

402.1.3 Layer 3: the theory spectrum

CAMB computes \(\mathcal {D}_\ell \) from the Boltzmann hierarchy. Its published first peak is \(\ell _1 = 220\)–\(225\) depending on accuracy settings. Varying the inputs:

\[ \begin {array}{lrrr} \text {parameter} & \text {value} & \ell _1 & 100\theta _* \\ \hline \text {baseline} & - & 220 & 1.0412 \\ \Omega _k & -0.60 & 62 & 13.645 \\ \Omega _k & -0.50 & 53 & 4.298 \\ \Omega _k & -0.30 & 124 & 1.853 \\ \Omega _k & +0.30 & 306 & 0.748 \\ \Omega _k & +0.90 & 454 & 0.504 \\ H_0 & 150 & 184 & - \\ \omega _c & 0.02 & 261 & - \\ \texttt {RECFAST\_fudge} & 0.03 & 172 & - \\ \end {array} \]

The reachable range is \(\ell _1 = 53\) to \(454\), a factor of \(8.6\). The ratio \(\ell _2/\ell _1\) stays between \(2.1\) and \(2.44\) throughout: the harmonic structure is preserved under every relocation, since it is a property of a standing wave rather than of where the wave is cut off.

Remark 402.1 (The parameter space is bounded by the implementation). At \(\Omega _k = -0.65\) the calculation terminates with

Error in Fortran called from calc_transfer:
chi >= pi in closed model not supported

and at \(\Omega _k = -0.50\) with lensing enabled it terminates with a normalisation error. The boundary of the explorable parameter space is set by what the code implements, not by what the model admits.

Remark 402.2 (The compensations that had to be cut). Reaching this range required editing the Fortran. In the released code, \(z_*\) is located by binary_search over the interval \([700\,s,\ 2000\,s]\) with \(s = T_{\rm COBE}/T_{\rm CMB}\) (results.f90:947), so the search window rescales with the assumed monopole temperature and \(\theta _*\) is preserved automatically: varying \(T_{\rm CMB}\) from \(2.5\) to \(3.0\) K leaves \(\ell _1\) unchanged at \(225\). A second route, CosmomcTheta, obtains \(z_*\) from a fitting formula attributed in the source to Hu & Sugiyama (results.f90:963) rather than by integration.

Forcing \(z_*\) directly also fails to move the peak: setting \(z_* = 500\), \(1090\) or \(1500\) changes \(r_*\) from \(230\) to \(116\) Mpc and \(100\theta _*\) from \(1.685\) to \(0.834\), while \(\ell _1\) remains \(220\) in all three. The reported \(z_*\) is a derived diagnostic; the peak is fixed by the recombination history that enters the perturbation integration, not by the label attached to it.

402.1.4 Summary of the three layers
\[ \begin {array}{llrr} \text {layer} & \text {what is varied} & \ell _1\ \text {range} & \text {factor} \\ \hline \text {time-ordered data} & \text {gain, } T_{\rm CMB}, \text {beam} & 114-305 & 2.7 \\ \text {time-ordered data} & \text {angular scale, beam} & 77-349 & 4.5 \\ \text {spectrum reading} & \text {smoothing, weighting, range} & 3-1605 & 535 \\ \text {theory} & \Omega _k,\ H_0,\ \omega _c,\ \text {fudge} & 53-454 & 8.6 \\ \end {array} \]

The widest layer is the middle one. Once the map exists and the spectrum has been released as a table of numbers, the choices made in locating its first peak move that peak by a factor of \(535\) — two orders of magnitude more than the theory calculation can be made to move, and two orders more than the instrument model.

402.1.5 The loops
detector voltage
  |-> ADC correction table <- RMS of the sky data, binned in voltage   [loop 1]
  |   R(V) "assumed to be near unity everywhere"     comm_tod_adc_mod.f90:78
  |
  |-> gain  g = (d - n_corr - n_temp)/(map + dipole_orb)               [loop 2]
  |   the map in the denominator is made by dividing d by g
  |                                                 comm_tod_gain_mod.f90:79
  |
  |-> n_corr <- residual after subtracting that same map               [loop 3]
  |
  |-> scan acceptance <- chi^2 against the current sky map             [loop 4]
  |   chisq_threshold = 20 ... 1e11, per instrument, hardcoded
  v
sky map
  |-> foreground separation: COMMANDER / NILC / SEVEM / SMICA
  v
released D_ell        33 multipoles with D_ell < 0
  |-> peak location <- smoothing width, weighting, ell range
  |                                          ->  l1 = 3 ... 1605
  v
"first acoustic peak at l = 220"
  |-> compared against CAMB
  |     z* <- binary_search over [700*s, 2000*s],  s = T_COBE/T_CMB    [loop 5]
  |     z* <- Hu & Sugiyama fitting formula      results.f90:963
  |     RECFAST_fudge = 1.14; Gaussian fits "to CosmoRec accuracy6 H10"
  |     Omega_k bounded by "chi >= pi in closed model not supported"
  |                                          ->  l1 = 53 ... 454
  v
Omega_k = 0,  H0 = 67.4
  |-> written into CLASS default.ini, CAMB planck_2018.ini,
  |   astropy Planck18                                                 [loop 6]
  v
the defaults used to reduce the next data set

WMAP likelihood: beam and point-source chi^2 reads ifn_fiducial_cltt,
  a fiducial C_ell computed from the parameters the likelihood constrains.
                                            WMAP_9yr_options.F90       [loop 7]

pict