---
title: "Recompute the GW150914 match from the public strain"
description: "Check the authentic HDF5 record, reconstruct the fit and independently recover the tutorial's peaks."
canonical_url: "https://sandboxphysics.com/stories/gw-matched-filter/replay-the-public-strain/"
language: "en"
page_type: "story"
alternate_languages:
  zh-CN: "https://sandboxphysics.com/zh/stories/gw-matched-filter/replay-the-public-strain/"
last_modified: "2026-11-22"
---

[Matched filtering with GW150914](https://sandboxphysics.com/stories/gw-matched-filter/)

# Recompute the GW150914 match from the public strain

Sandbox Physics · 2026-11-22

The archived 32-second records recover a match at both sites. Start from the hash-checked HDF5 inputs, estimate noise outside the event, and compare the two fitted waveforms on the same time grid.

[Open the GW150914 analysis](https://sandboxphysics.com/labs/binary-neutron-star-merger/#gw150914-analysis)

## Check the actual data first

Download the replay ZIP and unpack it. The two HDF5 files are the GWOSC O1 preliminary version 2 records. Each has 131,072 unitless strain samples at 4096 hertz, beginning at GPS 1126259446. The manifest records file lengths and SHA-256 values. Read the DATA, CBC CAT1 and no compact-binary hardware injection bits by name. Livingston’s separate continuous-wave flag is not set. It should stay visible in the record. [GWOSC data release](https://gwosc.org/events/GW150914/) · [Data-quality definitions](https://gwosc.org/techdetails/)

## Fit the two sites with one template family

Use Python 3.12.12 with the pinned numerical packages listed in the README. From the unpacked directory run the fitting script. The noise average uses 25 off-event windows. Apply the same passband to both the measured and fitted strain and subtract them in white units.

```
python -B prototype.py . new-fit-report.json
```

The conditional maximum in the saved grid gives scores about 19.36 at Hanford and 14.20 at Livingston. The root-mean-square whitened trace over the short display window falls from 0.665 to 0.342 at Hanford and from 0.544 to 0.350 at Livingston. Use the same window for both sides of each comparison. Over the full record, the whitened squared energy removed equals the squared single-site score under these conventions. The separate time-domain dot calculation agrees with the FFT output.

## Recover the tutorial values by their own convention

The original exercise uses a different noise average and the nominal midpoint of its template file as time zero. Recompute it separately.

```
python -B tutorial_reference.py . new-reference-report.json
```

The independent replay gives 18.56 and 13.21. Hanford’s timestamp is GPS 1126259462.439453 in that convention. The time of peak template amplitude comes about 16 milliseconds earlier than the file midpoint. Comparing differences between the detectors preserves the roughly seven-millisecond delay. [Pinned GWOSC notebook, matched-filter section](https://github.com/gwosc-tutorial/LOSC_Event_tutorial/blob/557a873b7306836faea1a321f1cd9d12745e9692/LOSC_Event_tutorial.ipynb)

## Try a deliberately bad fit

At Hanford choose the mistimed template. Notice how the residual grows even though the measured data never change. Repeat at the low end of the mass grid and move the template back to its own maximum. Changing arrival time cannot remove the difference in the spacing of the cycles. For a quantitative check, save both analyses and compare the residual samples at identical array indices.

## Replay files

- [Original HDF5, replay scripts and reports](https://sandboxphysics.com/stories/gw-matched-filter/materials/gw150914-reproduction.zip)
- [Fixed-family fit and residual checks](https://sandboxphysics.com/stories/gw-matched-filter/materials/prototype-report.json)
- [Independent GWOSC tutorial replay](https://sandboxphysics.com/stories/gw-matched-filter/materials/tutorial-reference-report.json)
- [Source checksums and template-bank axes](https://sandboxphysics.com/stories/gw-matched-filter/materials/manifest.json)

## Sources

1. [GWOSC data release](https://gwosc.org/events/GW150914/)
2. [Data-quality definitions](https://gwosc.org/techdetails/)
3. [Pinned GWOSC notebook, matched-filter section](https://github.com/gwosc-tutorial/LOSC_Event_tutorial/blob/557a873b7306836faea1a321f1cd9d12745e9692/LOSC_Event_tutorial.ipynb)

[Previous chapter What arrival time and chirp mass do to the match](https://sandboxphysics.com/stories/gw-matched-filter/arrival-and-chirp-mass/) [Next chapter Read a frequency-consistency test for glitches](https://sandboxphysics.com/stories/gw-matched-filter/read-the-frequency-veto/)

## Keep reading

Matched filtering with GW150914 · Reading path

### Matched filtering with GW150914

1. [Article **How to find a chirp in detector noise**](https://sandboxphysics.com/stories/gw-matched-filter/finding-the-chirp/)
2. [Article **Why a strain record is whitened**](https://sandboxphysics.com/stories/gw-matched-filter/whitening-a-strain-record/)
3. [Article **What arrival time and chirp mass do to the match**](https://sandboxphysics.com/stories/gw-matched-filter/arrival-and-chirp-mass/)
4. [You are here **Recompute the GW150914 match from the public strain**](https://sandboxphysics.com/stories/gw-matched-filter/replay-the-public-strain/)
5. [Article **Read a frequency-consistency test for glitches**](https://sandboxphysics.com/stories/gw-matched-filter/read-the-frequency-veto/)

1 more group

### Other articles that use the same experiments

Each experiment from this article that another series also uses, followed by the articles there.

1. [Lab **Binary Neutron Star Merger**](https://sandboxphysics.com/labs/binary-neutron-star-merger/)
2. [Article **A pulsar clock revealed an orbit losing energy**](https://sandboxphysics.com/stories/astronomy-gravity/hulse-taylor-orbital-decay/)
