Skip to main content

Software to rapidly and flexibly analyse Pulsar Timing Array data via factorised likelihood methods (Lamb et al. 2023)

Project description

ceffyl

PyPI version conda-forge DOI

Pronounced /ˈkɛfɨ̞l/ ('keff-ill'), meaning 'horse' in Cymraeg/Welsh 🏴󠁧󠁢󠁷󠁬󠁳󠁿🐎

A software package to rapidly and flexibly analyse pulsar timing array (PTA) data via refiting to pulsar timing free spectra.

This can be done by fitting to a free spectrum of the entire PTA or individual pulsars!

Installation

It is highly recommended that you install enterprise-pulsar first via conda-forge before installing ceffyl

To install via `pip'

conda create -n ceffyl_env python enterprise-pulsar
conda activate <new_env>
pip install ceffyl

To install via Anaconda:

conda create -n <new_env> python enterprise-pulsar
conda activate <new_env>
conda install -c conda-forge ceffyl

Then update to the latest version using github and pip!

This is because we use enterprise as a dependency. Enterprise requires tempo2. Tempo2 is notoriously difficult to install directly... We plan to remove this dependency in a future update.

data

Download representations of PTA data to accurately fit spectral models with ceffyl!

examples

  • PTA free spectrum refit example

    • This is the fastest and most accurate refit technique. Fit any GWB spectrum that you'd like in < 5 minutes!
  • GFL Lite refit example

    • Fit GWB models quickly and accurately to different combinations of pulsars!
  • GFL refit example

    • Fit GWB and custom intrinsic red noise models to different pulsars quickly! Experimental - use with caution!

Do you have your own free spectrum posteriors that you want to work in ceffyl? Learn about making your own KDE posteriors here

Attribution

@article{lamb2023rapid,
  title={Rapid refitting techniques for Bayesian spectral characterization of the gravitational wave background using pulsar timing arrays},
  author={Lamb, William G and Taylor, Stephen R and van Haasteren, Rutger},
  journal={Physical Review D},
  volume={108},
  number={10},
  pages={103019},
  year={2023},
  publisher={APS}
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ceffyl-1.30.1.tar.gz (148.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page