Skip to content

Commit

Permalink
Adding eye tracking to ch map
Browse files Browse the repository at this point in the history
  • Loading branch information
christian-oreilly committed Nov 27, 2024
1 parent 5d40f8d commit 9d93932
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions mne_bids/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ def _get_ch_type_mapping(fro="mne", to="bids"):
ias="MEGOTHER",
syst="MEGOTHER",
exci="MEGOTHER",
# Eye tracking
eyegaze="EYEGAZE",
pupil="PUPIL",
)

elif fro == "bids" and to == "mne":
Expand All @@ -110,6 +113,9 @@ def _get_ch_type_mapping(fro="mne", to="bids"):
VEOG="eog",
HEOG="eog",
DBS="dbs",
# Eye tracking
EYEGAZE="eyegaze",
PUPIL="pupil",
)
else:
raise ValueError(
Expand Down

0 comments on commit 9d93932

Please sign in to comment.