popsynth.distributions.spiral_galaxy_distribution module
- class popsynth.distributions.spiral_galaxy_distribution.SpiralGalaxyDistribution(seed: int = 1234, name: str = 'spiral_galaxy', form: Optional[str] = None)[source]
Bases:
SphericalDistribution
- rho
- a
- b
- R1
- R0
- __init__(seed: int = 1234, name: str = 'spiral_galaxy', form: Optional[str] = None)[source]
A spiral galaxy spatial distribution.
- Parameters
seed (int) – Random seed
name (str) – Name of the distribution
form (str) – Mathematical description of distribution
rho (
DistributionParameter
) – Local densitya (
DistributionParameter
) – Shape parameterb (
DistributionParameter
) – Shape parameterR1 (
DistributionParameter
) – Scale parameterR0 (
DistributionParameter
) – Scale parameter