uvex_transients.models.spectra.powerlaw.PowerLawSpectrum.eval_log#

classmethod PowerLawSpectrum.eval_log(nu: Quantity, **parameters: ParameterValue) → FloatResult#

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

Parameters:
  • nu (Quantity) – Frequency, with frequency units.

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

Returns:

The natural log of \(S(\nu)\), in 1/Hz.

Return type:

numpy.ndarray or float

Raises:

TypeError – If nu is not a Quantity with frequency units.