Comments (9)
That is correct. Although one of the visions/goals of mne-bids was to nudge users towards the fif
file 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.
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.
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.
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.
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.
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.
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.
@monkeyman192 this is fixed I think? should we close this issue?
from mne-bids.
Yep, I think this got included in a PR at some point :)
from mne-bids.
Related Issues (20)
- No RuntimeWarning in the BIDSPath example although it is mentioned in the text HOT 2
- read_raw_bids can't create events if taskname includes decimal dot HOT 2
- BUG: Error when writing calibration for empty-room file HOT 2
- FutureWarning: with copy=False --> set default explicity HOT 5
- Q: Release? HOT 2
- Add copyright holder to each file
- add circleci config.yml to gh-pages branch?
- MAINT: update release protocol --> versioning scheme HOT 3
- MAINT: MNE-Python now uses edfio instead of EDFlib-Python
- adjust pip install
- After switch to hatchling&hatch-vcs: heading in documentation is taking up too much space HOT 4
- How to silence warnings in mne_bids.write_raw_bids() HOT 3
- BIDS anonymize dataset unwanted behavior for split. HOT 4
- prepare for pytest>=8 HOT 1
- allow BIDSPath(check=False) to work for _check_key_val() HOT 3
- `read_raw_bids()` tries to process task name without checking if a task exists HOT 5
- InvalidDistribution: Metadata is missing required fields: Name, Version. HOT 5
- MAINT: remove ref-names from git_archive.txt? HOT 1
- Request for New Version Release on pip HOT 13
- issue with CI and inspect module HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mne-bids.