popsynth.distributions.delta_distribution module
- class popsynth.distributions.delta_distribution.DeltaDistribution(seed: int = 1234, name: str = 'delta')[source]
Bases:
LuminosityDistribution
- Lp
- __init__(seed: int = 1234, name: str = 'delta')[source]
A delta function luminosity distribution, centred on
Lp
.- Parameters
seed (int) – Random seed
name (str) – Name of the distribution
Lp (
DistributionParameter
) – The central value