simrunsynaptic_strength_fittingPSPsget_synapse_coordinates

PSPs.get_synapse_coordinates

simrun.synaptic_strength_fitting.PSPs.get_synapse_coordinates(population, flatten=False, cell_indices=None)

Get the coordinates of all synapses of a particular celltype.

Parameters:
  • population (str) – The celltype to get the synapse coordinates from.

  • flatten (bool) – Whether to flatten the list of synapse coordinates. Default: False.

  • cell_indices (list) – A list of cell indices to get the synapse coordinates from. Default: None (all synapses).

Returns:

A list of synapse coordinates.

Return type:

list