Skip to content

Conversation

@rob-luke
Copy link
Member

Reference issue

Preparation for #9141

What does this implement/fix?

Adds checking of fNIRs channel naming structure for data after transformation to chromophore.

Previously all testing was done on the raw data or after transformation to optical density. But with possibility of people creating their own data structures without the readers I have added additional error checking for the hbo/hbr data type.

Additional information

This is the last addition I have planned in preparation for #9141

@rob-luke
Copy link
Member Author

@larsoner could you please review. This should be the last improvement to these checks, I think I have covered most edge cases now (famous last words).

@rob-luke rob-luke changed the title WIP: Test fnirs channel structures for chromophore data MRG: Test fnirs channel structures for chromophore data Mar 23, 2021
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.

Otherwise LGTM

I'll push a commit for my suggestion since it's almost trivial, then we can merge

@larsoner larsoner merged commit 70709f5 into mne-tools:main Mar 23, 2021
@larsoner
Copy link
Member

Thanks @rob-luke !

@rob-luke
Copy link
Member Author

Thanks @larsoner

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.

2 participants