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 curvephases (
FloatTensor) – Phases to decode each light curve atcolor (
FloatTensor) – Color of each light curveamplitude (
FloatTensor, optional) – Amplitude to scale each light curve by, by default no scaling will be applied.
- Returns:
Predicted spectra
- Return type:
FloatTensor