Giter VIP home page Giter VIP logo

boss_vpf's Introduction

Finding the Void Probability Function of galaxies in BOSS data (CMASS and LOWZ)

    Kilian Walsh and Jeremy Tinker
    (arxiv article: ...)

Introduction

And I, infinitesimal being, drunk with the great starry void, likeness, image of mystery, felt myself a pure part of the abyss, I wheeled with the stars, my heart broke loose on the wind.

~ Pablo Neruda

The Void Probability Function (VPF) is a probability density function over the radius of randomly placed spheres in space, showing the probability that a sphere of a given radius will be empty - in this case, empty of galaxies. We calculate the VPF for galaxies in the CMASS and LOWZ surveys of BOSS and compare it with a VPF calculated from a HOD-populated dark matter simulation.

The Halo Occupation Distribution is a model for nonlinear galaxy bias that assigns galaxies to dark matter halos based solely on the mass of the halo. By fitting the HOD parameters to have a mock galaxy catalogue that agrees with the observed galaxy number density and 2-point projected correlation function, we show the consistency of the HOD with the BOSS data via comparison of VPFs.

Code and Data

The code in this repository is designed to work as a standalone automated reproduction of the exact methodology of our experiment. Simply by running the script "run_expt.py" you should reproduce all the results from our paper.

Before this is possible, a few configurations may be necessary. Firstly, all the necessary python packages will need to be available. An easy way to ensure this is through the command

pip install -r requirements.txt

which should install the nonstandard python package this experiment uses. If you need to make a local install, consult the pip documentation here:

http://www.pip-installer.org/en/latest/cookbook.html

As for having all of the necessary data in the right place, you will need a lot of free space to store the necessary files, in particular the simulation output and mock galaxy catalogues. Most of the observational data is downloaded automatically by the main script but for custom directory organisation in the case of server space restrictions, you will have to symlink accordingly. These details are treated in the DATA.doc readme

TODO

For access to as of yet proprietary data, you will have to contact the authors.

Subdirectories

    BOSS_vpf
    |
    |--dat
    |  (stores the modules for data manipulation and storage and the
    |   subdirectories in which the output of the code is stored)
    |
    |--tests
    |  (stores scripts and modules that test the consistency of the
    |   algorithms used and that visualise the data in a useful way to
    |   help understand its structure)
    |
    |--figs
    |  (stores the modules that plot the figures from the paper and their
    |   output)

boss_vpf's People

Contributors

kilianbreathnach avatar

Watchers

 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.