question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Question][fNIRS] The use of .dat file

See original GitHub issue

Dear MNE devs and users,

I’m not quite used to fNIRS nor the MNE package (started my internship last week) and I can’t figure out the use the *.dat file.

In your tutorial concerning the Preprocessing of fNIRS data, the function mne.io.read_raw_nirx(fnirs_raw_dir, verbose=True) (line 11 of the first box) requires a *.dat file to create a RawNIRX instance, although my tutor explained to me that *.dat are essentially files used to display data in real-time (i.e. during the experiment) and as such, are based on standard parameters : they’re not usable after the experiment because they do not contain useful (to be processed) data, since the probed data is stored in *.wl1 and *.wl1, events in *.evt and the metadata in *.hdr and *_probeInfo.mat.

I searched through the code and even though you do load the file, I can’t find where you use it (or if you use it all)? Am I missing something ?

Thanks in advance,

David

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:23 (23 by maintainers)

github_iconTop GitHub Comments

1reaction
cbrnrcommented, Jun 17, 2020

Based on this new information I totally agree. Once we get some NIRScout test files from both version 1 and 2 we should do a rewrite. I do not have access to a NIRScout device.

I have the files I’ve listed above. I will link them in #7905 once I get permission to share them. Also, my lab will soon have a NIRScout device, so I can provide all the NIRX info we need 😄.

I completely agree that supporting .nirs files should be very low priority and that .snirf is much more important. But I also think that an option to load the primary raw data directly (what we currently have) is the most important thing.

Let’s continue our discussion in #7905.

1reaction
rob-lukecommented, Jun 15, 2020

I’ve asked my coworkers about the NIRSport data, I’ll come back when I get some news.

Thanks @Swy7ch, no rush, we will get the dat file issue merged and then tackle the rest as it comes.

Read more comments on GitHub >

github_iconTop Results From Across the Web

What Is a DAT File? (And How to Open One) - Lifewire
A DAT file might be a video, email, or generic data file. Many apps use them and no specific program is responsible for...
Read more >
DAT File – How to Open the .dat File Format Extension
A DAT file is a data file that contains specific information about the program used to create it. This file always has the...
Read more >
What Is a DAT File? And How to Open It (With Steps and FAQs)
Learn what a DAT file is, explore how to open it on macOS and Windows operating systems and find out how to covert...
Read more >
What Is a DAT File (and How Do I Open One)? - How-To Geek
A file with the .dat file extension is a generic data file that stores specific information relating to the program that created the...
Read more >
DAT File Extension - What is a .dat file and how do I open it?
It may contain data in binary or text format. DAT files are typically accessed only by the application that created them. How to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found