Skip to content

LSSTDESC/stream_sim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

StreamSim: Stellar Stream Simulation & Observation

Documentation License: MIT

StreamSim is a Python package for stellar stream data generation and observation simulation. It provides tools to:

  • Generate mock stellar stream data from parametric models. The goal is to provide a modular codebase that can be easily configured and run. The user should be able to generate a variety of stream morphologies by changing the configuration files.
  • Assign photometric properties to stars using stellar isochrones
  • Simulate realistic survey observations with observational effects

StreamSim bridges theoretical/dynamical stream models and realistic mock observations as they would appear in astronomical surveys like LSST.

Note: This package is not intended to generate dynamic models or N-body simulations, but rather to study statistical realizations of parametrized stream geometries.

Documentation

Full documentation: https://lsstdesc.github.io/stream_sim/

Installation

Installation consists of three steps:

# 1. Clone the repository
git clone https://github.com/LSSTDESC/stream_sim.git
cd stream_sim

# 2. Set environment variables
export PYTHONPATH=${PWD}:${PYTHONPATH}
export PATH=${PWD}/bin:${PATH}

# 3. Download required data files
python bin/download_data.py

The code requires common scientific Python packages:

  • numpy, scipy, pandas, matplotlib
  • astropy, healpy, gala
  • ugali (for stellar isochrones)

For full setup (dependencies, optional tools, troubleshooting), see the Installation Guide.
If data download fails or you want details on data structure, see the Data page.

Eventually stream_sim will be installable through common package managers (i.e., pip and/or conda).

Use Cases

StreamSim is particularly useful for:

  • Dynamical simulations: Convert N-body simulation outputs into observable quantities
  • Algorithm development: Generate test data for stream detection algorithms
  • Survey planning: Predict stream detectability in upcoming surveys
  • Pipeline validation: Test analysis workflows with known ground truth

See the Quickstart Guide for some examples.

Citation

See the Citation page for more information.

About

Simple stellar stream simulation tools.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •