Filtering electrodesΒΆ

This example filters electrodes based on kurtosis thresholding (default=10).

  • ../_images/sphx_glr_plot_filtering_001.png
  • ../_images/sphx_glr_plot_filtering_002.png
  • ../_images/sphx_glr_plot_filtering_003.png
  • ../_images/sphx_glr_plot_filtering_004.png

Out:

Number of electrodes: 40
Recording time in seconds: [10.00186035]
Sample Rate in Hz: [499.907]
Number of sessions: 1
Date created: Mon Jan 15 14:39:35 2018
Meta data: BW013
Number of electrodes: 40
Recording time in seconds: [10.00186035]
Sample Rate in Hz: [499.907]
Number of sessions: 1
Date created: Mon Jan 15 14:39:35 2018
Meta data: BW013

# Code source: Lucy Owen & Andrew Heusser
# License: MIT

# import
import supereeg as se

# load example data
bo = se.load('example_filter')

# plot filtered data as default
bo.plot_data()

# plot filtered locations as default
bo.plot_locs()

# 37 locations
bo.info()

# or you can set filter to None if you want to plot original data
bo.filter = None

# plot unfiltered data
bo.plot_data()

# plot unfiltered locations (in aqua)
bo.plot_locs()

# 40 locations
bo.info()

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

Gallery generated by Sphinx-Gallery