uvex_transients.models.spectra.powerlaw.PowerLawSpectrum.eval_log_cgs#

classmethod PowerLawSpectrum.eval_log_cgs(nu: NumericalInput, **parameters: CGSParameterValue) → FloatResult#

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

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

  • **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 \(S(\nu)\), in 1/Hz. A scalar is returned if the result is 0-dimensional.

Return type:

numpy.ndarray or float