Skip to content

signalTypeIndicator = 'UseICs' may require additional steps for loading in topomaps from .mat files #9

@3x10e8

Description

@3x10e8

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:

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions