Skip to content

OPM Pipeline#415

Merged
cgohil8 merged 10 commits intomainfrom
opm-pipeline
Mar 28, 2026
Merged

OPM Pipeline#415
cgohil8 merged 10 commits intomainfrom
opm-pipeline

Conversation

@cgohil8
Copy link
Copy Markdown
Collaborator

@cgohil8 cgohil8 commented Mar 28, 2026

Closes: #414.

Changes:

  • Added AMM.
  • Added functionality in meeg.rhino to affine transform a template MRI to match headshape points.

cgohil8 added 3 commits March 28, 2026 16:36
…uctural MRI

Adds rhino.generate_pseudo_mri() which scales a template MRI (default MNI152)
to match a participant's head shape from EinScan digitisation points. Includes
a new OPM preprocessing tutorial (doc/tutorials/0-2_opm_preprocessing.py).
Replaces the FLIRT-based pseudo-MRI generation with a simpler composable
approach: scale_surfaces_to_headshape takes an existing surfaces directory
and scales it to match headshape points via affine ICP. Uses pre-computed
MNI152 surfaces by default, avoiding BET/FLIRT entirely.
Adds osl_dynamics.meeg.amm module implementing the AMM method (Tierney et al.,
2024) for separating brain signals from environmental interference in OPM data.
Integrated into the OPM tutorial as the first preprocessing step.
cgohil8 added 3 commits March 28, 2026 16:44
Remove OPM tutorial from git (file kept locally). Add links to external
OPM and Canonical HMM tutorials on the documentation page.
@cgohil8 cgohil8 merged commit a25ced8 into main Mar 28, 2026
2 checks passed
@cgohil8 cgohil8 deleted the opm-pipeline branch March 28, 2026 18:12
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

Successfully merging this pull request may close these issues.

OPM Pipeline

1 participant