Loading...
Loading...
Contributors:
Dataset URI:
10.5281/zenodo.23528767Rights:
The code and data to reproduce results in the paper:pespace: A new tool of GPU-accelerated and auto-differentiable response generation and likelihood evaluation for space-borne gravitational wave detectors 1. Overview In this work, we present a GPU-accelerated and auto-differentiable tool for computing detector responses and likelihoods for the space-borne detectors LISA, Taiji, and TianQin. Considering a typical massive black hole binary signal, we apply it to benchmark waveform and likelihood evaluation, study the Fisher matrix enabled by automatic differentiation, and perform full Bayesian parameter estimation using the complete likelihood without approximations and simplifications. This archive contains the code, the posterior data, and the plotting scripts that can be used to reproduce all results shown in the paper. 2. Contents pespace/ - Source code of the pespace package. tiwave/ - Source code of the tiwave package. ripple/ - Non-official fork of ripple. environment.yml - Conda environment used in this work. perf/ - perf_*.py: benchmark scripts; - perf_*.dat: raw timing data; - run_perf_test.sh: SLURM job submission script; - perf_plot.ipynb: plotting notebook that reads perf_*.dat and produces perf_*.pdf; - perf_*.pdf: result figures. fisher/ - autodiff_backward_drho.ipynb: compares derivatives of the optimal SNR w.r.t. inclination from symbolic, automatic, and finite differences; - fisher_jax.ipynb: Fisher matrix from jax autodiff, Gaussian samples drawn from it, and comparison with noise-free PE; - numerical_err_diota_{abs,rel}.pdf: result figures of autodiff_backward_drho.ipynb; - corner_fisher_{xas_lisa,xas_network,xhm_lisa,xhm_network}.pdf: result figures of fisher_jax.ipynb. pe/ - Full Bayesian parameter estimation with MultiNest; - pe_inj_MBHB_{LISA,LISA_HM,network,network_HM}.py: with noise; - pe_inj_MBHB_*_noiseless.py: the same four runs with the noise-free likelihood (LISA = LISA only; network = LISA+Taiji+Tianqin; HM = PhenomXHM, otherwise PhenomXAS); - run_*.sh: SLURM submission scripts; - outdir_*/: bilby result JSON (posterior samples), corner/comparison PNGs, and MultiNest pm_* chains; - plot_corner.ipynb: produces corner_pe.pdf and table_pe_res.tex; - *.out, *.err: run logs. sampler/ - full_pe_{dynesty,multinest,smc}.py: dynesty, MultiNest, and gradient-based SMC runs for LISA + PhenomXAS; - run_*.sh: SLURM submission scripts; - outdir_*/: sampler results; - corner_plot.ipynb: produces corner_sampler.pdf. wf/ - compare.ipynb: mode-by-mode waveform comparison with lalsimulation, produces wf_compare_lalsim.pdf; - 32mode.ipynb: mismatch of the 32 mode, produces mism_32.pdf and mism_32_nrhyb.pdf; - modify_xas.ipynb: minor PhenomXAS modification and mismatch against NRHybSur3dq8, produces mod_xas.pdf and mism_xas.pdf. 3. Relations to the paper Sec. 2.4, automatic differentiation: - Fig. fig_nerr_diota: fisher/autodiff_backward_drho.ipynb. Sec. 3.1, performance benchmarks: - Fig. fig_cost (perf_wf.pdf, perf_ll.pdf): perf/perf_plot.ipynb, from perf_*.dat generated by the perf_*.py scripts. - Table tab_sampler and Fig. fig_corner_sampler (corner_sampler.pdf): sampler/ (full_pe_{dynesty,multinest,smc}.py and corner_plot.ipynb). Sec. 3.2, Fisher matrix: - Figs. fig_corner_fisher_{xas_lisa,xas_network,xhm_lisa,xhm_network} (corner_fisher_*.pdf): fisher/fisher_jax.ipynb, which reads the noise-free PE results in pe/outdir_inj_MBHB_*_noiseless*. Sec. 3.3, full Bayesian parameter estimation: - Fig. fig_corner_pe (corner_pe.pdf) and Table tab_pe_res (table_pe_res.tex): pe/pe_inj_MBHB_{LISA,LISA_HM,network_HM}.py, then pe/plot_corner.ipynb. App. A, waveform validation: - Figs. fig_wf_comp, fig_mism_32, fig_mism_32_nrhyb, fig_mod_xas, fig_mism_xas: notebooks in wf/. 4. Notes to reproduce the results - The environment can be prepared by ``` conda env create -f environment.yml conda activate pespace SETUPTOOLS_SCM_PRETEND_VERSION=0.0.0 \ pip install -e ./tiwave -e ./pespace -e ./ripple ``` - The version override is needed because the archive has no .git metadata for setuptools-scm. - The GPU backends (jax[cuda12] and taichi) must match the local CUDA driver. - Run each script or notebook inside its own directory; all outputs (outdir_*, *.dat, *.pdf) are written to relative paths. - The #SBATCH headers and absolute paths in run_*.sh, and PY= in perf/run_perf_test.sh, are specific to the USTC cluster; replace them for your system. - Plotting notebooks use text.usetex=True and prepend a TeX Live path; adjust that path, or set text.usetex=False, if LaTeX is installed elsewhere. - Computational cost: the full PE runs (pe/) and the sampler comparison (sampler/) are heavy and may need to be run on clusters or servers, while the benchmarks (perf/) and all plotting notebooks (perf_plot.ipynb, plot_corner.ipynb, corner_plot.ipynb, fisher/*.ipynb, wf/*.ipynb) can be run on a laptop. - The results used in the paper for LISA_HM and LISA_HM_noiseless are in outdir_inj_MBHB_LISA_HM_old and outdir_inj_MBHB_LISA_HM_noiseless_old.
Keyword(s):
MeSH Term(s):
Grants and Funding:
No Grants or Funding Data Available
Associated Publication(s):
No Associated Publication Data Available
Supplementary Data:
No Supplementary Data Available
Related Dataset(s):
No Related Dataset Data Available
The National Library of Medicine (NLM) provides information about biomedical datasets. Inclusion on an NLM Web page does not imply endorsement of, or agreement with, the contents by NLM or the National Institutes of Health. Learn more: NLM Web Policies (nih.gov)