Skip to content

Conversation

@HanBnrd
Copy link
Contributor

@HanBnrd HanBnrd commented Apr 11, 2021

Reference issue

Addresses #9141 (comment).

What does this implement/fix?

Use the info field to get NIRS frequencies and chromophores, not the raw structure.

Additional information

Extension of @rob-luke's work with #9280.
This should enable usage in functions that only have access to info, like set_montage.

@HanBnrd HanBnrd changed the title Use info for checking more NIRS metadata, not raw Use info to get NIRS metadata, not raw Apr 11, 2021
@HanBnrd HanBnrd changed the title Use info to get NIRS metadata, not raw MRG: Use info to get NIRS metadata, not raw Apr 11, 2021
@rob-luke
Copy link
Member

Fantastic, thanks @HanBnrd

@rob-luke
Copy link
Member

Not sure if I am allowed to merge PR?, so I just hit approve. So I will leave to @larsoner or @drammock.

Copy link
Member

@larsoner larsoner left a comment

Choose a reason for hiding this comment

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

Feel free to click the green button using squash+merge @rob-luke . If you don't have permission let me know and I'll grant it

@rob-luke rob-luke merged commit df6115e into mne-tools:main Apr 12, 2021
@rob-luke
Copy link
Member

Thanks @larsoner, I will hit the button from now on if there is already another approval and its fnirs related

@HanBnrd HanBnrd deleted the nirs-info branch April 12, 2021 05:38
larsoner added a commit to agramfort/mne-python that referenced this pull request Apr 12, 2021
* upstream/main:
  MRG: Return empty list of SSP projectors if no ECG, EOG events were found (mne-tools#9277)
  Better warning message for EDF files with annotations only (mne-tools#9283)
  FIX: Link [ci skip]
  FIX: Prepare for PyVista 0.30.0 (mne-tools#9274)
  Use info for checking more NIRS metadata, not raw (mne-tools#9282)
  MRG: Use info for checking NIRS metadata, not raw (mne-tools#9280)
  Fix issue where set ylim parameter gets swapped across channel types in plot_evoked_topo (mne-tools#9207)
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.

4 participants