Validation exercises for PLAsTiCC
Check example notebook for MODEL01
Emille - MODEL01
Kara - MODEL03
Mi -
David Jones/Lluis Galbany - MODEL 41, 42
Renee - MODEL50
Rafael - MODEL80
To make sure everyone is using the same version of Python,
there is an environment.yml that defines the content of a virtual
environment called plasticcval.
To create it first, run (only once)
conda env create -f environment.ymlNow everytime you need to use it
source activate plasticcvalYou should be running Python 3.6 and everything will be fine.
If you need to leave the environment
source deactivate
Set of tools for interacting with the supernovae simulations.
-
serialize_lsst_model.pyTakes as input a directory containing a run of simulations (e.g.
LSST_DDF_MODEL45) and returns a compressed dictionary (LSST_DDF_MODEL45.pkl.gzfile) of supernovae data index by their ID.Usage:
python serialize_lsst_model.py <LSST_sim_dir> # output file in current dir python serialize_lsst_model.py <LSST_sim_dir> --destination=<output_dir> python serialize_lsst_model.py --help # for help