uvex_transients.models.core.base.SpectralModel.eval_spectrum_log#

classmethod SpectralModel.eval_spectrum_log(nu: Quantity, t: Quantity, **parameters: ParameterValue) → FloatResult[source]#

Natural log of the normalized spectral shape, given physical-unit inputs.

Parameters:
  • nu (Quantity) – Frequency at which to evaluate the shape.

  • t (Quantity) – Time since explosion.

  • **parameters – This model’s parameter values. See eval_log_cgs().

Returns:

The natural log of the normalized spectral shape, in 1/Hz.

Return type:

numpy.ndarray or float

Raises:

TypeError – If nu/t are not Quantities with frequency/time units.