Skip to content

Commit

Permalink
include OPM channels as megmag under .pick/get_coil_types() (#1222)
Browse files Browse the repository at this point in the history
* include OPM channels as megmag under .pick/get_coil_types()

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* logging contributions

* clean merge main

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Stefan Appelhoff <[email protected]>
  • Loading branch information
3 people authored Jul 30, 2024
1 parent b7a2aec commit 3cbdbab
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 1 deletion.
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

0 comments on commit 3cbdbab

Please sign in to comment.