SkillAgentSearch skills...

Simple

Simple Intensity Map Producer for Line Emission (public code)

Install / Use

/learn @mlujnie/Simple
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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:

<img src="docs/SIMPLE_pipeline.png" alt="simple_pipeline" width="600"/>

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

Warning: Equation (4) in the paper is missing a factor of $(1+z)^{-2}$. We corrected this in the code version 1.0.0.

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

View on GitHub
GitHub Stars6
CategoryDevelopment
Updated7mo ago
Forks0

Languages

Python

Security Score

77/100

Audited on Aug 18, 2025

No findings