GithubHelp home page GithubHelp logo

franxavier / gallumi_public Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nnssa/gallumi_public

0.0 0.0 0.0 3.04 MB

A Galaxy Luminosity Function Pipeline for Cosmology and Astrophysics

License: MIT License

Python 100.00%

gallumi_public's Introduction

GALLUMI Logo

GALLUMI: A Galaxy Luminosity Function Pipeline for Cosmology and Astrophysics

Authors: Nashwan Sabti, Julian Muñoz and Diego Blas

GALLUMI is a likelihood code that allows to extract cosmological and astrophysical parameters from the UV galaxy luminosity function. The code is implemented in the MCMC sampler MontePython and can be readily run in conjunction with other likelihood codes. Details of the code are provided in 2110.13161 and 2110.13168.

This GitHub page contains 1) the GALLUMI likelihood code, 2) scripts to generate mock data, and 3) script to create plots.

Coming up

  • A detailed manual and an automated script to move files
  • A single likelihood file to run all simulations with
  • Turn-over term in the luminosity function to account for inefficient galaxy formation in low-mass halos
  • Option to use different window functions

Basic Usage of GALLUMI

  • Download the MontePython MCMC sampler.
  • Move the contents of MontePython_files to the MontePython folder.
    • MontePython_files/Bestfits, MontePython_files/Covmats and MontePython_files/Param_files go in the main MontePython folder
    • Create a new folder called "UVLF" in MontePython/data/ and move the contents of MontePython_files/Data/ in there
    • Move the contents of MontePython_files/Likelihoods/ to MontePython/montepython/likelihoods/
  • Run the likelihood code with e.g.
    python2 montepython/MontePython.py run --conf default.conf --param Param_files/UVLF_HST_ST_model1.param --bestfit Bestfits/UVLF_HST_ST_model1.bestfit --covmat Covmats/UVLF_HST_ST_model1.covmat -f 0.5 --output UVLF_HST_ST_model1

Example Plot

All plots in the papers 2110.13161 and 2110.13168 can be reproduced using the scripts provided in the Scripts/Plotting/ folder.

sampleplot

Using GALLUMI in Publications

If you make use of the GALLUMI code in your publication, please cite the papers 2110.13161 and 2110.13168. Chains are available upon request.

Contact

Please email [email protected] for any questions :)

gallumi_public's People

Contributors

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