lcdata.Dataset

class lcdata.Dataset(meta, light_curves=None)

A dataset of light curves.

Parameters
  • meta (Table) – Metadata table.

  • light_curves (List[Table], optional) – List of light curves where each light curve is represented by an astropy Table.

__init__(meta, light_curves=None)

Methods

__init__(meta[, light_curves])

add_meta(meta[, suffix, warn_on_disagreement])

Add additional metadata into the dataset.

get_lc([key])

get_sncosmo_lc(key, **kwargs)

Get a light curve in sncosmo format.

write_hdf5(path[, append, overwrite, ...])

Write the dataset to an HDF5 file