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
My MEG data says this now with essentially anything I do:
~/tools/mne-python/mne/io/pick.py in pick_info(info, sel, copy)
406 'compensation channels are missing: %s\n'
407 'Either remove compensation or pick compensation '
--> 408 'channels' % (current_comp, comps_missing))
409 else:
410 logger.info('Removing %d compensators from info because '
RuntimeError: Compensation grade 3 has been applied, but compensation channels are missing: ['BG1-3609', 'BG2-3609', 'BG3-3609', 'G11-3609', 'G12-3609', 'G13-3609', 'G22-3609', 'G23-3609', 'P11-3609', 'P12-3609', 'Q11-3609', 'Q12-3609', 'Q13-3609', 'R12-3609', 'R13-3609', 'R22-3609', 'R23-3609']
Either remove compensation or pick compensation channels
... what? Happens, for example, when I do raw.pick_types(meg=True, ref_meg=False).
I can raw.apply_gradient_compensation(0), but then my data looks kind of shitty.
@jona-sassenhagen can you write a minimal example from a testing or mne/io/data/*.fif file? It will make it easy for us to test that fixes/workarounds from #5342 work. It would be good to get to this example in the next week so a fix can be made the next week to make it into 0.17.
@jona-sassenhagen any chance to make this gist quickly? There is a PR open to take care of most of these problems and it would be great to have this test case
Activity
jona-sassenhagen commentedon Jul 31, 2018
This works:
But it feels very wrong. And it doesn't work for many functions.
larsoner commentedon Jul 31, 2018
We have had a number of these. Should be fixed by #5342, feel free to comment on that proposal
agramfort commentedon Aug 1, 2018
@jona-sassenhagen what is a gist that allows to replicate this issue? you have a number of tiny CTF files in the mne-testing-data folder.
agramfort commentedon Aug 4, 2018
@jona-sassenhagen a fix along these lines #5388
please share a gist to know how we can fix this.
larsoner commentedon Oct 4, 2018
@jona-sassenhagen can you write a minimal example from a
testingormne/io/data/*.fiffile? It will make it easy for us to test that fixes/workarounds from #5342 work. It would be good to get to this example in the next week so a fix can be made the next week to make it into 0.17.larsoner commentedon Oct 8, 2018
@jona-sassenhagen any chance to make this
gistquickly? There is a PR open to take care of most of these problems and it would be great to have this test caselarsoner commentedon Oct 8, 2018
Okay actually I think this does it:
It fails on
masterbut passes on the open PR, fortunately![ENH] Warn when removing channels needed to compensation matrices. (#…