eradiate.scenes.atmosphere.ExponentialParticleDistribution#
- class eradiate.scenes.atmosphere.ExponentialParticleDistribution(rate=None, scale=None)[source]#
Bases:
ParticleDistribution
Exponential particle distribution [
exponential
].Returns values given by the normalized exponential PDF
\[f : x \mapsto \dfrac{\lambda e^{-\lambda x}}{1 - e^{-\lambda}}\]where \(\lambda = \mathtt{rate}\).
- Parameters:
- Fields:
rate (
float
) – Decay rate \(\lambda\).