Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MRG: Add support for fNIRS NIRStar v15.0 files #6986

Merged
merged 6 commits into from
Oct 29, 2019

Conversation

rob-luke
Copy link
Member

What does this implement/fix?

Adds support for reading NIRX NIRStar version 15.0 files.

Additional information

This PR is dependent on mne-tools/mne-testing-data#56 being merged. Then the testing version needs to be incremented in this PR.

@codecov
Copy link

codecov bot commented Oct 27, 2019

Codecov Report

❗ No coverage uploaded for pull request base (master@799c2ec). Click here to learn what that means.
The diff coverage is 92.59%.

@@           Coverage Diff            @@
##             master   #6986   +/-   ##
========================================
  Coverage          ?   89.7%           
========================================
  Files             ?     430           
  Lines             ?   77024           
  Branches          ?   12531           
========================================
  Hits              ?   69095           
  Misses            ?    5132           
  Partials          ?    2797

@rob-luke rob-luke changed the title WIP: Add support for fNIRS NIRStar v15.0 files MRG: Add support for fNIRS NIRStar v15.0 files Oct 28, 2019
@rob-luke
Copy link
Member Author

@larsoner and @agramfort this is now ready for review/merge. Thanks

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

@rob-luke
Copy link
Member Author

rob-luke commented Oct 29, 2019

I also rethought the way short channels are positioned, and am now using the source location. I think this makes most sense, as the short channels are positioned as close to sources as possible by definition. Also adding a constant offset assumed we knew in what direction the offset was, which we dont.

@larsoner
Copy link
Member

Nice, looks more readable to me now. Thanks @rob-luke !

@larsoner larsoner merged commit 633689f into mne-tools:master Oct 29, 2019
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