Skip to content

v2.11 clean_rawdata ignores channel locations #894

@sfoneil

Description

@sfoneil

Description

Script that worked for v2.10 no longer works in 2.11
Error: undefined function 'design_kaiser' and on further investigation it's using


#### Steps to Reproduce

Biosemi 128 channel system + 4 used for EOG.
Steps (will still fail if I only do steps 1 and 6):

  1. Import .bdf, reference set to 1 (Cz), EDF+ annotations off
  2. Remove extraneous channels (keep 1:132)
  3. Import .ced file with locations for 1:128, EOG no locations. GUI shows that they were imported.
  4. Downsample to 512 Hz
  5. cleanline, default options
  6. ASR, default options

Immediate design_kaiser error on line 93, Command Window says it needed to use "clean_channels_nolocs" due to locations not being present.

Downgrading to v2.10 fixes it.


#### Expected behavior: clean_rawdata runs with channel locations recognized
#### Actual behavior: clean_rawdata fails (popup window in GUI, Command Window dump in script about design_kaiser line 93 undefined. But the real problem seems to be it uses the nolocs version of clean_channels when it should not.
#### Versions
OS version MacOS Sequoia 15.6.1 / Windows 10
Matlab version R2024b
EEGLAB version 2025.0.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions