Giter VIP home page Giter VIP logo

Comments (9)

jasmainak avatar jasmainak commented on June 3, 2024 1

That is correct. Although one of the visions/goals of mne-bids was to nudge users towards the fiffile format. The MEG-BIDS discussions didn't lead to an accepted file format. However, the more file formats you have, the more you move away from standards :-) cc @teonbrooks

from mne-bids.

jasmainak avatar jasmainak commented on June 3, 2024

The raw_to_bids function as it stands doesn't produce the folder required to place the raw data in (but can be easily modified to do so).

I am not sure I follow. Can you elaborate? raw_to_bids does produce the folder to put your BIDS compatible data.

Regarding the notes, you are correct. Do you have time to make a PR?

from mne-bids.

monkeyman192 avatar monkeyman192 commented on June 3, 2024

When I ran the script it would produce the file structure like "sub-control01/ses-01/meg/" within which the .tsv and some .json files reside, however there should be a subsequent subfolder within this folder with the same title as the sidecar .json. so in the example given in the specification you would have a further subfolder within the above directory "~/sub-control01_ses-001_task-rest_run-01_meg/" where the raw data goes.

And yep, I can do a PR.

from mne-bids.

jasmainak avatar jasmainak commented on June 3, 2024

however there should be a subsequent subfolder within this folder with the same title as the sidecar .json. so in the example given in the specification you would have a further subfolder within the above directory "~/sub-control01_ses-001_task-rest_run-01_meg/" where the raw data goes.

okay I did not understand this before, but I guess it is also something KIT specific? Feel free to make a PR

from mne-bids.

monkeyman192 avatar monkeyman192 commented on June 3, 2024

I think there was some confusion on my end. The bids specification is a little bit un-unified on how the raw files should be located. The general example doesn't always match the examples for specific MEG systems. If you look at appendix VI (section 16) of the bids specification you can see that some systems are recommended to have a sub folder for the raw data, while others (eg Elekta) store the raw data in the main meg folder.
I will try consolidate the info in the specification into a PR to fix it.
I will probably include the raw file path in that PR too since the two will be linked.

from mne-bids.

jasmainak avatar jasmainak commented on June 3, 2024

If you look at appendix VI (section 16) of the bids specification you can see that some systems are recommended to have a sub folder for the raw data, while others (eg Elekta) store the raw data in the main meg folder.

The reason for this is that for some MEG devices, the info for a single recording is spread out between different files. However, in the case of Elekta it is contained in a single *.fif file

from mne-bids.

monkeyman192 avatar monkeyman192 commented on June 3, 2024

Yep, I understand that now, but we will need to handle that correctly as it isn't handled by mne-bids at the moment. Currently only .fif files will be copied to the correct location. Any other raw files will just be ignored.

from mne-bids.

jasmainak avatar jasmainak commented on June 3, 2024

@monkeyman192 this is fixed I think? should we close this issue?

from mne-bids.

monkeyman192 avatar monkeyman192 commented on June 3, 2024

Yep, I think this got included in a PR at some point :)

from mne-bids.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.