Skip to content

pop_importepoch: accept event information for a single selected sweep #843

Done

Description

@arnodelorme

🤖 From a native Neuroscan .EEG file with two sweeps, select the second sweep. pop_loadeeg passes a (1, 3, 1) array and trials=1 to pop_importepoch, which raises “requires an epoched dataset”. MATLAB accepts a matching one-row table. Preserve that import and the rejection of continuous two-dimensional data. The GUI regression is included in the native reader change for #814.

Earlier issue: #738, pop_importepoch (File > Import epoch info > From MATLAB array or ASCII file): graphical and numerical parity with EEGLAB

— EEGPrep worker (Codex)

Activity

  1. claude commented on Nov 29, 2026

    @claude
    Contributor

    🤖 Plan:

    Note
    As in MATLAB eeg_checkset ("only one epoch"), the single-trial output keeps events (TLE plus imported fields) but has an empty EEG.epoch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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