Comments (14)
from clean_rawdata.
@arnodelorme
Dear Prof. Delorme,
I have just sent you a link to the dataset via email. Please have a look at it. Thank you for your reply and your help!
Best regards,
Samuel
from clean_rawdata.
from clean_rawdata.
This was because you have twice channel Cpz.
from clean_rawdata.
Thank you for your help and pointing out where the problem lies, Prof. Delorme. I tried to identify the second Cpz, but I can find one only. Please see the channel data plot below. Could you please tell me how I could exclude the second Cpz to prevent the error "vis_artifacts failed"? Thank you so much!
Best regards,
Samuel
from clean_rawdata.
This is because your script adds a second channel CPz
EEG=pop_chanedit(EEG, 'lookup',fullfile(p, 'plugins','dipfit','standard_BEM','elec','standard_1005.elc'),'append',34,'changefield',{35,'labels','CPz'},'lookup',fullfile(p,'plugins','dipfit','standard_BEM','elec','standard_1005.elc'),'setref',{'1:34','CPz'});
from clean_rawdata.
I renamed it CPz2 and then was able to get the visualization. I have added a more informative error.
from clean_rawdata.
This is because your script adds a second channel CPz
EEG=pop_chanedit(EEG, 'lookup',fullfile(p, 'plugins','dipfit','standard_BEM','elec','standard_1005.elc'),'append',34,'changefield',{35,'labels','CPz'},'lookup',fullfile(p,'plugins','dipfit','standard_BEM','elec','standard_1005.elc'),'setref',{'1:34','CPz'});
@arnodelorme
Dear Prof. Delorme,
I am grateful for your reply.
I am sorry that I forgot to say the data were referenced to CPz online. Because the data were referenced to CPz online, CPz does not show up in the channel data plot. Below is what the channel data look originally after I import the data to EEGLAB. CPz does not appear.
Therefore, I want to add back the online reference channel CPz. I follow the steps below.
First, I go to Edit > Channel locations, and I choose the default MMI coordinate file.
Second, in the window, I go to the last channel page (i.e. Trigger), and I click "Append".
Third, I type "CPz", which is the online reference channel, in the field "Channel label ("label")". Then, I click "Look up locs", and choose the MNI coordinate file again.
Fourth, I click "Set reference", and type "1:34" in the field "Channel indices" and type "CPz" in the field "Reference".
I follow the 4 steps above to specify that CPz is the reference channel. These steps result in the line of code you quoted:
EEG=pop_chanedit(EEG, 'lookup',fullfile(p, 'plugins','dipfit','standard_BEM','elec','standard_1005.elc'),'append',34,'changefield',{35,'labels','CPz'},'lookup',fullfile(p,'plugins','dipfit','standard_BEM','elec','standard_1005.elc'),'setref',{'1:34','CPz'});
Could I ask what I should do to add back the online reference channel CPz in the right way such that the dataset does not have 2 CPz?
I am so sorry that I have been asking so many questions. I really hope to learn how to solve this kind of problem but I am so inexperienced to solve them myself.
Best regards,
Samuel
from clean_rawdata.
Also, I have tried renaming CPz to CPz2. However, I still cannot plot rejected data after using "Clean_rawdata()".
I think how I do this is not standard but I rename the channel like this:
First, I type "CPz" to the field "Channel label ("label")", and I click "Look up locs" and choose the default MNI coordinate file.
Second, I manually rename "CPz" to "CPz2" without changing any values in all fields. Then, I click "Set reference". I type "1:34" in the field "Channel indices", and type "CPz2" in the field "Reference".
Thank you!
Best regards,
Samuel
from clean_rawdata.
from clean_rawdata.
@arnodelorme
No problem. Thank you for taking your time to help me!
from clean_rawdata.
from clean_rawdata.
Dear Professor Delorme,
I'm encountering the same problem with the actuals last version of matlab and eeglab, and version 2.8 of clean raw data. I'm loading eeg_data.set from the sample data file and then running clean raw data - ASR. I'm always getting the same error message (please see photos below).
Best regards,
Sacha Assadourian
from clean_rawdata.
Also, according to a recent video you've upload on youtube 4 month ago, i tried the manipulation on those following version : MatlabR 2021b and eeglab v2022.1. It's still not working.
Best regards,
Sacha Assadourian
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
- 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.