This repository provides the fast time-delay interferometry (TDI) response model of Galactic binaries (GBs) for space-based detectors, together with tutorials for the corresponding data-analysis tasks. The response model is inspired by the "TDI on the fly" approach proposed in N. J. Cornish et al, PRD (2025), and has been reformulated to support arbitrary detector orbit and arbitrary TDI combination, and further extended to a space-detector network of arbitrary configuration (e.g. LISA-Taiji-TianQin).
Our implementation of the fast response model has been validated against the more precise (but slower) time-domain simulation implemented in Triangle-Simulator, with residuals well below the instrumental noise level.
The tutorials cover time-domain vs frequency-domain waveform modeling and cross-validation, rapid search of GB signals with
The response model is shipped as the Python package Triangle_GB, whose source lives in the Triangle_GB/ folder of this repository:
| Path | Content |
|---|---|
Triangle_GB/ |
Source of the Triangle_GB package: the TDIFly / TDIFlyGB / TDIFlyGBNetwork classes |
Examples/ |
Tutorial notebooks |
Triangle_GB uses Triangle-Simulator for essential constants, utilities, orbit and TDI response functions, so Triangle-Simulator must be installed first.
-
Install Triangle-Simulator
Install Triangle-Simulator and activate the tri_env environment byconda activate tri_env
-
Download or Clone the Repository, then
cd Triangle-GB -
Install Triangle_GB
Install the package contained in theTriangle_GBfolder into the activetri_envenvironment bypip install -e .After that the fast response model can be imported from anywhere, without being inside this repository:
from Triangle_GB.TDIFly import * # TDIFly, TDIFlyGB, TDIFlyGBNetwork
The response model can also be run on GPU (
use_gpu=True), which requirescupy. -
Install Nested Sampling Tools to Run the Examples
pip install bilby nessai-bilby