-
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
add support for NIRStar 14.2 files #10147
Comments
Hello! 👋 Thanks for opening your first issue here! ❤️ We will try to get back to you soon. 🚴🏽♂️ |
Can you share the problematic file? Or even better, any chance you could record a little 1 sec data file from this system and share that so we could add it to our tests? |
cc @rob-luke |
Sure, Please find enclosed an example of data that gives me that issue I am looking forward to hearing from you |
Hi @mlrocca, Thanks for this very clear report. MNE currently only supports reading NIRx data from NIRStar version 15.0 and above. Whereas, you are trying to read data acquired with NIRStar version 14.2. I don't think the file format changed very much, so adding support might not be too much effort. Could you open a PR to add support for older NIRx files? |
This might also be related to #7891 where we had issues handling dates with formats other than Australian English. |
Thank you, I opened a new issue to add support for older NIRx versions. If there is also the issue of the dates, is it possible to fix that too? Best, |
Ok thank you, how long do you think you will take to implement that feature? Are you going to advice me when it will be implemented? |
I don't know. The winter holidays mean many of our developers are not available right now.
The pull request that fixes the issue will be linked here and will automatically close this issue when it is merged in. Unless you've disabled it in your GitHub notification settings, you will get a notification when that happens. |
Hi, any update on the implementation of the feature in the object? |
Describe the new feature or enhancement
Please provide a clear and concise description of what you want to add or
change.
I am trying to import my fNIRS data with
mne.io.read_raw_nirx("/Users/name/Downloads/PROTOCOLLO_TDCS_FILE_GREZZI/SHAM/CONTROLLI/2018-11-27_002/")
but I have this error message
Loading /Users/name/Downloads/PROTOCOLLO_TDCS_FILE_GREZZI/SHAM/CONTROLLI/2018-11-27_002/
:1: RuntimeWarning: Only import of data from NIRScout devices have been thoroughly tested. You are using a "NIRSport 8x8" device.
mne.io.read_raw_nirx("/Users/name/Downloads/PROTOCOLLO_TDCS_FILE_GREZZI/SHAM/CONTROLLI/2018-11-27_002/")
:1: RuntimeWarning: Extraction of measurement date from NIRX file failed. This can be caused by files saved in certain locales. Please report this as a github issue. The date is being set to January 1st, 2000, instead of "mar 27 nov 2018""18:13:22.559"
mne.io.read_raw_nirx("/Users/name/Downloads/PROTOCOLLO_TDCS_FILE_GREZZI/SHAM/CONTROLLI/2018-11-27_002/")
Out[8]: <RawNIRX | 2018-11-27_002, 40 x 1934 (247.4 s), ~54 kB, data not loaded>
We used a continuous wave NIRS system (NIRSport 8X8, Nirx Medical Technologies LLC, Berlin, Germany). The fNIRS data acquisition software was the NIRStar 14.2 (Version 14, Revision 2, Release Build, 2016-04-15 NIRx Medizintechnik GmbH, Berlin, Germany; www.nirx.net).
Describe your proposed implementation
Describe how you think the feature or improvement should be implemented (e.g.,
as a new method on an existing class? as new capability added to an existing
method?) If you're not sure, please delete this section and the next section.
Please, could you help me to implement a function that can import my data?
Describe possible alternatives
If you've suggested an implementation above, list here any alternative
implementations you can think of, and brief comments explaining why the chosen
implementation is better.
Additional comments
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: