maho3 / ltu-cmass

A modular simulator of CMASS-NGC galaxy clustering
6 stars 1 forks source link

ltu-cmass

A repository for storing code for the LtU Express Go Big pipeline. The scripts in this repository are designed to simulate and analyze mocks of the CMASS NGC galaxy sample from the BOSS survey.

Pipeline

CMASS Pipeline

The minimal example of the pipeline using a pmwd simulation can be run using the following commands:

# Run nbody density fields
python -m cmass.nbody.pmwd

# Populate density fields with halos
python -m cmass.bias.rho_to_halo

# Remap the cube into a cuboid to match the survey volume
python -m cmass.survey.remap_cuboid

# Apply the survey mask to the cuboid
python -m cmass.bias.apply_hod

# Apply the NGC survey mask
python -m cmass.survey.ngc_selection

# Measure the power spectrum of the galaxy catalog
python -m cmass.summaries.Pk

Getting Started

See installation and usage instructions in INSTALL.md.

Organization

Below, we list the functionality of each script in the repository as well as its major dependencies:

cmass/conf

cmass.nbody

cmass.bias

cmass.survey

cmass.summaries

Notebooks