You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Improve SourceEstimate information / provenance #14622
Mistakes like those mentioned in #14621 should be prevented in code if possible (e.g., shouldn't be able to use mean_flip with magnitude source estimates by default, maybe allowable if on_bad_mode="raise" default). This makes me think we should add some information to the *SourceEstimate classes. At a minimum, something like the source estimation method (dSPM, MNE, ...) and signed vs magnitude (not sure of a good name) would be good.
I am also not sure if this should live in *SourceEstimate classes themselves, or if we should implement some shiny new flexible SourceData class that could store labelized data (which could also still be signed, or not; also from different source estimation methods) in addition to / instead of / beside vertex-specific data. Easiest short-term would be to add to *SourceEstimate. Best long-term would be to design some specialized class. I'll open a separate issue for that.
My suggestion would be to start by trying to modify *SourceEstimate to have some of this info in a backward-compatible way, since I'd estimate it's probably a few hundred lines and can save users some pain. Then in the future we think and implement a SourceData class separately.
Activity