Skip to content

eeg_picard accepts weak MATLAB correlation because whitening differs #456

Closed

Description

@cursor

tests/test_eeg_picard.py matches components by correlation and passes when every component reaches 0.65 (compare_ica_components(..., atol=0.35)). Python picard whitens with NumPy and MATLAB picard uses its own PCA, so some components land around 0.65–0.70 while the mean is about 0.95.

The loose floor was only documented in comments. Tighten it once both sides use the same whitening, or lock the current gap with a test that fails if correlation drops further for a reason other than whitening.

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