Skip to main content

FLITS

Docs PyPI Python Tests Install License: GPLv3

Fast-Look Interactive Transient Suite.

FLITS is browser-based FRB analysis software for interactive burst inspection, masking, measurement, DM optimization, temporal/spectral diagnostics, and export. It reads SIGPROC filterbank (.fil), PSRFITS search/fold data (.fits, .sf), and CHIME/FRB HDF5 (.h5, .hdf5) including public catalog waterfalls and beamformed BBData tiedbeam_power files. The I/O layer is pluggable — third parties can register custom formats via importlib entry points without forking.

The same measurements are available without a browser: flits measure runs masking, burst localization, and measurement over one file or many and writes JSON or CSV, and the BurstSession Python API exposes every step the interface offers. The selected analysis state is recorded in a JSON session snapshot. Given the snapshot and original data, flits replay restores the selections and recomputes supported measurements.

FLITS aligned viewer showing a GBT burst with its time profile, dynamic spectrum, frequency profile, and selected event, off-pulse, and spectral windows.

The guided GBT workflow walks through the selections and results shown in the interface.

Why FLITS exists

Measuring a detected burst involves selecting an event window and noise reference, masking interference, choosing a frequency range, and refining the dispersion measure (DM). These choices affect the resulting measurements and must be preserved to interpret and reproduce them.

FLITS was built for a repeater campaign spanning GBT at L and P band, Nançay, Westerbork, Onsala, Stockert, and CHIME. A common reader interface and configurable telescope presets support analysis across their formats and calibration conventions. The session retains the selected state so collaborators can reopen it and recompute supported measurements from the original data. Snapshots and exports record software versions and available source identities for each analysis, preserving the origins of older results during partial recomputation. Historical files without this information remain explicitly unattributed. See the preservation guide for environment archiving and compatibility limits.

FLITS builds on specialist search, data-processing, and analysis packages. It connects measurements through a shared session model with explicit calibration and uncertainty metadata. Flux and fluence estimates without a supplied SEFD uncertainty are flagged as having an incomplete uncertainty budget.

FLITS is not a search pipeline — it starts from a burst you already have.

Quick Start

Install the published package and open a prepared example burst:

pip install flits
flits demo

flits demo downloads the public GBT burst from the guided workflow once (42 MB, checksum-verified) and opens it in your browser with the guide's selections and measurements in place.

To work on your own data:

flits --data-dir /path/to/filterbanks --host 127.0.0.1 --port 8123

Then open http://127.0.0.1:8123.

Optional model fitting uses fitburst, which is intentionally left out of the PyPI dependency metadata because package indexes reject direct URL runtime dependencies. To enable model fitting after installing FLITS:

pip install "fitburst @ https://github.com/CHIMEFRB/fitburst/archive/3c76da8f9e3ec7bc21951ce1b4a26a0255096b69.tar.gz"

Scripting and batch measurement

Measure bursts from the command line: mask interference, localize the burst, and measure it, for one file or many:

flits measure burst.fil --dm 527.7                 # JSON on stdout
flits measure data/*.fil --dm 527.7 --format csv --output results.csv \
  --snapshot-dir data/snapshots                    # one session per burst

Pin any choice instead of automating it with --event, --offpulse, --band, or --crop. Each saved session can be opened in the interface for review or checked with flits replay --check. See Headless Measurement.

From Python, every step the interface offers is a method on BurstSession:

from flits import BurstSession

session = BurstSession.from_file("burst.fil", dm=527.7, sefd_jy=10.0)
session.auto_mask_jess()
session.auto_localize()
measurements = session.compute_properties()
print(measurements.snr_integrated, measurements.fluence_jyms)

flits.measure_burst does the same in one call and returns the record that flits measure prints. See the Python API.

Highlights

  • Browser-based workflow for burst inspection on SIGPROC, PSRFITS, and CHIME/FRB HDF5 data.
  • Headless flits measure command and BurstSession Python API for scripted and batch measurement, with JSON, JSONL, and CSV output.
  • CHIME support includes public catalog waterfalls and beamformed BBData power products.
  • Interactive crop, event, off-pulse, spectral-window, and masking controls.
  • Automatic burst localization in time and frequency (matched-filter event window, spectral extent, and off-pulse placement in one click).
  • Calibrated fluence and peak-flux outputs when an SEFD is available.
  • DM optimization using integrated-event S/N and DMphase.
  • Temporal-structure, PSD, ACF, and optional selected-event model fitting.
  • Sub-burst drift rate in MHz/ms from the mask-corrected 2D autocorrelation, cross-checked against a component-centroid regression, with the drift/DM degeneracy reported as the DM offset that would account for the measured slope.
  • Weighted Q/U RM synthesis with optional RM-CLEAN, significance and quality diagnostics, and JSON/CSV products — measured in-session from a full-Stokes burst file, or from an externally prepared Q/U spectrum.
  • Export bundles and JSON session snapshots for reproducible analysis.

Documentation

The docs cover Python installs, Docker, Apptainer, remote/HPC use, interactive workflow guidance, measurements, DM optimization, temporal/spectral analysis, sub-burst drift, exports, and release procedures.

Release Channels

  • PyPI and ghcr.io/dirkkuiper/flits:latest track stable releases.
  • ghcr.io/dirkkuiper/flits:<version> pins an exact release.
  • ghcr.io/dirkkuiper/flits:edge tracks the current main branch for snapshot testing.

Citation

If you use FLITS in research, cite the software and link to the repository:

  • PyPI package: flits
  • Repository: https://github.com/DirkKuiper/flits
  • Citation metadata: CITATION.cff

License

FLITS is released under the GNU GPLv3. See LICENSE.

The interface bundles plotly.js (MIT) so it works without fetching anything from a CDN; its licence travels with the copy in flits/web_static/vendor/.

Metadata

Release files for flits 1.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for flits 1.5.0
File Size Uploaded Provenance Actions
flits-1.5.0.tar.gz 5.7 MB With provenance Details for flits-1.5.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for flits 1.5.0
File Interpreter ABI Platform Actions
flits-1.5.0-py3-none-any.whl Python 3 none any Details for flits-1.5.0-py3-none-any.whl

Total release size: 7.4 MB

Release files / flits-1.5.0.tar.gz

Download URL flits-1.5.0.tar.gz
Size 5.7 MB
Tags Source
SHA-256 checksum
How to use checksums
1b008d90d54c5ef7048121c6683e0e677ae54b702553ceb7733be111ffb5b24b
BLAKE2b-256 checksum
How to use checksums
ffca0556be59f2cd0433e10f59e678eb1655d403e5b302a1bbeb3f78b757e3cf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 23, 2026.

Transparency log

Release files / flits-1.5.0-py3-none-any.whl

Download URL flits-1.5.0-py3-none-any.whl
Size 1.7 MB
Tags Python 3
SHA-256 checksum
How to use checksums
318040f6bff1750d3c144870a91403fd972e1ef055045b4e4beaf8c155dc00f5
BLAKE2b-256 checksum
How to use checksums
6d6e53f81ee2e5b6edd8fcb199fad9668e401dc80a2c8b5c90742c7d9c8dfd7e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 23, 2026.

Transparency log

Security for flits 1.5.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for flits-1.5.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 23, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page