-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Load NIRS data recorded using NIRStar v15.3 #8120
Comments
Have you tried first just hacking the code to allow a "15.3" string here: https://github.com/mne-tools/mne-python/blob/master/mne/io/nirx/nirx.py#L110-L111 Try making that change then following the fNIRS preprocessing tutorial: That will tell us if things at least mostly work already. Then someone will need to figure out what changed between 15.2 and 15.3 to see if we actually need to add test files, etc. If they only made irrelevant changes (e.g., changing fields we don't use or adding new fields we don't care about) then modifying the string in cc @rob-luke in case you have other ideas |
Hi again,
Indeed this seems to work! By adding "\"15.3\"" to the iterable in
L110-L111 of nirx.py I was able to run the tutorial scripts, with some
modifications to adapt to the sample data.
I should have done that first before posting anything. However, I was weary
about the downstream effects of such a simple modification. This alludes to
your point about needing to know what changed between 15.2 & 15.3.
We'll do more research on our side to see what the potential problems could
be. If anyone else can provide further insight, that would be great.
Thank you,
Dylan MK
Le ven. 14 août 2020 à 11:44, Eric Larson <notifications@github.com> a
écrit :
… Have you tried first just hacking the code to allow a "15.3" string here:
https://github.com/mne-tools/mne-python/blob/master/mne/io/nirx/nirx.py#L110-L111
Try making that change then following the fNIRS preprocessing tutorial:
https://mne.tools/dev/auto_tutorials/preprocessing/plot_70_fnirs_processing.html#sphx-glr-auto-tutorials-preprocessing-plot-70-fnirs-processing-py
That will tell us if things at least mostly work already.
Then someone will need to figure out what changed between 15.2 and 15.3 to
see if we actually need to add test files, etc. If they only made
irrelevant changes (e.g., changing fields we don't use or adding new fields
we don't care about) then modifying the string in master might already be
good enough.
cc @rob-luke <https://github.com/rob-luke> in case you have other ideas
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#8120 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALP3HTH2YEZVD4L436CK44DSAVLXTANCNFSM4P7S2ETA>
.
|
Thanks @DylanMannKrzisnik for looking into it. I'll leave this issue open until you report back whether there are any (relevant) differences between 15.2 and 15.3 |
I've contacted the NIRx support team and there are no changes to the file format which are relevant to our inquiry. This means that simply adding version 15.3 to the list of supported versions does the trick. Best, Dylan MK |
Would you be up for making a pull request to add it? |
Of course, will do.
Le ven. 14 août 2020 à 15:08, Eric Larson <notifications@github.com> a
écrit :
… Would you be up for making a pull request to add it?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#8120 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALP3HTEZ6OPBFV7EMXK5H5TSAWDRTANCNFSM4P7S2ETA>
.
|
This was fixed by #8122 |
Hello MNE users,
Following recommendations from the mailing list, I'm opening an issue with regards to loading NIRS data collected from a NIRx system, using NIRScout software version 15.3. Loading data using mne.io.read_raw_nirx() works for data collected using NIRScout versions 15.0 and. 15.2, but not 15.3.
I've created a repo to host some sample data. In short, it consists of a finger-tapping block-design experiment with bilateral motor coverage using 8 sources and 4 detectors. As mentioned in the repo's README file:
More info in the repo.
What would be the best way around this issue? If anyone has suggestions, my labmates and I can look into it. Just wanted to know if anyone has some advice. Let me know if anything is missing from the repo.
Regards,
Dylan Mann-Krzisnik
The text was updated successfully, but these errors were encountered: