-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Better document command-line examples to run to test.
- Loading branch information
Showing
2 changed files
with
23 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,17 @@ | ||
# Change this to what the RomanDESCSims data are. | ||
# Below DATADIR should be the subdirectories 'images' and 'truth'. | ||
# A general test example script. | ||
# Update the variables in the script to match your local system locations for DATADIR. | ||
# In DATADIR should be the subdirectories 'images' and 'truth'. | ||
DATADIR=${HOME}/data/RomanDESCSims | ||
|
||
# In INFODIR should be transient_info_table.csv | ||
# transient_host_info_table.csv | ||
# We have these in tests/data for a few transients, so we can use those to test | ||
INFODIR=tests/data/RomanDESC | ||
DATASET=RomanDESC | ||
oid=41024123441 | ||
# Run from base directoroy | ||
python python/RomanDESCForwardModelLightcurves.py 41024123441 --infodir tests/data/RomanDesc --datadir ${DATADIR} --dataset RomanDESC | ||
python python/RomanDESCForwardModelLightcurves.py \ | ||
${oid} \ | ||
--infodir ${INFODIR} \ | ||
--datadir ${DATADIR} \ | ||
--dataset ${DATASET} |