neuralib.suite2p.plot.plot_soma_center

neuralib.suite2p.plot.plot_soma_center(ax, s2p, neuron_ids=None, *, invert_xy=True, with_index=True, font_size=5, **kwargs)[source]

Plot center of roi soma and its corresponding index

Parameters:
  • ax (Axes) – matplotlib.axes.Axes

  • s2p (Suite2PResult) – Suite2PResult

  • neuron_ids (ndarray | None) – index ROIs array or bool mask array. Array[int|bool, N]

  • invert_xy (bool) – If invert the FOV xy pixel

  • with_index (bool) – whether plot the index ROI index nearby

  • font_size (float) – font size of the text

  • kwargs – additional args to plt.scatter()

Return type:

None