Questions tagged [eeglab]

EEGLAB is an interactive Matlab toolbox for processing continuous and event-related EEG, MEG and other electrophysiological data incorporating independent component analysis (ICA), time/frequency analysis, artifact rejection, event-related statistics, and several useful modes of visualization of the averaged and single-trial data.

EEGLAB is an interactive Matlab toolbox for processing continuous and event-related EEG, MEG and other electrophysiological data incorporating independent component analysis (ICA), time/frequency analysis, artifact rejection, event-related statistics, and several useful modes of visualization of the averaged and single-trial data.

72 questions
1
vote
1 answer

Summing Frequency Spectrums

I've a set of data from an EEG device from which I want to find the strength of different brain waves in Matlab. I tried to use EEGLAB but I wasn't really sure how, so at this point I'm simply using the dsp toolbox in Matlab. For background: I've…
anon
  • 407
  • 2
  • 12
1
vote
0 answers

Adding new header fields to EDF files

I have a EDF file to which I need to add some extra header fields. For example, I want to add these two new fields. header.startFrame=1 and header.endFrame=10; But when I create these two fields in the header structure, the lab_write_edf from the…
Naveen
  • 458
  • 1
  • 10
  • 29
1
vote
1 answer

Error using load; Unable to read file matlab

I am trying to open a dialog box that prompts the user to select a file and then using that file in a function written for a matlab toolbox called EEGLAB. The code is as follows: [F,PathName,FilterIndex] = uigetfile({'*.*','All Files(*.*)'},…
Maheen Siddiqui
  • 539
  • 8
  • 19
0
votes
1 answer

creating epochs of eeg signal using events and class labels

i am processing a eeg signal acquired by showing 10 image of each of 40 classes. i want to label the signals converted to epochs to their corresponding class labels. i extracted events data as: raw = mne.io.read_raw_bdf(raw_file, preload…
0
votes
0 answers

EEG file TDMS format to Mat file

I have an EEG file stored in TDMS format, unfortunately the eeg device file converter wasn't working and I had to take the TDMS file, now I want to analyze it with Matlab eeglab, and it wont work since eeglab doesn't read TDMS file, i tried several…
Tyrande
  • 15
  • 8
0
votes
0 answers

while running ICA in eeglab only .set file is created but not .fdt file. Looking forward for solution

we are running ICA on EEGLAB on an hd eegdata set to assess ERP. However, few eeg files could able to generate only .set file but not .fdt files. How to solve this problem ? seeking solution to create both .set and .fdt file
0
votes
0 answers

Calculate average power of EEG interval using MATLAB

I have EEG data from 42 participants (stored as .mat files in "from_path" directory). Each data file contains about 25,000 - 30,000 time stamps and 16 channels. I want to split the data into 3 intervals: from 1 to n1, from n1 to n2, and from 2 to…
0
votes
1 answer

How to use EEGLAB "pop_loadset" with Oct2py

I'm trying to work on a eeg file which is in .mat format. And I need to convert it to a eeglab format, pop_loadset is supposed to do that. But it's not working. I can read the file using scipy.io.loadmat(). But I don't know how to work with that…
0
votes
0 answers

Making an ERDS graph using numpy or rawarray files

I have a project where I have to create an ERDS graph for EEG signals. Only problem is sample codes are only used for edf files. For starters, I have only used one of the files gathered from my collection which is a numpy file. I managed to get a…
0
votes
0 answers

Not finding file using pop_loadbv function

I'm using EEGLab and I'm having an issue. Indeed, I'm trying to load a vhdr files in order to preprocess datas. However, an error message occurs each time. The error message goes as followed: "Error using fopen Unable to find file. Ensure file…
LordGaga
  • 13
  • 3
0
votes
0 answers

EEG signal event sipliting

I am trying to write a code in matlab that iterate throw 109 folder and each folder has .edf files inside it I am trying to process into all these .edf files base on their names which named enumerated and then store all the events that splited in…
0
votes
0 answers

Running a for loop with an ICA/AMICA without a window for each participant

I'm trying to create a for loop allowing me to run an AMICA for every participant on EEGLab using Matlab. Here's the script. On each participant, I have to click "OK" on a window and I'd like instead to let the program run everything. Is there a way…
LordGaga
  • 13
  • 3
0
votes
0 answers

How to select a baseline epoch (for normalisation) with a different duration to trial epochs in EEGLAB?

I'm working with EMG data in EEGLAB (v2022.0)/MATLAB (R2022a) - I've filtered and rectified the data and now I'd like to express the mean amplitude of 10s epochs as a percentage of the mean amplitude of a baseline epoch of 2s. However, I'm having…
0
votes
1 answer

How to use a variable in Matlab's eeglab function

I am attempting to use the following function in Matlab's eeglab toolkit to rename events, which meet certain criteria (i.e., their latency is between two numbers): EEGfastrts = pop_selectevent( EEG, 'latency',’0 <=…
arkadiy
  • 746
  • 1
  • 10
  • 26
0
votes
0 answers

I got sinusoidal noise in evoked object in mne python

I have a eeg recording with sfreq of 2500 Hz, I tried to preprocess it with mne, as following: (resampling, filtering, interpolating bad channels, ICA, setting eeg reference) but looking at evokes, there is a sinusoidal noise in it, which I don't…