uvex_transients.models.supernovae.villar.VillarCoolingBlackbodySED.flux_log_cgs#

classmethod VillarCoolingBlackbodySED.flux_log_cgs(nu: NumericalInput, t: NumericalInput, redshift: NumericalInput, luminosity_distance: NumericalInput, *, log_attenuation: NumericalInput | None = None, **parameters: CGSParameterValue) → FloatResult#

Natural log of the observed flux density, taking and returning plain cgs numbers.

Unlike flux_log(), redshift/luminosity_distance are not resolved from a cosmology here – pass already-computed values directly (e.g. a precomputed per-event grid).

Parameters:
  • nu (array-like) – Observed frequency (Hz) and time since explosion (s).

  • t (array-like) – Observed frequency (Hz) and time since explosion (s).

  • redshift (array-like) – Cosmological redshift, dimensionless.

  • luminosity_distance (array-like) – Luminosity distance, in cm.

  • log_attenuation (array-like, optional) – Natural log of an observed-frame multiplicative attenuation, added directly to the log flux. Must already broadcast against the natural output shape of this call.

  • **parameters – This model’s parameter values, in cgs units.

Returns:

The natural log of \(F_\nu\), in erg/s/cm^2/Hz. A scalar is returned if the result is 0-dimensional.

Return type:

numpy.ndarray or float