We present py5vec, a Python package for implementing and extending the 5-vector method, used to search for continuous gravitational wave (CW) signals. We also provide a comprehensive theoretical review of the 5-vector method and extend the relative likelihood formalism by marginalizing over the noise variance, resulting in a more robust Student’s $t$-likelihood, and over the initial phase to account for pulsar glitches. py5vec provides a modular architecture that separates data representation, signal demodulation, and statistical inference into independent abstract stages. It supports multiple input data formats and interoperates with existing Python software, providing a bridge between different statistical approaches and data processing pipelines. For example, using a bilby-based interface, py5vec implements Bayesian parameter estimation within the 5-vector formalism for the first time. The modular design also allows for making exact multi-level and direct comparisons between other software, such as cwinpy and SNAG in MATLAB. In py5vec, we implement a multidetector targeted search for known pulsars, validated using LIGO data from the O4a run and hardware injections, demonstrating consistent reconstruction of signal parameters. This package therefore provides a flexible platform for current targeted searches and for future extensions to other CW search strategies.
py5vec: a modular Python package for the 5-vector method to search for continuous gravitational waves / D'Onofrio, L., Muciaccia, F., Mirasola, L., Pitkin, M., Palomba, C., Leaci, P., Tehrani, F.S., Amicucci, F., Silvestri, L., Pierini, L.. - In: CLASSICAL AND QUANTUM GRAVITY. - ISSN 0264-9381. - 43:13(2026). [10.1088/1361-6382/ae83fd]
py5vec: a modular Python package for the 5-vector method to search for continuous gravitational waves
Muciaccia, F;Mirasola, L;Palomba, C;Leaci, P;Amicucci, F;Silvestri, L;Pierini, L
2026
Abstract
We present py5vec, a Python package for implementing and extending the 5-vector method, used to search for continuous gravitational wave (CW) signals. We also provide a comprehensive theoretical review of the 5-vector method and extend the relative likelihood formalism by marginalizing over the noise variance, resulting in a more robust Student’s $t$-likelihood, and over the initial phase to account for pulsar glitches. py5vec provides a modular architecture that separates data representation, signal demodulation, and statistical inference into independent abstract stages. It supports multiple input data formats and interoperates with existing Python software, providing a bridge between different statistical approaches and data processing pipelines. For example, using a bilby-based interface, py5vec implements Bayesian parameter estimation within the 5-vector formalism for the first time. The modular design also allows for making exact multi-level and direct comparisons between other software, such as cwinpy and SNAG in MATLAB. In py5vec, we implement a multidetector targeted search for known pulsars, validated using LIGO data from the O4a run and hardware injections, demonstrating consistent reconstruction of signal parameters. This package therefore provides a flexible platform for current targeted searches and for future extensions to other CW search strategies.I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.


