popsynth.selection_probability.spatial_selection module
- class popsynth.selection_probability.spatial_selection.SpatialSelection(name: str)[source]
Bases:
SelectionProbability
- __init__(name: str) None [source]
A generic spatial selection.
- Parameters
name (str) – Name of the selection
- set_spatial_distribution(spatial_distribtuion: SpatialDistribution) None [source]
Set the spatial distribution for the selection.
- Parameters
spatial_distribution (
SpatialDistribution
) – The spatial_distribution
- class popsynth.selection_probability.spatial_selection.GalacticPlaneSelection(name: str = 'galactic plane selector')[source]
Bases:
SpatialSelection
- b_limit