kymata-atlas / kymata-core

Core Kymata codebase, including statistical analysis and plotting tools
https://kymata.org
MIT License
5 stars 0 forks source link

Adds eSSS and eeg projection #347

Closed neukym closed 3 months ago

neukym commented 3 months ago

This PR aims to fix:

neukym commented 3 months ago

eSSS makes no difference, testing with manual removal of 2 main mag and grad components before max filtering.

neukym commented 3 months ago

testing with manual removal of 2 main mag and grad components before max filtering.

This doesn't work - maxfilter appears to realise that these have been applied and raises a usage error at runtime RuntimeError: Projectors cannot be applied to data during Maxwell filtering.. I'm not clear why the writers of maxfilter would raise this - removing emptyroom projectors seems like a potentially good idea (the first components explains var=17.7% (for planar) and var=68.2% for axial magnotometers respectively for Russian; var=13% and var=63.9% for English)

In any case, I am removing any attempt to use the entering projectors from the pipeline for the moment.