Skip to content

Drop-in EEGLAB AMICA replacement: equivalent output, no extra interpretation #92

Closed

Description

@neuromechanist

Goal

pyAMICA (and the native-Fortran build path) should be a drop-in replacement for EEGLAB's AMICA: the output must be directly equivalent, requiring no additional interpretation or re-ordering by the user. Phase 3 (#87) proved the decomposition is equivalent (backends recover the same ICs where well-determined); this issue tracks the output/convention parity that makes it a true replacement.

Requirements

  • Variance-ordered ICs by back-projected variance (EEGLAB convention, IC1 = highest variance), so component indices mean the same thing as in EEGLAB. (Started in Phase 3: Full matrix + CUDA multi-model cross-platform report #87's figure ordering.)
  • Output format parity: write results EEGLAB's loadmodout15 / pop_runamica can read (W, A, S/sphere, mean, c, LL, comp order) so a pyAMICA run drops into an existing EEGLAB workflow.
  • Sign/scale conventions matching EEGLAB so topomaps and activations line up without manual flips.
  • Same reduced-montage behavior (see Channel sweep should use spatially-distributed subsets, not the first N electrodes #91: spatially-distributed channel subsets).
  • A documented round-trip: run pyAMICA -> load in EEGLAB -> identical component maps/order.

Why

The value proposition is "use pyAMICA/GPU instead of EEGLAB AMICA and get the same answer, faster." Any step that needs manual reinterpretation (re-sorting ICs, flipping signs, reformatting output) undercuts that. Related: #87 (equivalence), #90 (data-size sweep), #91 (distributed channels).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions