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

include OPM channels as megmag under .pick/get_coil_types() #1222

Merged
merged 6 commits into from
Jul 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,10 @@ authors:
family-names: Welzel
affiliation: 'Department of Neurology, Kiel University, Germany'
orcid: 'https://orcid.org/0000-0003-4782-5360'
- given-names: Amaia
family-names: Benitez
affiliation: 'Magnetoencephalography Core, National Institutes of Health, Bethesda, Maryland, USA'
orcid: 'https://orcid.org/0000-0001-6364-7272'
- given-names: Alexandre
family-names: Gramfort
affiliation: 'Université Paris-Saclay, Inria, CEA, Palaiseau, France'
Expand Down
1 change: 1 addition & 0 deletions doc/authors.rst
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,4 @@
.. _Pierre Guetschel: https://github.com/PierreGtch
.. _Mara Wolter: https://github.com/marakw
.. _Julius Welzel: https://github.com/JuliusWelzel
.. _Amaia Benitez: https://github.com/AmaiaBA
3 changes: 2 additions & 1 deletion doc/whats_new.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Version 0.16 (unreleased)

The following authors contributed for the first time. Thank you so much! 🤩

* nobody yet
* `Amaia Benitez`_

The following authors had contributed before. Thank you for sticking around! 🤘

Expand All @@ -37,6 +37,7 @@ Detailed list of changes
^^^^^^^^^^^^^^^^^^^^^^^^^^^

- :func:`mne_bids.read_raw_bids` no longer warns about unit changes in channels upon reading, as that information is taken from ``channels.tsv`` and judged authorative, by `Stefan Appelhoff`_ (:gh:`1282`)
- MEG OPM channels are now experimentally included, by `Amaia Benitez`_ (:gh:`1222`)

🛠 Requirements
^^^^^^^^^^^^^^^
Expand Down
5 changes: 5 additions & 0 deletions mne_bids/pick.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ def get_coil_types():
FIFF.FIFFV_COIL_NM_122,
FIFF.FIFFV_COIL_MAGNES_MAG,
FIFF.FIFFV_COIL_BABY_MAG,
# support for OPM data
FIFF.FIFFV_COIL_QUSPIN_ZFOPM_MAG, # QuSpin v1
FIFF.FIFFV_COIL_QUSPIN_ZFOPM_MAG2, # QuSpin v2
FIFF.FIFFV_COIL_FIELDLINE_OPM_MAG_GEN1, # FieldLine v1
FIFF.FIFFV_COIL_KERNEL_OPM_MAG_GEN1, # Kernel
),
megrefmag=(
FIFF.FIFFV_COIL_KIT_REF_MAG,
Expand Down