spkit.data.eeg_sample_14ch

spkit.data.eeg_sample_14ch(fname='EEG16SecData.pkl')

Load 14 channel EEG sample recording of 16 second duration.

Recorded sample is a part of PhyAAt Dataset[1]

Returns:
X2d-array
fssampling frequency
ch_nameslist of channel names, in same order as signal

See also

eda_sample

Electrodermal activity (EDA)

gsr_sample

Galvanic Skin Response (GSR)

eeg_sample_1ch

Electroencephalography (EEG) - 1-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, ch_names = sp.data.eeg_sample_14ch()
t = np.arange(X.shape[0])/fs
sep = 300 
plt.figure(figsize=(10,6))
plt.plot(t,X + np.arange(X.shape[1])*sep)
plt.xlim([t[0],t[-1]])
plt.xlabel('time (s)')
plt.yticks(np.arange(X.shape[1])*sep,ch_names)
plt.grid()
plt.show()
../../_images/spkit-data-eeg_sample_14ch-1.png

Examples using spkit.data.eeg_sample_14ch

Release Highlights for spkit 0.0.9.7

Release Highlights for spkit 0.0.9.7