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 new_env python=3.10
conda activate <new_env>
pip install ceffyl
pip install --no-deps enterprise-pulsar

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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

ceffyl-1.40-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (500.0 kB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

ceffyl-1.40-cp312-cp312-macosx_11_0_arm64.whl (100.0 kB view hashes)

Uploaded CPython 3.12 macOS 11.0+ ARM64

ceffyl-1.40-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (516.4 kB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

ceffyl-1.40-cp311-cp311-macosx_11_0_arm64.whl (100.7 kB view hashes)

Uploaded CPython 3.11 macOS 11.0+ ARM64

ceffyl-1.40-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (490.9 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

ceffyl-1.40-cp310-cp310-macosx_11_0_arm64.whl (101.5 kB view hashes)

Uploaded CPython 3.10 macOS 11.0+ ARM64

ceffyl-1.40-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (501.2 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

ceffyl-1.40-cp39-cp39-macosx_11_0_arm64.whl (101.0 kB view hashes)

Uploaded CPython 3.9 macOS 11.0+ ARM64

ceffyl-1.40-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (501.5 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

ceffyl-1.40-cp38-cp38-macosx_11_0_arm64.whl (101.5 kB view hashes)

Uploaded CPython 3.8 macOS 11.0+ ARM64

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