neuralib.rastermap.plot.plot_cellular_spatial

neuralib.rastermap.plot.plot_cellular_spatial(result, xpos, ypos, ax=None, output=None, **kwargs)[source]

Plot spatial location of each cell cluster by rastermap

Parameters:
  • result (RasterMapResult) – RasterMapResult

  • xpos (ndarray) – soma central X position.`Array[float, N]`

  • ypos (ndarray) – soma central Y position.`Array[float, N]`

  • ax (Axes | None) – Axes

  • output (str | Path | PathLike[str] | None) – output path for figure save. If None then show

  • kwargs – additional arguments pass to ax.set()

Returns: