Skip to main content

Fast Radio Transients Search Tool — A deep learning-based detection tool for fast radio transients in pulsar search data

Project description

FRTSearch: Fast Radio Transient Search

PyPI Paper Dataset Framework Python License

FRTSearch is an end-to-end framework for discovering Pulsars, Rotating Radio Transients (RRATs), and Fast Radio Bursts (FRBs) in radio astronomical observation data. Single-pulse emissions from these sources all exhibit consistent dispersive trajectories governed by the cold plasma dispersion relation ($t \propto \nu^{-2}$) in time-frequency dynamic spectra. This shared signature serves as a key beacon for identifying these astrophysical sources. FRTSearch leverages a Mask R-CNN instance segmentation model and the IMPIC algorithm to directly detect and characterize Fast Radio Transients (FRTs), infer their physical parameters (DM, ToA), and generate diagnostic plots and candidate catalogs for manual verification and scientific analysis.

FRTSearch Pipeline

Core Components:

  1. Mask R-CNN — Segments dispersive trajectories in time-frequency dynamic spectra, trained on the pixel-level annotated CRAFTS-FRT dataset.
  2. IMPIC — Iterative Mask-based Parameter Inference and Calibration: infers DM and ToA directly from segmentation masks.   Code | Docs | Example

Supported formats:

Format 1-bit 2-bit 4-bit 8-bit 32-bit
PSRFITS (.fits)
Sigproc Filterbank (.fil)

Installation

Option 1: pip install (Recommended)

Requires: Python 3.10+, CUDA 11.7+, PyTorch, PRESTO, MMDetection

pip install FRTSearch

Option 2: From Source

git clone https://github.com/BinZhang109/FRTSearch.git && cd FRTSearch
pip install -r requirements.txt

Option 3: Docker

docker pull binzhang/frtsearch

Download Model Weights

Download from Hugging Face and place into models/:

FRTSearch/
├── models/
│   └── hrnet_epoch_36.pth
├── configs/
│   ├── detector_FAST.py
│   └── detector_SKA.py
└── ...

Usage

Full Pipeline

FRTSearch <data.fits|data.fil> <config.py> [--slide-size 128]
Argument Description
data Observation file (.fits or .fil)
config Detector configuration file
--slide-size Subintegrations per sliding window (default: 128)

Example

Test data can be downloaded from Hugging Face.

# FAST FRB detection
FRTSearch ./test_sample/FRB20121102_0038.fits ./configs/detector_FAST.py --slide-size 128

# SKA FRB detection
FRTSearch ./test_sample/FRB20180119_SKA_1660_1710.fil ./configs/detector_SKA.py --slide-size 8

Training

python train.py

Test Samples

python test_sample/test_samples.py --example FRB20121102

Available examples: FRB20121102, FRB20201124, FRB20180301, FRB20180119, FRB20180212

Dataset: CRAFTS-FRT

The first pixel-level annotated FRT dataset, derived from the Commensal Radio Astronomy FAST Survey (CRAFTS).

Instances Source Download
2,392 (2,115 Pulsars, 15 RRATs, 262 FRBs) FAST 19-beam L-band ScienceDB

Citation

@article{zhang2026frtsearch,
  title={FRTSearch: Unified Detection and Parameter Inference of Fast Radio Transients using Instance Segmentation },
  author={Zhang, Bin and Wang, Yabiao and Xie, Xiaoyao et al.}
  year={2026},
}

Test sample references: FAST — Guo et al. (2025)  |  SKA — Shannon et al. (2018)

Contributing

Open an Issue for bugs or questions. PRs welcome — see Contributing Guidelines.

License & Acknowledgments

This project is licensed under GPL-2.0.

Built upon: MMDetection | PRESTO

Exploring the dynamic universe with AI 🌌📡

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

frtsearch-1.0.0.tar.gz (52.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

frtsearch-1.0.0-py3-none-any.whl (57.3 kB view details)

Uploaded Python 3

File details

Details for the file frtsearch-1.0.0.tar.gz.

File metadata

  • Download URL: frtsearch-1.0.0.tar.gz
  • Upload date:
  • Size: 52.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for frtsearch-1.0.0.tar.gz
Algorithm Hash digest
SHA256 ea50496eaded23b11a0e63f46d44fe7d1df7fb1720d12766d7f637e94777360f
MD5 7f1e4c66a8f3166fc4f2a9289ad17168
BLAKE2b-256 059b6987e8a0a91b05425943dcb2453211f97e108279030040100e3577197510

See more details on using hashes here.

Provenance

The following attestation bundles were made for frtsearch-1.0.0.tar.gz:

Publisher: publish.yml on BinZhang109/FRTSearch

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file frtsearch-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: frtsearch-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 57.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for frtsearch-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7b532afeafa726a63e3529d131e65f97c3a1789dc59f967ab12b55adac238b00
MD5 1705fb78cbb3b2ecd134236ed9751a81
BLAKE2b-256 24c3e69b730ceaa49bc6da0af14adf4fd3e622c6cd1f8d535f5c9739d9bc148b

See more details on using hashes here.

Provenance

The following attestation bundles were made for frtsearch-1.0.0-py3-none-any.whl:

Publisher: publish.yml on BinZhang109/FRTSearch

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page