/simple

Simple Intensity Map Producer for Line Emission (public code)

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Simple Intensity Map Producer for Line Emission (SIMPLE)

Introduction

Thank you for considering to use the SIMPLE code for your intensity map mocks!

The Simple Intensity Map Producer for Line Emission (SIMPLE) is meant as a versatile tool to quickly generate intensity maps. It is introduced in this paper (arXiv:2307.08475, ApJ 958 4) and follows this basic pipeline:

simple_pipeline

While you can specify everything necessary in the input file or dictionary and run this pipeline in one step (lim.run()), the code is structured in a modular way so that you can freely use components of the code to calculate whatever you want.

The latest documentation can be found here: https://simple-intensity-mapping-simulator.readthedocs.io/en/latest/.

Installation

  1. Make sure you have a python environment with all the required packages (specified in the environments.yaml file.)
  2. install intensity-mapping branch of lognormal_galaxies code from https://bitbucket.org/komatsu5147/lognormal_galaxies/src/master/: git clone -b intensity-mapping https://bitbucket.org/komatsu5147/lognormal_galaxies/ and follow installation instructions.
  3. clone this repo git clone https://github.com/mlujnie/simple.
  4. modify the simple/config.py file: change the path to the path of your lognormal_galaxies installation.
  5. type pip install . in the root directory of this repo.

Dependencies

See environment.yaml:

  • python 3.8 (for pmesh)
  • cython
  • scipy
  • numpy
  • astropy
  • h5py
  • dask
  • pmesh

Acknowledging SIMPLE

If you have used the SIMPLE code in your work, please cite the paper (arxiv:2307.08475, ApJ 958 4) or the DOI of the deposited code on Zenodo (http://doi.org/10.5281/zenodo.8319528).