example_minimal_eeg_acquisition#

EEG measurement example

Example how to get measurements using brainaccess library

Change Bluetooth device name to your device name (line 68)

Attributes#

Functions#

butter_bandpass(lowcut, highcut, fs[, order])

Design a bandpass Butterworth filter.

butter_bandpass_filter(data, lowcut, highcut, fs[, order])

Apply a bandpass Butterworth filter to the data.

Module Contents#

example_minimal_eeg_acquisition.butter_bandpass(lowcut, highcut, fs, order=2)[source]#

Design a bandpass Butterworth filter.

Parameters:
  • lowcut (float)

  • highcut (float)

  • fs (int)

  • order (int)

Return type:

numpy.ndarray

example_minimal_eeg_acquisition.butter_bandpass_filter(data, lowcut, highcut, fs, order=2)[source]#

Apply a bandpass Butterworth filter to the data.

Parameters:
  • data (numpy.ndarray)

  • lowcut (float)

  • highcut (float)

  • fs (int)

  • order (int)

Return type:

numpy.ndarray

example_minimal_eeg_acquisition.device_name = 'BA HALO 001'[source]#