Comments (2)
Thanks, Arno.
Here's what I notice.
Subject 2 has the following number of events, as indexed by "cell2mat({EEG.event.type})":
1 has 181 events (stimulus onset, Easy Trial)
2 has 149 events (stimulus onset, Hard Trial)
3 has 152 events (Correct Response, Easy)
4 has 141 events (Correct Response, Hard)
9 has 19 events (Incorrect Response, Easy)
10 has 21 events (Incorrect Response, Hard)
254 has 1 events (Start task code)
This is a basic Flankers task with 2 events per trial (stimulus onset and the subject response) and 330 trials.
After running EEG = clean_artifacts(EEG,'FlatlineCriterion',5,'ChannelCriterion',0.8,'LineNoiseCriterion',4,'Highpass',[0.25 0.75],'BurstCriterion',10,'Distance','Euclidian','WindowCriterionTolerances',[-Inf 7]), the events count will match the original file's events count.
If I run the full clean_artifacts function from the GUI with BurstRejection 'On' and Window Criterion set to 0.25), then the events are converted to cell arrays, probably because of 'boundary'. In any case, I can only count the events using '{ EEG.event.type }':
1 has 180 events
10 has 5 events
2 has 134 events
3 has 82 events
4 has 87 events
9 has 6 events
boundary has 345 events
Thus, the full default clean_artifacts removed a large portion of subject response codes without removing many stimulus codes, but also added a tremendous number of "boundary" event flags. Using a more lax or more aggressive value for Window Criterion does not help the situation.
Data is collected with a Biosemi system and 34 channels of EEG plus VEGO+, VEGO-, HEOG+, HEOG-, Mastoid 1, Mastoid 2. I’m using eeglab2019b on Matlab 9.7.0.1190202, 64-bit.
from clean_rawdata.
I have checked and using a higher value is less agressive.
from clean_rawdata.
Related Issues (20)
- When 'eeglab' is called before running clean_rawdata(), the output changes. HOT 1
- excluding the externals from being impacted by the function HOT 5
- vis_artifacts compatibility issue between matlab versions HOT 1
- Error in pop_clean_rawdata when calling multiple datasets HOT 2
- Citation of Bad Channel Removal Methods HOT 1
- Investigate effect of RAM on performance HOT 3
- Unable to see artifact visualization HOT 13
- ASR burst criterion default threshold HOT 2
- BUG - version 2.6-seeding the RNG in MATLAB 2020a HOT 1
- Different results with repeated runs of clean_rawdata HOT 4
- High sampling rate problem (60 000 Hz) HOT 2
- Consult about "vis_artifacts failed" & "Skipping visualization" HOT 14
- Memory error HOT 7
- Discrepancies between EEG.etc.clean_sample_mask, EEG.event boundaries, and clean file length (EEG.pnts) after using clean_rawdata and ASR HOT 9
- Problem with no latency field is present (and no events) HOT 1
- Problem adding back channels removed HOT 1
- Unsolved mystery using average reference HOT 1
- I wonder if it's working? HOT 1
- Possible mistake in clean_asr: window_len parameter does not seem to be passed down from clean_asr to asr_calibrate? HOT 2
- is continuity of calibration data important? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clean_rawdata.