-
Notifications
You must be signed in to change notification settings - Fork 8
Description
Hello,
I am trying to extract eye blinks from IC components, but some of the eyeCatcher private/*.mat files that need to be loaded for this don't appear to import correctly:
Warning: Variable 'pooledEyeScalpmap' originally saved as a scalpmap cannot
be instantiated as an object and will be read in as a uint32.
The pooledEyeScalpmap.mat file itself is >90M, but the imported vector is only 6x1 uint32.
The issue here might be more eyeCatcher related and not BLINKER related, but I thought I'd ask here since the last IC-related commit here was more recent than the last .mat files pushed to eyeCatcher.
The issue appears to come from the following load lines:
EEG-Blinks/blinker/utilities/+pr/eyeCatch.m
Lines 36 to 38 in 50fb621
| load('pooledEyeScalpmap.mat'); % load pooledEyeScalpmap varaible | |
| load('eyeChannelWeightNormalizedPart1.mat'); % load eyeChannelWeightNormalizedPart1 variable | |
| load('eyeChannelWeightNormalizedPart2.mat'); % load eyeChannelWeightNormalizedPart1 variable |
Commands used to run BLINKER on an EEGLAB set:
% First ran ICA so IC components would be available to BLINKER:
OUTEEG = pop_runica(ALLEEG)
params = checkBlinkerDefaults(struct(), getBlinkerDefaults(OUTEEG));
% Then updated parameters so BLINKER would use ICs:
params.signalTypeIndicator = 'UseICs';
% removed lines for brevity
[OUTEEG, com, blinks, blinkFits, blinkProperties, ...
blinkStatistics, params] = pop_blinker(OUTEEG, params);
Complete error trace seen (in context of the eyeCatch object being created):
Dot indexing is not supported for variables of this type.
Error in pr.eyeCatch (line 44)
if size(obj.eyeChannelWeightNormalized,1) ~=
obj.eyeScalpmapDatabase.numberOfScalpmaps
Error in getCandidateICs (line 61)
eyeDetector = pr.eyeCatch;
Error in getCandidateSignals (line 51)
signalLabels, params] = getCandidateICs(EEG, params);
Error in extractBlinksEEG (line 44)
signalLabels, params] = getCandidateSignals(EEG, params);
Error in pop_blinker (line 77)
[blinks, params] = extractBlinksEEG(EEG, params);
Error in eeglab_importdata_blinker (line 151)
blinkStatistics, params] = pop_blinker(OUTEEG, params);
Versioning information:
- Blinker v1.2.0 used.
- EEGLAB dev version pulled.
- .mat files downloaded directly from here as they didn't seem to get installed when using EEGLAB's plugin manager to get BLINKER.