.. _sphx_glr_auto_examples_plot_filtering.py: ============================= Filtering electrodes ============================= This example filters electrodes based on kurtosis thresholding (default=10). .. rst-class:: sphx-glr-horizontal * .. image:: /auto_examples/images/sphx_glr_plot_filtering_001.png :scale: 47 * .. image:: /auto_examples/images/sphx_glr_plot_filtering_002.png :scale: 47 * .. image:: /auto_examples/images/sphx_glr_plot_filtering_003.png :scale: 47 * .. image:: /auto_examples/images/sphx_glr_plot_filtering_004.png :scale: 47 .. rst-class:: sphx-glr-script-out 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-block:: python # 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) .. only :: html .. container:: sphx-glr-footer .. container:: sphx-glr-download :download:`Download Python source code: plot_filtering.py ` .. container:: sphx-glr-download :download:`Download Jupyter notebook: plot_filtering.ipynb ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_