[Paper Review] PTArcade
PTArcade is a lightweight Python framework that wraps ENTERPRISE and ceffyl to enable Bayesian inference for new-physics signals in pulsar timing array (PTA) data. It allows users to define stochastic or deterministic gravitational wave signals via user-defined Python models, efficiently sampling posterior distributions for model parameters using Markov Chain Monte Carlo (MCMC), with built-in tools for posterior visualization and statistical analysis, enabling systematic searches for primordial gravitational wave backgrounds.
This is a lightweight manual for PTArcade, a wrapper of ENTERPRISE and ceffyl that allows for easy implementation of new-physics searches in PTA data. In this manual, we describe how to get PTArcade installed (either on your local machine or an HPC cluster). We discuss how to define a stochastic or deterministic signal and how PTArcade implements these signals in PTA-analysis pipelines. Finally, we show how to handle and analyze the PTArcade output using a series of utility functions that come together with PTArcade.
Motivation & Objective
- To provide a user-friendly, extensible framework for performing Bayesian analyses of new-physics signals in pulsar timing array (PTA) data.
- To enable flexible implementation of both stochastic (e.g., GWB) and deterministic gravitational wave signals through user-defined Python models.
- To streamline the analysis pipeline by integrating with ENTERPRISE and ceffyl, supporting both local and HPC deployment.
- To offer built-in utilities for MCMC chain handling, posterior plotting, and statistical inference, including K-ratio and highest posterior density interval (HPI) computation.
- To support model selection and comparison via Bayes factor computation, with configurable confidence levels and visualization options.
Proposed method
- Users define a signal model using a Python script that specifies the gravitational wave energy density spectrum, h²ΩGW(f; θ̲), or time series h(t; θ̲), with model parameters θ̲.
- Priors for model parameters are defined using the `prior` function from `models_utils`, supporting uniform, Gaussian, and other standard distributions.
- The framework uses MCMC sampling via a wrapper around ENTERPRISE and ceffyl to generate posterior samples for the model parameters.
- Output chains and parameter files are stored in a configurable directory and can be loaded using `chains_utils.import_chains`.
- Posterior distributions are visualized using `plot_utils.plot_posteriors`, which supports 1D and 2D marginalizations, HPI intervals, and K-ratio bounds.
- Statistical tools include confidence level specification for HPIs, K-ratio levels, and customizable axis labels and parameter selection for plotting.
Experimental results
Research questions
- RQ1How can new-physics gravitational wave signals be systematically searched for in PTA data using Bayesian inference?
- RQ2What is the posterior distribution of model parameters for a broken power-law primordial gravitational wave background in the NANOGrav 15-year dataset?
- RQ3How can the framework support both stochastic and deterministic signal models with minimal user code?
- RQ4What is the performance and reliability of the built-in statistical tools for posterior visualization and model comparison?
- RQ5How can users efficiently compare models with and without astrophysical foregrounds (e.g., SMBHBs) using the same analysis pipeline?
Key findings
- The framework successfully reconstructs posterior distributions for a broken power-law GWB model in the NANOGrav 15-year data, with log10 A* and log10 f* constrained to the ranges [-14, -6] and [-10, -6], respectively.
- The posterior plots generated by `plot_posteriors` show clear constraints on the parameters, with 68% and 95% highest posterior density (HPD) intervals visible in the 2D contour plots.
- The K-ratio bound is computed and plotted when Bayes factors are provided, enabling model selection with confidence levels up to 95%.
- The `plot_posteriors` function supports superimposition of multiple chains, allowing direct comparison of models with and without SMBHB foregrounds.
- The framework enables efficient MCMC sampling with customizable priors and output paths, and the `verbose=True` option provides statistical summaries including HPD intervals and Bayes estimators.
- The integration with ENTERPRISE and ceffyl ensures compatibility with standard PTA analysis pipelines, while the pure-Python configuration allows for full customization of analysis settings.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.