GithubHelp home page GithubHelp logo

yanyuechuixue / ceffyl Goto Github PK

View Code? Open in Web Editor NEW

This project forked from astrolamb/ceffyl

0.0 1.0 0.0 141.49 MB

Ceffyl - a software package to rapidly and flexibly analyse Pulsar Timing Array data

License: MIT License

Shell 0.09% Python 8.76% Jupyter Notebook 90.98% Cython 0.17%

ceffyl's Introduction

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}
}

ceffyl's People

Contributors

astrolamb avatar davecwright3 avatar yanyuechuixue avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.