Git Product home page Git Product logo

11yr_stochastic_analysis's Introduction

11yr Stochastic Analysis

This repo provides data and software to reproduce results from the NANOGrav's 11 year stochastic background analysis paper (see paper, dedicated webpage). The data is a subset of the full 11 year data release available at data.nanograv.org. NANOGrav primarily uses Python for data analysis, and this repo makes use of a Jupyter notebook.

For the paper most of the analyses were conducted using PAL2 and NX01. These packages have since been superceded by enterprise, which is used here.

The bayesephem directory contains a Jupyter notebook that reproduces all computations necessary to set up the BayesEphem model of solar-system-ephemeris uncertainties, which is used to make this analysis robust to ephemeris errors. BayesEphem is discussed in the NANOGrav paper "Ephemeris uncertainties vs. pulsar timing arrays".

There are two ways perform the analysis: using Docker and using a local installation of software.

using Docker

The docker image provides the data and a minimal installation of all of the software you need for the analysis. To run the analysis simply:

  • Pull the latest docker image.
docker pull nanograv/nano11y-gwb
  • Start a new container. Make sure to change the path to a local directory for you to store your results (following the -v option). This will ensure that any data products are persistent, even if you delete the docker container. You can change the display port if you are already using 8888 for something else.
docker run -it -p 8888:8888 \
 -v /path/to/local/dir/:/home/nanograv/local_data/ \
 -u nanograv nanograv/nano11y-gwb

the default action for docker run will launch jupyter in the container home directory.

  • Copy and paste the output URL into your browser, and open the analysis.ipynb notebook

using a local install

To run the analysis you will need to have enterprise and PTMCMCSampler (and their dependencies) installed. enterprise requires either libstempo or PINT to read in the data from .par and .tim files. libstempo in turn requires temop2, a sometimes unruly pulsar timing package.

With all of that ready you can clone this repo, and begin.

git clone https://github.com/nanograv/11yr_stochastic_analysis.git
cd 11yr_stochastic_analysis
jupyter notebook

11yr_stochastic_analysis's People

Contributors

jellis18 avatar nategarver-daniels avatar paulthebaker avatar stevertaylor avatar vallis avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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.