Skip to main content

SGNL

SGN inspiraL: a scalable, low-latency compact binary coalescence search pipeline built on sgn

ci coverage documentation pypi version arXiv


SGNL is a matched-filtering search pipeline for gravitational waves from compact binary mergers. It reimplements the methods of the GstLAL pipeline on the sgn streaming framework, with a PyTorch filtering core that runs on CPUs or GPUs. The same building blocks power both the low-latency (online) analysis, which streams candidates to GraceDB within seconds, and the offline analysis used for archival searches.

Design, implementation, and performance results are described in SGNL: Scalable Low-Latency Gravitational Wave Detection Pipeline for Compact Binary Mergers (Huang et al. 2025).

Features

  • LLOID filtering: SVD-decomposed template banks filtered with multi-rate time-domain FIR filters, implemented as sgn transforms in PyTorch.
  • Ranking and significance: likelihood-ratio ranking statistics and FAR assignment via gw-strike.
  • Low-latency alerts: GraceDB event uploads, p(astro) via sgnl-pastro, event plotting, and live monitoring (range, trigger counts, PSDs).
  • Workflow generation: HTCondor DAGs for both online and offline analyses.
  • Results and diagnostics: injection (sim) pages, results pages, PSD plots, and offline event-investigation tools.

Installation

pip install sgnl

SGNL requires Python 3.11 or newer. For a full development environment (including the containerized setup used for production analyses), see the installation guide. A container image is also published at containers.ligo.org/greg/sgnl:latest.

Getting started

The documentation has step-by-step tutorials:

A few of the main command-line tools:

Command Purpose
sgnl-inspiral Run the matched-filtering inspiral search
sgnl-dagger Generate an offline analysis DAG
sgnl-ll-dagger Generate a low-latency (online) analysis DAG
sgnl-inspiral-svd-bank Build SVD banks from a template bank
sgnl-reference-psd Measure a reference PSD from strain data
sgnl-assign-likelihood / sgnl-assign-far Rank candidates and assign FARs
sgnl-ll-inspiral-event-uploader Upload low-latency candidates to GraceDB
sgnl-results-page / sgnl-sim-page Produce results and injection summary pages

Every tool supports --help; see the API reference for the full list.

The SGN family

SGNL is the CBC application layer of a family of libraries built on SGN:

  • sgn: base streaming framework
  • sgn-ts: time-series utilities
  • sgn-ligo: LIGO/LSC-specific sources, sinks, and utilities

Contributing

Issues and merge requests are welcome at git.ligo.org/greg/sgnl. See the developer guide for setup, testing, and style conventions.

Citing

If you use SGNL in your work, please cite arXiv:2511.04730.

License

SGNL is distributed under the Mozilla Public License 2.0.

Metadata

Release files for sgnl 0.3.1

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

Source distribution (sdist)

Source distribution for sgnl 0.3.1
File Size Uploaded Provenance Actions
sgnl-0.3.1.tar.gz 578.5 kB Without provenance Details for sgnl-0.3.1.tar.gz

Built distribution (wheel)

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

Total release size: 875.2 kB

Release files / sgnl-0.3.1.tar.gz

Download URL sgnl-0.3.1.tar.gz
Size 578.5 kB
Tags Source
SHA-256 checksum
How to use checksums
fb08d0b5984a39cb42530c0ff948941fb3dc752d09c0e07a0d6eee58ab3be5a7
BLAKE2b-256 checksum
How to use checksums
e0b6e06950a107df3b9cc3f8d21b380a78c9fbca7377f15eba618e5c54d6346f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.28.1

Release files / sgnl-0.3.1-py3-none-any.whl

Download URL sgnl-0.3.1-py3-none-any.whl
Size 296.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c51a5f95025cf48747cab39eb49933315639c7bf3cd1d51f513b847982cb4788
BLAKE2b-256 checksum
How to use checksums
22ef35718819d1ccab77a11483ffb2e1ae3bb31b3122fa64e96ed003da68516c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.28.1

Security for sgnl 0.3.1

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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