popsynth.distributions.flatland_distribution module
- class popsynth.distributions.flatland_distribution.FlatlandDistribution(seed: int = 1234, name: str = 'flatland', form: Optional[str] = None)[source]
Bases:
SpatialDistribution
- Lambda
- __init__(seed: int = 1234, name: str = 'flatland', form: Optional[str] = None)[source]
A flat spatial distribution with only length.
- Parameters
seed (int) – Random seed
name (str) – Name of the distribution
form (str) – Mathematical description of distribution
Lambda (
DistributionParameter
) – Length