parsnip.ParsnipModel.decode_spectra

ParsnipModel.decode_spectra(encoding, phases, color, amplitude=None)

Predict the spectra at a given set of latent variables

Parameters:
  • encoding (FloatTensor) – Coordinates in the ParSNIP intrinsic latent space for each light curve

  • phases (FloatTensor) – Phases to decode each light curve at

  • color (FloatTensor) – Color of each light curve

  • amplitude (FloatTensor, optional) – Amplitude to scale each light curve by, by default no scaling will be applied.

Returns:

Predicted spectra

Return type:

FloatTensor