lcdata.parse_light_curve

lcdata.parse_light_curve(light_curve, parse_meta=True, verbose=False)

Parse a light curve and convert it to lcdata format.

We currently assume that the light curve has a zeropoint of 25 in the AB magnitude system. The zeropoint/zpsys columns that are present in sncosmo-formatted light curves are ignored. This should be improved at some point.

Parameters
  • light_curve (Table) – Input light curve in an arbitrary format

  • parse_meta (bool, optional) – Whether to parse the metadata, by default True

Returns

Light curve in lcdata format

Return type

Table