popsynth.selection_probability.spatial_selection module¶
-
class
popsynth.selection_probability.spatial_selection.
SpatialSelection
(name: str)[source]¶ Bases:
popsynth.selection_probability.selection_probability.SelectionProbability
-
class
popsynth.selection_probability.spatial_selection.
GalacticPlaneSelection
(name: str = 'galactic plane selector')[source]¶ Bases:
popsynth.selection_probability.spatial_selection.SpatialSelection
-
__init__
(name: str = 'galactic plane selector')[source]¶ A selection that excludes objects near the galactic plane.
Parameters: - name (str) – Name of the selection
- b_limit (
SelectionParameter
) – Limit around Galactic plane to exclude in Galactic latitude and in units of degrees
-
b_limit
¶
-