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 (
Core Components:
- Mask R-CNN — Segments dispersive trajectories in time-frequency dynamic spectra, trained on the pixel-level annotated CRAFTS-FRT dataset.
- 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) |
✅ | ✅ | ✅ | ✅ | ✅ |
Requires: Python 3.10+, CUDA 11.7+, PyTorch 2.0+, PRESTO, MMDetection
pip install FRTSearchgit clone https://github.com/BinZhang109/FRTSearch.git && cd FRTSearch
pip install -r requirements.txtdocker pull binzhang109/frtsearch:v1.0.0Download from Hugging Face and place into models/:
FRTSearch/
├── models/
│ └── hrnet_epoch_36.pth
├── configs/
│ ├── detector_FAST.py
│ └── detector_SKA.py
└── ...
python FRTSearch.py <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) |
Test data can be downloaded from Hugging Face.
# FAST FRB detection
python FRTSearch.py ./test_sample/FRB20121102_0038.fits ./configs/detector_FAST.py --slide-size 128
# SKA FRB detection
python FRTSearch.py ./test_sample/FRB20180119_SKA_1660_1710.fil ./configs/detector_SKA.py --slide-size 8Download the CRAFTS-FRT dataset and place it into CRAFTS_FRT_Dataset/ before training.
python train.pypython test_sample/test_samples.py --example FRB20121102Available examples: FRB20121102, FRB20201124, FRB20180301, FRB20180119, FRB20180212
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 |
@article{Zhang_2026,
author = {Zhang, Bin and Wang, Yabiao and Xie, Xiaoyao and You, Shanping and Yu, Xuhong and Li, Qiuhua and Li, Hongwei and Du, Shaowen and Miao, Chenchen and Zhou, Dengke and Fang, Jianhua and Wu, Jiafu and Wang, Pei and Li, Di},
title = {FRTSearch: Unified Detection and Parameter Inference of Fast Radio Transients Using Instance Segmentation},
journal = {The Astrophysical Journal Supplement Series},
volume = {284},
number = {2},
pages = {58},
year = {2026},
doi = {10.3847/1538-4365/ae5e76},
}Test sample references: FAST — Guo et al. (2025) | SKA — Shannon et al. (2018)
Open an Issue for bugs or questions. PRs welcome — see Contributing Guidelines.
This project is licensed under GPL-2.0.
Built upon: MMDetection | PRESTO
