parsnip.plot_light_curve

parsnip.plot_light_curve(light_curve, model=None, count=100, show_uncertainty_bands=True, show_missing_bandpasses=False, percentile=68, normalize_flux=False, sncosmo_model=None, sncosmo_label='SNCosmo Model', ax=None)

Plot a light curve

Parameters:
  • light_curve (Table) – Light curve to plot

  • model (ParsnipModel, optional) – ParSNIP model to show, by default None

  • count (int, optional) – Number of samples from the ParSNIP model, by default 100

  • show_uncertainty_bands (bool, optional) – If True (default), show uncertainty bands. Otherwise, show individual draws.

  • show_missing_bandpasses (bool, optional) – Whether to show model predictions for bandpasses where there is no data, by default False

  • percentile (int, optional) – Percentile for the uncertainty bands, by default 68

  • normalize_flux (bool, optional) – Whether to normalize the flux, by default False

  • sncosmo_model (Model, optional) – SNCosmo model to show, by default None

  • sncosmo_label (str, optional) – Legend label for the SNCosmo model, by default ‘SNCosmo Model’

  • ax (axis, optional) – Matplotlib axis to use for the plot, by default one will be created