popsynth.distributions.schechter_distribution module
- class popsynth.distributions.schechter_distribution.SchechterDistribution(seed: int = 1234, name: str = 'schechter')[source]
Bases:
LuminosityDistribution
- Lmin
- alpha
- __init__(seed: int = 1234, name: str = 'schechter')[source]
A Schechter luminosity function as in Schechter, Astrophysical Journal, Vol. 203, p. 297-306 (1976).
- Parameters
seed (int) – Random seed
name (str) – Name of the distribution
Lmin (
DistributionParameter
) – Minimum value of the luminosityalpha (
DistributionParameter
) – Index of the distribution