Documentation of eeglib.preprocessing module

This module define the functions for preprocessing the signal data

eeglib.preprocessing.bandPassFilter(data, sampleRate=None, highpass=None, lowpass=None, order=2)

Return the signal filtered between highpass and lowpass. Note that neither highpass or lowpass should be above sampleRate/2.

Parameters
data: numpy.ndarray

The signal

sampleRate: numeric, optional

The frequency at which the signal was recorded. By default it is the same as the number of samples of the signal.

highpass: numeric, optional

The signal will be filtered above this value.

lowpass: numeric, optional

The signal will be filtered bellow this value.

order: int, optional

Butterworth

Returns
numpy.ndarray

The signal filtered betwen the highpass and the lowpass