Skip to main content
Sandbox Physics
Black hole ringdown and the no-hair test

Recomputing ringdown tones, a synthetic signal and a slice of GW150914

Sandbox Physics ·

This tutorial rebuilds three things from public inputs and checks each against an independent reference: a table of Kerr mode frequencies, compared with the published CENTRA tables; a synthetic ringdown, whose true parameters are known; and a restricted fit of the public GW150914 Hanford strain, compared with Isi et al. 2019. The table and the synthetic recovery pass their checks. The GW150914 slice gives numbers close to the published ones, but it is a simplified analysis and does not reproduce that paper.

Open the black hole ringdown Lab

Every script, input and output below can be downloaded from this site. The derivations behind them are in the course chapters, starting from damped tones and the Kerr spectrum.

What each data set is

Keeping the kinds of data apart matters more than any single number here.

Table 5.1 The three inputs and what they can show.
InputKindReference it is checked against
Kerr 220220, 221221, 330330 frequenciesoffline calculation, our solverpublished Leaver-method tables
Two-mode ringdown with white noisesynthetic recordits own injected parameters
GW150914 Hanford strain, 0.5 s0.5\,\mathrm sreal detector data, restricted analysispublished two-detector result

The published tables are themselves calculations, not measurements. The GW150914 strain is real data, but our analysis of it uses one detector and a simplified likelihood, so treat its output as a teaching result.

Step 1: get the inputs and verify them

The input file tutorial-inputs.json records every download URL with its SHA-256 digest. The mode tables come from the CENTRA ringdown data page. CENTRA, Ringdown data and routines The strain comes from the Gravitational Wave Open Science Center. GWOSC, GW150914 event record, GWTC-1 v3

mkdir ringdown && cd ringdown
curl -s --remote-name-all "https://sandboxphysics.com/stories/black-hole-ringdown/materials/{leaver_kerr_qnm.py,build_frozen_qnm_table.py,compare_with_berti_table.py,ringdown_injection.py,recover_synthetic_ringdown.py,gw150914_ringdown_slice.py,tutorial-inputs.json}"
curl -sO http://blackholes.ist.utl.pt/Webpagecodes/l2.tar.gz
curl -sO http://blackholes.ist.utl.pt/Webpagecodes/l3.tar.gz
curl -sO http://blackholes.ist.utl.pt/Webpagecodes/fitcoeffsWEB.dat
curl -sO https://gwosc.org/eventapi/json/GWTC-1-confident/GW150914/v3/H-H1_GWOSC_4KHZ_R1-1126259447-32.txt.gz
shasum -a 256 l2.tar.gz l3.tar.gz fitcoeffsWEB.dat H-H1_GWOSC_4KHZ_R1-1126259447-32.txt.gz

The digests must match these values:

0569faae28e14366480cf594ea398f3d33ac9d3f82dbbddd43a68d920d807086  l2.tar.gz
e5ba542e327a27783269dd3f69d4c00f01256d0fd1e61c6c39f33dc78dc3ad27  l3.tar.gz
dbd625698079fc1ff1ffc2c97a6ca1685bf044d5c5e5b53562abfdd55d146716  fitcoeffsWEB.dat
fefe8717306109460b6c9cff74da6beb9e80ee624824b4b09bdd2c54ce9b4dfc  H-H1_GWOSC_4KHZ_R1-1126259447-32.txt.gz

We ran everything with Python 3.9.6, NumPy 2.0.2 and SciPy 1.13.1. The solver and table builder use only the standard library.

Step 2: rebuild the mode table and compare

python3 build_frozen_qnm_table.py frozen-qnm-table.json
python3 compare_with_berti_table.py tutorial-inputs.json frozen-qnm-table.json \
    l2.tar.gz l3.tar.gz fitcoeffsWEB.dat berti-comparison.json

The solver uses Leaver's continued fractions for the radial and angular Teukolsky equations, walking up in spin from a Schwarzschild starting guess. Berti, Cardoso and Starinets, Quasinormal modes of black holes and black branes, §4.6 It stores spins 00 to 0.990.99 in steps of 0.010.01. The browser Lab and the synthetic scripts read this frozen table through cubic Hermite interpolation in spin.

Table 5.2 Our table against the published CENTRA tables, 0≤χ≤0.990\le\chi\le0.99; outputs in berti-comparison.json.
ModeSolver, largest relative errorInterpolation, up to χ=0.95\chi=0.95Interpolation, up to χ=0.99\chi=0.99
2202207.7×10−107.7\times10^{-10}2.5×10−52.5\times10^{-5}2.2×10−32.2\times10^{-3}
2212218.1×10−108.1\times10^{-10}2.8×10−52.8\times10^{-5}2.6×10−32.6\times10^{-3}
3303303.6×10−103.6\times10^{-10}2.2×10−52.2\times10^{-5}1.9×10−31.9\times10^{-3}

The largest interpolation error sits at χ=0.9864\chi=0.9864, where the modes bend fastest. The Lab stops at spin 0.950.95, so it stays in the 10−510^{-5} column.

The same script also tests the Berti, Cardoso and Will fitting formulas against the published tables. Berti, Cardoso and Will, On gravitational-wave spectroscopy of massive black holes with the space interferometer LISA, Tables VIII and IX Five of the six printed largest errors match ours to the printed precision. For 330330 the paper prints a largest QQ error of 0.420.42 percent; we find 0.5880.588 percent over the range 0≤χ≤0.990\le\chi\le0.99 the paper names. The cause is still open. The fits appear only in worked examples, and the Lab uses the frozen table.

Step 3: recover a synthetic signal

python3 recover_synthetic_ringdown.py synthetic-recovery.json browser-parity-cases.json

This takes about 40 seconds. The script builds the two-mode record from fitting a ringdown: M=68.5 M⊙M=68.5\,\mathrm{M}_\odot, χ=0.69\chi=0.69, A1/A0=4A_1/A_0=4, white noise from a seeded generator. Three checks follow, all in synthetic-recovery.json.

The first check is a free fit. Eight parameters, a frequency, damping time, amplitude and phase for each mode, are fitted by nonlinear least squares with no Kerr relation imposed. Without noise it returns the injected frequencies and damping times to 2×10−162\times10^{-16}, rounding error. At ρ=100\rho=100 every recovered value lies within 0.70.7 standard errors of the truth, with standard errors from the Fisher matrix. This check does not use the Kerr grid, so it tests the record and the mode functions independently of the Lab's posterior code.

The second check is the start-time scan in Table 3.1 of the fitting chapter. The fundamental-only fit from the peak excludes the truth; by 2M2M it includes it.

The third is coverage. Over 100 noise draws the 90 percent regions contain the truth 89 times at ρ=14\rho=14 and 88 times at ρ=40\rho=40. The 50 and 68 percent regions undercover.

The file browser-parity-cases.json stores the same posteriors for all five Lab presets. The Lab computes them in the browser with a separate closed-form implementation, and the repository's tests require the two to agree.

Step 4: a restricted slice of GW150914

python3 -W ignore::RuntimeWarning gw150914_ringdown_slice.py tutorial-inputs.json \
    H-H1_GWOSC_4KHZ_R1-1126259447-32.txt.gz gw150914-ringdown-slice.json

The recipe follows the appendix of Isi et al. 2019 where it can. Isi, Giesler, Farr, Scheel and Teukolsky, Testing the no-hair theorem with GW150914, arXiv:1905.00869v2

  1. Read the 32 s Hanford file at 4096 Hz4096\,\mathrm{Hz} and refuse it if the digest differs.
  2. High-pass with a fourth-order Butterworth filter at 20 Hz20\,\mathrm{Hz} and resample to 2048 Hz2048\,\mathrm{Hz}.
  3. Estimate the noise autocovariance from data more than 2 s away from the peak, and build a Toeplitz covariance for 0.5 s0.5\,\mathrm s of data.
  4. From each start time after the peak at GPS 1126259462.4231126259462.423, fit 220220 alone and 220+221220+221 on a grid of mass 5050 to 100 M⊙100\,\mathrm{M}_\odot and spin 00 to 0.990.99.
Table 5.3 Hanford-only slice, median and 68 percent range; outputs in gw150914-ringdown-slice.json.
Start after peakModelMass (M⊙)(\mathrm{M}_\odot)SpinFitted ρ\rho
0.34 ms0.34\,\mathrm{ms}22022082.0  [71.8, 90.7]82.0\;[71.8,\,90.7]0.80  [0.61, 0.89]0.80\;[0.61,\,0.89]9.49.4
0.34 ms0.34\,\mathrm{ms}220+221220+22164.8  [56.7, 74.1]64.8\;[56.7,\,74.1]0.62  [0.36, 0.78]0.62\;[0.36,\,0.78]9.99.9
3.27 ms3.27\,\mathrm{ms}22022066.5  [56.1, 79.8]66.5\;[56.1,\,79.8]0.67  [0.38, 0.85]0.67\;[0.38,\,0.85]6.56.5
5.22 ms5.22\,\mathrm{ms}22022062.3  [53.5, 78.1]62.3\;[53.5,\,78.1]0.650.654.44.4

The strain is dimensionless, masses are detector-frame solar masses, and times are measured from the Hanford peak. The first sample at 2048 Hz2048\,\mathrm{Hz} falls up to half a millisecond after the requested start, so the actual offsets are listed. Isi and colleagues report M=68±7 M⊙M=68\pm7\,\mathrm{M}_\odot and χ=0.63±0.16\chi=0.63\pm0.16 (68 percent) for the overtone model at the peak, using both detectors. The catalogue's source-frame remnant mass of 63.1 M⊙63.1\,\mathrm{M}_\odot at z=0.09z=0.09 corresponds to 68.8 M⊙68.8\,\mathrm{M}_\odot at the detector.

Our overtone fit at the peak lands near both. Our fundamental-only fit at the peak lands high, 82 M⊙82\,\mathrm{M}_\odot, and comes down to the full-signal value by about 3 ms, the same pattern the paper's Fig. 3 shows. With one detector and one noise realisation, the agreement is a sanity check on the pipeline.

Failure cases we recorded

Both output files carry a list named failureCases written by the scripts themselves.

  • The unbiased autocovariance, dividing each lag by its number of pairs, gives a covariance that is not positive definite: Cholesky fails at the 148th leading minor. The script records the failure and uses the biased estimator, divided by the sample count, which is positive semidefinite by construction. The covariance condition number is then 3.3×1053.3\times10^5.
  • Several GW150914 90 percent intervals come close to the grid edges. The 220220 fits from the peak and from 1 ms come within 5 M⊙5\,\mathrm{M}_\odot of the upper mass edge, the 220220 fit from 5 ms and the 220+221220+221 fit from 1 ms come within 2 M⊙2\,\mathrm{M}_\odot of the lower edge, and the 220+221220+221 fits from 3 and 5 ms touch both mass edges and the top of the spin grid. Such intervals partly measure the prior. Table 5.3 shows 68 percent ranges, which stay clear of the edges, and leaves out the 220+221220+221 rows after the peak.
  • In the synthetic run, the fundamental-only fit from the peak excludes the truth, and three of the four low-level coverage entries fall below their binomial bands.
  • NumPy 2.0.2 built against Apple's Accelerate library prints divide-by-zero, overflow and invalid-value warnings from matrix products on our machine. A product of random finite matrices reproduces the warnings and returns finite values. The slice script checks every likelihood for finiteness and stops otherwise, so we run it with the Python option -W ignore::RuntimeWarning.

What these checks do not show

They do not show that the Kerr spectrum is correct; they show that our numbers match other people's numbers for it. Leaver's 1985 paper itself was not opened; the solver was validated only by reproducing the CENTRA tables to 10−910^{-9}. The synthetic record has white noise and a pure two-mode signal from t=0t=0, so it says nothing about the merger before the peak or about nonlinear modes. The GW150914 slice uses one detector, about 24 s of off-source data instead of the paper's 64 s, maximised amplitudes and a grid, so the published overtone detection has to be judged from two-detector analyses.

Try it in the Lab

Set the Lab to the injection in this tutorial, 68.5 solar masses, spin 0.69, signal-to-noise 14, start 0, and compare its readouts with synthetic-recovery.json. Open the black hole ringdown Lab

Sources

  1. CENTRA, Ringdown data and routines
  2. GWOSC, GW150914 event record, GWTC-1 v3
  3. Berti, Cardoso and Starinets, Quasinormal modes of black holes and black branes, §4.6
  4. Berti, Cardoso and Will, On gravitational-wave spectroscopy of massive black holes with the space interferometer LISA, Tables VIII and IX
  5. Isi, Giesler, Farr, Scheel and Teukolsky, Testing the no-hair theorem with GW150914, arXiv:1905.00869v2

Keep reading

What this page links to directly

See this series on the content map →

Black hole ringdown and the no-hair test · Reading path

From a ringing black hole to a no-hair test

  1. ArticleWhy does a newly merged black hole ring like a bell?
  2. ArticleDamped tones and the Kerr spectrum
  3. ArticleWhy a ringdown fit needs the overtone near the peak
  4. ArticleFrom two tones to a no-hair test
  5. You are hereRecomputing ringdown tones, a synthetic signal and a slice of GW150914
  6. ArticleHow to read the 2019 GW150914 overtone paper and the debate that followed
Something broken, confusing, or missing on this page?Tell us
What kind of feedback?

Sent with this page’s address, its Lab ID, the site language and your device type. Please leave out personal details. Feedback is kept for up to 12 months.Privacy policy