KnLc¶
- class rubin_sim.maf.maf_contrib.KnLc(file_list=None)¶
Bases:
object
Read in some KNe lightcurves
- Parameters:
- file_listlist of str (None)
List of file paths to load. If None, loads up all the files from data/bns/
Methods Summary
interp
(t, filtername[, lc_indx])Do the interpolation of the lightcurve for a given time and filter.
Methods Documentation
- interp(t, filtername, lc_indx=0)¶
Do the interpolation of the lightcurve for a given time and filter.
- Parameters:
- tarray of floats
The times to interpolate the light curve to.
- filternamestr
The filter. one of ugrizy
- lc_indexint (0)
Which file to use.