uvex_transients.models.supernovae.villar.VillarCoolingBlackbodySED.eval_spectrum_log_cgs#

classmethod VillarCoolingBlackbodySED.eval_spectrum_log_cgs(nu: NumericalInput, t: NumericalInput, **parameters: CGSParameterValue) → FloatResult#

Natural log of the normalized spectral shape, taking and returning plain cgs numbers.

Parameters:
  • nu (array-like) – Frequency, in Hz.

  • t (array-like) – Time since explosion, in seconds.

  • **parameters – This model’s parameter values, in cgs units. To evaluate several parameter realizations at once, give each parameter a leading batch axis.

Returns:

The natural log of the normalized spectral shape. A scalar is returned if the result is 0-dimensional.

Return type:

numpy.ndarray or float