This code takes a light-curve (jd, magnitude and magnitude error) and finds the secondary bump in the R-band for type Ia supernovae. It can easily be adapted to measure the secondary bump in other photometric bands by changing the range of dates from which one expects a bump. For a more detailed account on this method and application see Papadogiannakis et al. 2017 (in prep).
Download or clone the repository, enter the directory, and run:
pip install .
This code is at an early stage and contributors and feature requests are welcome.