# -*- coding: utf-8 -*-
"""
=============================
Filtering electrodes
=============================

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

"""

# 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()

0700a5b9e8287dbe9d6526bfd8ca3f339295cd47
<mask token>

<mask token>
bo.plot_data()
bo.plot_locs()
bo.info()
<mask token>
bo.plot_data()
bo.plot_locs()
bo.info()

<mask token>
bo = se.load('example_filter')
bo.plot_data()
bo.plot_locs()
bo.info()
bo.filter = None
bo.plot_data()
bo.plot_locs()
bo.info()

<mask token>
import supereeg as se
bo = se.load('example_filter')
bo.plot_data()
bo.plot_locs()
bo.info()
bo.filter = None
bo.plot_data()
bo.plot_locs()
bo.info()

# -*- coding: utf-8 -*-
"""
=============================
Filtering electrodes
=============================

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

"""

# 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()
