-
A human must make an event diretory and
event_metadata.csv
file. Seeevents/GW190519/
for an example. -
A human must provide an
exptable.txt
file in the event directory. Seeevents/GW190519/
for an example. -
Run
generate_sims.py
. Use the event name as a command line argument. Example:python generate_sims.py GW190510
.
The script generate_sims.py
will do the following things:
-
Trigger
makeSimlib_easyaccess.py
with the coordinates and exposure numbers corresponding to the event -
makeSimlib_easyaccess.py
will then produce aSIMLIB
file for the observations. This file will tellSNANA
the observing conditions of the data. -
Clean the
SIMLIB
file of duplicate rows by runningclean_simlib.py
-
Create a
sims
directory inside the event directory with templateSNANA
input files for KNe, SNe, and AGN. -
Call
update_snana_inputs.py
to overwrite the templates with position, date, and name information of the current event. -
Run SNANA on the updated input files. Simulations will be tagged with the user's FNAL login name.
-
Collect the simulations and move them to the
sims/
diretory for the current event.