Skip to content

emilleishida/PLAsTiCC_Validation

Repository files navigation

PLAsTiCC_Validation

Validation exercises for PLAsTiCC

Check example notebook for MODEL01

Current Validation tasks

Emille - MODEL01

Kara - MODEL03

Mi -

David Jones/Lluis Galbany - MODEL 41, 42

Renee - MODEL50

Rafael - MODEL80


Conda environment

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.yml

Now everytime you need to use it

source activate plasticcval

You should be running Python 3.6 and everything will be fine.

If you need to leave the environment

source deactivate

validutils

Set of tools for interacting with the supernovae simulations.

Scripts

  • serialize_lsst_model.py

    Takes as input a directory containing a run of simulations (e.g. LSST_DDF_MODEL45) and returns a compressed dictionary (LSST_DDF_MODEL45.pkl.gz file) 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

About

Validation exercises for PLAsTiCC

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published