Skip to content

FIX: Improve covariance code #4676

Open
@larsoner

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)

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions