This training will provide an introduction to Roman's simulation tools and existing simulated data sets. The user will get an understanding of what makes Roman simulations unique, the various tools at their disposal, and a hands-on tutorial to using Roman I-Sim.
Each training session will last one hour and consist of a short presentation (~20-25 minutes) with plenty of time for Q&A with Roman staff. For Webinar #2, our agenda will include:
- Introduction to the Roman Simulations and Simulation Tools Ecosystem
- Roman I-Sim demo
The training series is designed for users with all levels of experience. We will be providing live, hands-on demos that can be viewed on its own. However, if a user wishes to actively follow along, all tools, software, and data sets are publicly available. Detailed instructions for installing the Roman I-Sim Tool notebook can be found at the bottom of this page.
Tuesday, November 18 at 1:00pm ET/10am PT
Join here: https://stsci.webex.com/stsci/j.php?MTID=mfa26b6463a28270ed08cda35b2358700
Webinar series homepage: Ready, Set, Roman! Training Series Home.
Instructions for installing and running the Simulations Tool demo notebook
Download Required Files
Define a directory where you are going to run the simulations (for instance 'rsim11'):
mkdir rsim11
cd rsim11
Then download and place in that directory the following files:
- rsim11.yaml (environmental file)
- SimWebinar.ipynb (Jupyter notebook)
- simutils.py (predefined functions)
Create a data directory:
mkdir ~/data
Download the latest STPSF data following the link: PSF data files.
This will automatically download the STPSF data in your "Download" directory.
Move the data into the data directory and untar them:
cd ~/data tar xvfz stpsf-data-LATEST.tar.gz
This will create a directory containing the PSF files.
Create Your Conda Environment
Create a Conda environment using the environment file rsim11.yaml
Before creating the environment, open the rsim11.yaml file with an editor and define the paths at the end of the file:
- CRDS stands for Calibration Reference Data System
- STPSF stands for Space Telescope Point Spread Functions
In a yaml file, the paths defined in the "variables" and "prefix" fields have to be absolute. So, they have to be changed into absolute paths before creating the environment:
variables:
CRDS_CONTEXT: ''
CRDS_SERVER_URL: https://roman-crds.stsci.edu
CRDS_PATH: HOME/data/crds_cache/
STPSF_PATH: HOME/data/stpsf-data/
prefix: CONDA_DIR/envs/rsim11
Substitute CONDA_DIR with the output of the command:
conda info --base
Substitute HOME with the output of the command:
echo $HOME
Once this is done just run the following command:
conda env create -f rsim11.yaml
conda activate rsim11
Run Your Jupyter Notebook
Define a directory where you are going to run the simulations (for instance 'rsim11'), then download there the predefined functions 'simutils.py' and the Jupyter notebook 'SimWebinar.ipynb'.
jupyter-lab SimWebinar.ipynb
If you have questions about the installation, please contact the Roman Help Desk.
