parsnip.ParsnipModel.predict_light_curve

ParsnipModel.predict_light_curve(light_curve, sample=False, count=None, sampling=1.0, pad=50.0)

Predict the flux of a light curve on a grid

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

  • sample (bool, optional) – If True, sample from the latent variable posteriors. Otherwise, use the MAP. By default False.

  • count (int, optional) – Number of light curves to predict, by default None (single prediction)

  • sampling (int, optional) – Grid sampling in days, by default 1.

  • pad (int, optional) – Number of days before and after the light curve observations to predict the light curve at, by default 50.

Returns:

  • ndarray – Times that the model was sampled at

  • ndarray – Flux of the model in each band

  • ndarray – Model result from ParsnipModel.forward