Skip to content

Conversation

@rob-luke
Copy link
Member

@rob-luke rob-luke commented Jul 5, 2021

Reference issue

See https://mne.discourse.group/t/montage-either-not-saved-in-fif-or-not-read/3356

What does this implement/fix?

Ensures get_montage() works with fNIRS data

Additional information

  • The NIRx reader already worked with get_montage, so I added a test to ensure it keeps working.
  • Added info[dig] to the SNIRF reader. And added test that get_montage returns data.

I always find the digitisation stuff tricky, so please review critically (as always 😉)

@rob-luke rob-luke changed the title WIP: Test get_montage on fNIRS data MRG: Test get_montage on fNIRS data Jul 5, 2021
@rob-luke
Copy link
Member Author

rob-luke commented Jul 5, 2021

@larsoner @agramfort could you please review (assuming CIs go green).

@rob-luke
Copy link
Member Author

rob-luke commented Jul 5, 2021

Damn, I pinged too early. I will look at these errors... I forgot to commit a change.

Copy link
Member

@agramfort agramfort left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a what's new entry?

@larsoner merge if happy

thx @rob-luke !

@larsoner larsoner merged commit e1801ab into mne-tools:main Jul 6, 2021
@larsoner
Copy link
Member

larsoner commented Jul 6, 2021

Thanks @rob-luke

larsoner added a commit to larsoner/mne-python that referenced this pull request Jul 6, 2021
* upstream/main:
  MAINT: Avoid VTK 9.0.2 [skip actions] [skip circle] (mne-tools#9530)
  MRG: Test get_montage on fNIRS data (mne-tools#9524)
  FIX: fix topo plot when large channel distance gives rise to invalid values for arcsin (mne-tools#9528)
  use Polynomial.fit for poly fitting (mne-tools#9514)
larsoner added a commit to larsoner/mne-python that referenced this pull request Jul 6, 2021
* upstream/main:
  MRG, ENH: Abstracted volume registration again (mne-tools#9521)
  MAINT: Avoid VTK 9.0.2 [skip actions] [skip circle] (mne-tools#9530)
  MRG: Test get_montage on fNIRS data (mne-tools#9524)
  FIX: fix topo plot when large channel distance gives rise to invalid values for arcsin (mne-tools#9528)
  use Polynomial.fit for poly fitting (mne-tools#9514)
@rob-luke rob-luke deleted the getmontfnirs branch July 7, 2021 01:42
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.

3 participants