Skip to content

FIX: Improve covariance code #4676

Open

Description

@larsoner

Ideas from previous discussions:

  • Unify handling of rank between mne/cov.py and mne/viz/evoked.py:plot_evoked_white (esp. mag / grad parameters) (MRG: Add whitening to plots #4799)
  • Low rank computation to speed up fitting (esp. for SSS data), adapt from unused bits of [MRG] FIX/MAINT/ENH Covlove clip rank #4637 (MRG: Do regularization in PCA space #5481)
  • Have maxwell_filter with movecomp set the n_components in sss_info to the proportion of time a given MPM was used. (Currently it's binary, and it only uses the destination position.)
  • Have maxwell_filter set nfree based on the effective/estimated rank of the raw data, or from thresholding the float n_components?
  • Improve rank estimation code to deal with movement compensated data (which has time-varying rank) and also ICA (which can reduce rank but isn't stored in info)

Activity

  1. added this to the 0.16 milestone on Oct 17, 2017
  2. modified the milestones: 0.16, 0.17 on Feb 21, 2018
  3. self-assigned this
    on Apr 4, 2018
  4. modified the milestones: 0.17, 0.18 on Oct 4, 2018
  5. self-assigned this
    on Nov 6, 2018
  6. modified the milestones: 0.18, 0.19 on May 13, 2019
  7. modified the milestones: 0.19, 0.20 on Sep 11, 2019
  8. modified the milestones: 0.20, 0.21 on Mar 4, 2020
  9. removed this from the 0.21 milestone on Aug 31, 2020
  10. 19 remaining items

  11. added this to the 1.6 milestone on Jul 31, 2023
  12. modified the milestones: 1.6, 1.7 on Nov 7, 2023
  13. modified the milestones: 1.7, 1.8 on Apr 9, 2024
  14. modified the milestones: 1.8, 1.9 on Jul 15, 2024
  15. modified the milestones: 1.9, 1.10 on Dec 9, 2024
  16. modified the milestones: 1.10, 1.11 on Jun 26, 2025
  17. removed this from the 1.11 milestone on Nov 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions