Hello Everyone,
I am trying to plot recorded EEG signals in a .csv file. In the .csv file the unit is uV. Basically i read the data from csv file and plot it with MNE. But MNE takes these values as Volt not uVolt. Ex: 4150uV in csv file is 4150000000 uV in MNE. How can i fix this? I do not want to divide the data by 10^6 since i do not want lose precision. I could not find unit parameter in the functions.
I appreciate any comment. Than you.
path = 'xxx'
scale = dict(mag=1e-12, grad=4e-11, eeg=200, eog=150e-6, ecg=5e-4, emg=1e-3, ref_meg=1e-12, misc=1e-3, stim=1, resp=1, chpi=1e-4, whitened=1e2)
ch_names = ['F3','FC5','AF3','F7','T7','P7','O1','O2','P8','T8','F8','AF4','FC6','F4']
ch_types = ['eeg','eeg','eeg','eeg','eeg','eeg','eeg','eeg','eeg','eeg','eeg','eeg','eeg','eeg']
sfreq = 256
data = pd.read_csv(path + '.csv')
data = data.transpose()
info = mne.create_info(ch_names = ch_names, ch_types=ch_types, sfreq = sfreq)
raw = mne.io.RawArray(data, info)
raw.plot(clipping=None,title="EEG",scalings = scale)
- MNE version: 1.2.3
- operating system: Windows 10