spkit.data.eeg_sample_1ch

spkit.data.eeg_sample_1ch(ch=1, xtype='X_raw')

Load a single channel EEG sample recording of 16 second duration.

Recorded sample is a part of PhyAAt Dataset[1]

Parameters:
ch: int,
  • channel number, 0, 13

Returns:
x: 1d-array
fs: int,
  • sampling frequency

See also

eda_sample

Electrodermal activity (EDA)

gsr_sample

Galvanic Skin Response (GSR)

eeg_sample_14ch

Electroencephalography (EEG) - 14-channel

eeg_sample_artifact

Electroencephalography (EEG) processed

ecg_sample_12leads

Electrocardiogram (ECG) - 12-leads

ecg_sample

Electrocardiogram (ECG) - 1-lead

optical_sample

Optical Mapped Signal

ppg_sample

Photoplethysmogram (PPG)

egm_sample

Electrogram (EGM)

References

Examples

import numpy as np
import matplotlib.pyplot as plt
import spkit as sp
x,fs = sp.data.eeg_sample_1ch(ch=0)
t = np.arange(len(x))/fs
plt.figure(figsize=(12,3))
plt.plot(t,x)
plt.xlim([t[0],t[-1]])
plt.xlabel('time (s)')
plt.grid()
plt.show()
../../_images/spkit-data-eeg_sample_1ch-1.png

Examples using spkit.data.eeg_sample_1ch

Wavelet Filtering

Wavelet Filtering