actsnclass.LightCurve.load_snpcc_lc

LightCurve.load_snpcc_lc(path_to_data: str)

Reads one LC from SNPCC data.

Populates the attributes: dataset_name, id, sample, redshift, sncode, sntype, photometry and sim_peakmag.

Parameters:path_to_data (str) – Path to text file with data from a single SN.