neuralib.suite2p.core.get_s2p_coords

neuralib.suite2p.core.get_s2p_coords(s2p, neuron_list, plane_index, factor)[source]

Get the suite2p coordinates of all cells.

Parameters:
  • s2p (Suite2PResult) – Suite2PResult

  • neuron_list (int | list[int] | slice | ndarray | None) – neuron index or index list/arr. If None, then load all neurons

  • plane_index (int) – optic plane index

  • factor (float) – pixel to um factor

Returns:

CellularCoordinates

Return type:

CellularCoordinates