Cross-comparison of sampling algorithms for pulse profile modeling of PSR
Phys. Rev. D 112, 023008 – Published 8 July, 2025
DOI: https://doi.org/10.1103/cp8c-2nbk
Abstract
In the past few years, NICER data has enabled mass and radius inferences for various pulsars, and thus shed light on the equation of state for dense nuclear matter. This is achieved through a technique called pulse profile modeling. The importance of the results necessitates careful validation and testing of the robustness of the inference procedure. In this paper, we investigate the effect of sampler choice for x-psi (x-ray pulse simulation and inference), an open-source package for pulse profile modeling and Bayesian statistical inference that has been used extensively for analysis of NICER data. We focus on the specific case of the high-mass pulsar PSR . Using synthetic data that mimics the most recently analyzed NICER and XMM-Newton datasets of PSR , we evaluate the parameter recovery performance, convergence, and computational cost for multinest’s multimodal nested sampling algorithm and ultranest’s slice nested sampling algorithm. We find that both samplers perform reliably, producing accurate and unbiased parameter estimation results when analyzing simulated data. We also investigate the consequences for inference using the real data for PSR , finding that both samplers produce consistent credible intervals.