Installation

  1. Clone the repository:

git clone https://github.com/oirlab/liger_iris_sim
  1. Create and activate a virtual environment. Python 3.12 is required, and Anaconda is recommended to create the virtual environment.

conda create -n "liger_iris_env" python=3.12
conda activate liger_iris_env
  1. Install live version with pip:

cd liger_iris_sim
pip install -e .

The -e (editable) flag uses the specified directory as the “live” source code, and does not copy it to the usual site-packages directory.

  1. The simulator needs access to point spread functions not stored with the data simulator codebase. Currently, these are stored on Galactica at:

IRIS: /data/group/data/iris/sim/psfs Liger: /data/group/data/kapa/liger/sim/PSFs_LTAO_11_09_19/