Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH: Allow mne coreg to adjust other dataset properties for OPM data #12179

Open
larsoner opened this issue Nov 6, 2023 · 1 comment
Open

Comments

@larsoner
Copy link
Member

larsoner commented Nov 6, 2023

For OPM data, it would be convenient to allow mne coreg to adjust more than just the head_mri_t (by writing -trans.fif files, which it does currently).

Even with our existing OPM dataset from years ago, the head and MRI coordinate frames are taken as equal, which they shouldn't be. We should allow for using the current (in the GUI) sensor<->MRI relationship and use the current LPA/Nasion/RPA (from the MRI) to correct the LPA/Nasion/RPA in info['dig'], which in turn should update the head coordinate frame definition, which in turn should change the rest of info['dig'], info['chs][ii]['loc'], info['dev_head_t'], etc.

Adapted from #11405

@larsoner
Copy link
Member Author

larsoner commented Nov 6, 2023

... as part of this, we probably will want to add the ability to tell ICP fitting to use the MEG sensor locations as if they were digitization points as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant