GithubHelp home page GithubHelp logo

jpmvferreira / forecasting-fq-cosmology-with-ss Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 23.13 MB

Source code for the article PhysRevD.105.123531 entitled "Forecasting F(Q) cosmology with ΛCDM background using standard sirens".

Home Page: https://journals.aps.org/prd/abstract/10.1103/PhysRevD.105.123531

License: MIT License

Stan 76.94% Python 7.82% TeX 15.24%
cosmology gravitational-waves modified-gravity lisa et ligo standard-sirens mcmc-analysis python

forecasting-fq-cosmology-with-ss's Introduction

About

Source code for the article "Forecasting F(Q) cosmology with ΛCDM background using standard sirens".

Available under an APS subscription at PhysRevD.105.123531 and for free at arXiv:2203.13788 (both include the same version of the document)

Table of contents

Repository outline

  • /analyzed: Includes catalog and corner plots, which are analyzed by simplemc.
  • /aux: A set of auxiliary scripts to aid in analysis or automation, which can be easily ignored by an external user.
  • /config: The configuration files location used by the simplemc samplers.
  • /cosmology: Custom cosmological models to be used by gwcatalog when generating standard sirens mock catalogs. Can be ignored by an external user.
  • /data: All of the datasets used throughout our analysis, either real or generated.
  • /model: The cosmological models to be constrained using simplemc.
  • /output: The output of the MCMC performed by simplemc.
  • /venv: Files related to the virtual environment used to develop our analysis.

The corresponding file to each of the catalogs used are:

  • ET: data/ET-4.csv
  • LISA (best): data/LISA-9
  • LISA (median): data/LISA-10
  • LISA (worst): data/LISA-12
  • LIGO (best): data/LIGO-13
  • LIGO (median): data/LIGO-1
  • LIGO (worst): data/LIGO-2

Virtual environment

Dependencies

Besides a working Python environment, the packages explicitly being used are:

  • gwcatalog (v1): Generate catalogs of standard siren events.
  • simplemc (v1): A CLI that simplifies the usage of MCMC methods.

Although developed in the context of this work, these packages are completely independent.

If you don't wish to fully replicate the virtual environment, then installing the dependencies listed before will suffice.

Replicating the virtual environment

Start by cloning this repository locally using git to a folder named "fqgw":

$ git clone https://github.com/jpmvferreira/forecasting-FQ-cosmology-with-SS fqgw

Use conda (or any other compatible package manager) to create a new virtual environment from the file fqgw/venv/environment.yml, which we will call "fqgw":

$ conda env create -f fqgw/venv/environment.yml

Activate the newly created environment:

$ conda activate fqgw

Use pip to install all Python packages listed in fqgw/venv/environment.yml:

$ pip install -r fqgw/venv/requirements.txt

Citation

If you used any of the contents available in this repository, or found it useful in any way, you can cite it using the following BibTeX entry:

@article{PhysRevD.105.123531,
  title = {Forecasting $F(Q)$ cosmology with $\mathrm{\ensuremath{\Lambda}}\mathrm{CDM}$ background using standard sirens},
  author = {Ferreira, Jos\'e and Barreiro, Tiago and Mimoso, Jos\'e and Nunes, Nelson J.},
  journal = {Phys. Rev. D},
  volume = {105},
  issue = {12},
  pages = {123531},
  numpages = {10},
  year = {2022},
  month = {Jun},
  publisher = {American Physical Society},
  doi = {10.1103/PhysRevD.105.123531},
  url = {https://link.aps.org/doi/10.1103/PhysRevD.105.123531}
}

Feedback

Any discussion, suggestions or bug reports are always welcome. To do so, feel free to use this issue section in this repository, or even send me an email at:

License

All of the contents provided in this repository are available under the MIT license.

For further information, refer to the file LICENSE.md provided in this repository.

forecasting-fq-cosmology-with-ss's People

Contributors

jpmvferreira avatar

Stargazers

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