Giter Site home page Giter Site logo

lbg-survey-strategy-metrics's Introduction

Rubin LBG Survey Metrics

Survey Strategy Metrics for Detecting LBGs with the Rubin Observatory

Installation (from the root directory):

mamba env create -f environment.yaml
mamba activate lbg-survey-strat
python -m ipykernel install --user --name lbg-survey-strat --display-name "LBG Survey Strat"
pip install -e .

or equivalent.

The scripts in bin/ are meant to be run in the following order:

  1. Source bin/setup_rubin_sim.sh. This will set RUBIN_SIM_DATA_DIR and download the required data if not already present. If you already have the rubin sim data downloaded somewhere other than the default (data/rubin_sim_data), you can set this location by calling the setup script with the path as an argument.

  2. Source bin/setup_runs.sh. This will set RUBIN_SIM_RUN_DIR and, if not already present, will download the survey simulation runs we are analyzing. If you already have the rubin sim runs downloaded somewhere other than the default (data/rubin_sim_data), you can set this location by calling the setup script with the path as an argument.

  3. Calculate the 5-sigma depths for all of the runs/years by running bin/calc_m5.py.

  4. Create the CMB lensing cache by running bin/create_cmb_xcorr_cache.py

Note you will have to source the first 2 bash scripts every time you start a new session. The first time you run the first two commands, it typically takes a few hours and consumes 23 GB to download all the data.

The notebooks in the top-level directory create all the plots in the paper and can be run in any order.

lbg-survey-strategy-metrics's People

Contributors

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