Clean background subtraction for X-ray and gamma-ray data

Upload a data file from a high-energy satellite. FLOW models the background over time and energy together and gives you the net light curve, the net spectrum and every number behind them.

  1. 1Upload or pick a demo
  2. 2Check and set the source window
  3. 3Explore and download
1

Upload your data

FITS (.pha .fit .fits .evt, .gz allowed), CSV or NPZ. Up to 100 MB. The instrument is detected automatically.

Optional: add a witness detector file (Fermi/GBM)

A second GBM detector from the same burst that faces away from the source. FLOW then uses its rates to follow background changes inside the source window (FLOW-3D).

or try real data in one click

How FLOW works

1 · Spectral templates

The background in a detector has only a few spectral shapes. FLOW learns them, Vk(E), from the time bins outside the source window with exposure-weighted Poisson non-negative matrix factorisation. The number of shapes r is chosen by cross-validation.

2 · Smooth time amplitudes

How strongly each shape contributes, ak(t), changes smoothly with orbit and pointing. FLOW fits a Gaussian process (Matérn-5/2) to the exact Poisson likelihood and predicts the amplitudes through the source window with uncertainties. No polynomials are used.

3 · Witnesses (FLOW-3D)

When the file contains a source-free witness — an off-source region of an imaging detector, back-side detectors of GECAM, the blind detector of HXMT, or a second GBM detector — FLOW uses it to follow the background during the source window instead of interpolating.

This site runs a compact version of the FLOW pipeline. Each result states which parts are simplified for this instrument. Your files are processed on this server only and deleted after 2 hours.