Installation#
Create a virtual environment (optional but recommended):
python -m venv venv
source venv/bin/activate # On Windows, use `venv\Scripts\activate`
Clone the Sci-Eng-Interface repository. This repository contains all the relevant and updated telescope and detector parameters.
git clone https://github.com/HWO-GOMAP-Working-Groups/Sci-Eng-Interface/tree/main
Warning
This will be deprecated in v.2.0.
(Optional) Create a folder containing the “Yield Input Packages”. More information on the Coronagraph (YIP) Guide.
Install pyEDITH via command line:
pip install pyedith
Alternatively, you can clone the pyEDITH repository and install it:
git clone https://github.com/HWO-Project/pyEDITH.git
cd pyEDITH
pip install -e .
Set up environment variables: Add the following lines to your
.bashrcor.zshrcfile:
export SCI_ENG_DIR="/path/to/Sci-Eng-Interface/hwo_sci_eng"
And, if you created the YIP folder,
export YIP_CORO_DIR="/path/to/yip/folder"
Replace the paths with the actual paths on your system.