spikeinterface
0.13.0

Contents:

  • Overview
  • Installation
  • Compatible Technology
  • Installing Spike Sorters
  • Getting started with SpikeInterface
  • Tutorials
    • Extractors tutorials
    • Toolkit tutorials
    • Sorters tutorials
    • Comparison tutorials
    • Widgets tutorials
      • RecordingExtractor Widgets Gallery
      • SortingExtractor Widgets Gallery
        • plot_rasters()
        • plot_isi_distribution()
        • plot_autocorrelograms()
        • plot_crosscorrelograms()
      • Recording+Sorting Widgets Gallery
      • Comparison Widgets Gallery
  • Spike sorting comparison methods
  • Contribute
  • API
  • Release notes
  • Contact Us
spikeinterface
  • Docs »
  • Tutorials »
  • SortingExtractor Widgets Gallery
  • Edit on GitHub

Note

Click here to download the full example code

SortingExtractor Widgets Gallery¶

Here is a gallery of all the available widgets using SortingExtractor objects.

import spikeinterface.extractors as se
import spikeinterface.widgets as sw

First, let’s create a toy example with the extractors module:

recording, sorting = se.example_datasets.toy_example(duration=10, num_channels=4, seed=0)

plot_rasters()¶

w_rs = sw.plot_rasters(sorting)
plot 2 sort gallery

plot_isi_distribution()¶

w_isi = sw.plot_isi_distribution(sorting, bins=10, window=1)
Unit 1, Unit 2, Unit 3, Unit 4, Unit 5, Unit 6, Unit 7, Unit 8, Unit 9, Unit 10

plot_autocorrelograms()¶

w_ach = sw.plot_autocorrelograms(sorting, bin_size=1, window=10, unit_ids=[1, 2, 4, 5, 8, 10, 7])
Unit 1, Unit 2, Unit 4, Unit 5, Unit 8, Unit 10, Unit 7

plot_crosscorrelograms()¶

w_cch = sw.plot_crosscorrelograms(sorting, unit_ids=[1, 5, 8], bin_size=0.1, window=5)
Unit 1, Units 1-5, Units 1-8, Units 5-1, Unit 5, Units 5-8, Units 8-1, Units 8-5, Unit 8

Total running time of the script: ( 0 minutes 1.440 seconds)

Download Python source code: plot_2_sort_gallery.py
Download Jupyter notebook: plot_2_sort_gallery.ipynb

Gallery generated by Sphinx-Gallery

Next Previous

© Copyright 2019, Alessio Paolo Buccino, Cole Hurwitz, Jeremy Magland, Matthias Hennig, Samuel Garcia Revision d153d12c.

Built with Sphinx using a theme provided by Read the Docs.