uvex_transients.transients.supernovae.ShockCoolingIIb.event_rate#

ShockCoolingIIb.event_rate(z: float | NDArray[float64]) → float | NDArray[float64]#

Compute the comoving event rate density at redshift(s) z, \(R(z;A)=A f(z)\).

A thin product of rate (\(A\)) and rate_shape (\(f(z)\)); see those properties/methods, which concrete subclasses implement instead of this one.

Parameters:

z (float or numpy.ndarray) – Redshift(s) at which to evaluate the event rate.

Returns:

The event rate, in events / Mpc^3 / yr.

Return type:

float or numpy.ndarray