Simulation Helper
Caution
The code in this repository is under heavy development and not currently intended for widespread use.
Create a new environment using the requirements file:
conda env create -f requirements.yaml
sim2.config -> edit for things you want
This will make a few level 2 images
python simulate.py --plot --input_config_file sim2.config --level 2
You should see as output these files:
You should get images that look something like the following:

You can create a PNG from any of the images using the imagelib.py:
import imagelib
imagelib.mkfigure('myfile.asdf',plotname='myfile.png')
You can also create the same image with sources identified
import imagelib
# with all the stars and galaxies identified
imagelib.plot_image('r0003201001001001004_0001_wfi01_f106_example_cal.asdf',
catname='parametric_catalog_example.csv')
# with just the stars identified
imagelib.plot_image('r0003201001001001004_0001_wfi01_f106_example_cal.asdf',
catname='parametric_stars_example.ecsv')
Note
F129 is giving very low flux in the objects
I haven't gotten L1 images to run through romancal yet at the versions installed in the requirements file
If you think the output is looking weird, try a different MA Table or Filter