axon_population.set_geometry
- axon_population.set_geometry(geometry: None | Type[CShape] = None, center: tuple[float, float] = None, radius: None | float | tuple[float, float] = None, rot: float = 0, degree: bool = False, diameter: None | float | tuple[float, float] = None, discard_placement: bool = False)[source]
Set the geometry of the population
- Parameters:
center (tuple[float, float], optional) – Center of the shape, by default (0, 0)
radius (float | tuple[float, float], optional) – Radius of the shape, by default 10
rot (None | float, optional) – Rotation of the shape, by default None
diameter (None | float | tuple[float, float], optional) – Diameter of the shape. If None, radius value is used to define the shape, by default None
discard_placement (bool) – If true and a unplace an potential population already placed. Else, only discard the axon not fiting in the geometry, by default False