CoCo - v0.7.0
Core Collapse Supernovae templates
Developed by Szymon Prajs (S.Prajs@soton.ac.uk).
Originally designed by Natasha Karpenka.
Currently mainted by Szymon Prajs and Rob Firth.
This package is still in an active development phase and currently contains a number of known issues. We are working to fix them as quickly as possible! Full release is expected very shortly.
Installation
Future releases of the code will include a configure
file and follow the standard GNU autoconf routine.
Dependencies
pyCoCo
LCFit
, SpecFit
, SpecPhase
Usage
If you are already have a set of supernova templates or are using the default templates only,
you should use the pyCoCo
python binding around lcsim
.
To create new supernova templates run lcfit
-> specfit
-> specphase
in this order.
LCFit
lcfit lightcurve_file.*
lightcurve_file.*
must have four columns: MJD Flux Flux_error filter.
or
lightcurve_files_list.list
lightcurve_files_list.list
is a list of ligh curve files, all of which must follow the above convention.
SpecFit
specfit spectrum_file.* SN_name MJD redshift
or
specfit spectra_setup_file.list
spectra_setup_file.list
must have the following columns: path_to_spectrum SN_name MJD redshift.
SpecPhase
specphase SN_redshift_list.list filter_name
SN_redshift_list.list
must have three columns: SN_name redshift dist_mod
LCSim
LCSim SN_name redshift abs_mag_offset MJD_peak MJD_filters.list
or
lcsim setup_list.list
setup_list.list
must contain the following columns: SN_name redshift abs_mag_offset MJD_peak MJD_filters.list
MJD_filters.list
must contain two columns: MJD filter