-
Notifications
You must be signed in to change notification settings - Fork 135
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
MED example dataset (no data, only headers) #469
base: master
Are you sure you want to change the base?
Conversation
@MEDFormat you will have to rename the folders to comply with the BIDS data strcuture. |
What does that mean? MED & MEF (currently accepted by BIDS) require certain naming conventions.
Cheers, Matt

Matt Stead
***@***.***
… On Oct 18, 2024, at 4:55 AM, Remi Gau ***@***.***> wrote:
@MEDFormat <https://github.com/MEDFormat> you will have to rename the folders to comply with the BIDS data strcuture.
—
Reply to this email directly, view it on GitHub <#469 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ATNKTHRSZ6SWWSZ7RBFUJJ3Z4DSLBAVCNFSM6AAAAABQEIQVVOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMRSGE4TENBZGQ>.
You are receiving this because you were mentioned.
|
please check any of the other iEEG datasets in this repo and see how the files are named and try top match this. for example
Given that MED has files listed under a folder I think you may have to follow what is done with MEG for
|
Can you point me to the MEF 3.0 example? I cannot find it, but MED will be almost identical. |
Contents:
Here is a minimal MED tree with all possible file types:
Global session records (data & indices)
Segmented session records (data & indices)
One time series channel (“ts_0001”)
One video channel (“vid_0001”)
Channel-level records (data & indices)
Segment-level records (data & indices)
Time series data (data & indices)
Time series metadata
Video data (data & indices)
Video metadata
Tree:
test.medd
├── test.rdat
├── test.recd
│ ├── test_s0001.rdat
│ └── test_s0001.ridx
├── test.ridx
├── ts_0001.ticd
│ ├── ts_0001.rdat
│ ├── ts_0001.ridx
│ └── ts_0001_s0001.tisd
│ ├── ts_0001_s0001.rdat
│ ├── ts_0001_s0001.ridx
│ ├── ts_0001_s0001.tdat
│ ├── ts_0001_s0001.tidx
│ └── ts_0001_s0001.tmet
└── vid_0001.ticd
├── vid_0001.rdat
├── vid_0001.ridx
└── vid_0001_s0001.tisd
├── vid_0001_s0001.rdat
├── vid_0001_s0001.ridx
├── vid_0001_s0001.tidx
├── vid_0001_s0001.tmet
└── vid_0001_s0001_n0001.mp4
Descriptions:
test.medd: “test” session directory
test.medd/test.rdat session record data (unsegmented)
test.medd/test..ridx session record indices (unsegmented)
test.medd/test.recd: “test” segmented session record directory
test.medd/test.recd/test_s0001.rdat segment 1 session record data
test.medd/test.recd/test_s0001.ridx segment 1 session record indices
test.medd/ts_0001.ticd: “ts_0001” time series channel directory
test.medd/ts_0001.rdat: channel-level record data
test.medd/ts_0001.ridx: channel-level record indices
test.medd/ts_0001_s0001 segment 1 directory
test.medd/ts_0001_s0001.tisd/ts_0001_s0001.rdat: segment-level record data
test.medd/ts_0001_s0001.tisd/ts_0001_s0001.ridx: segment-level record indices
test.medd/ts_0001_s0001.tisd/ts_0001_s0001.tdat: time series data
test.medd/ts_0001_s0001.tisd/ts_0001_s0001.tidx: time series indices
test.medd/ts_0001_s0001.tisd/ts_0001_s0001.tmet: time series metadata
test.medd/vid_0001.vicd: “vid_0001” video channel directory
test.medd/vid_0001.rdat: channel-level record data
test.medd/vid_0001.ridx: channel-level record indices
test.medd/vid_0001_s0001 segment 1 directory
test.medd/vid_0001_s0001.tisd/vid_0001_s0001.rdat: segment-level record data
test.medd/vid_0001_s0001.tisd/vid_0001_s0001.ridx: segment-level record indices
test.medd/vid_0001_s0001.tisd/vid_0001_s0001.vidx: video indices
test.medd/vis_0001_s0001.tisd/vid_0001_s0001.vidx: video metadata
test.medd/vid_0001_s0001.tisd/vid_0001_s0001_n0001.mp4: video data file 1 (mp4 format in this example)
How can I put this information into BIDS example?
Cheers, Matt

Matt Stead
***@***.***
… On Oct 18, 2024, at 5:00 AM, Contact MFO ***@***.***> wrote:
What does that mean? MED & MEF (currently accepted by BIDS) require certain naming conventions.
Cheers, Matt
<MFO-Logo-GIF-small.gif>
Matt Stead
***@***.***
> On Oct 18, 2024, at 4:55 AM, Remi Gau ***@***.***> wrote:
>
>
> @MEDFormat <https://github.com/MEDFormat> you will have to rename the folders to comply with the BIDS data strcuture.
>
> —
> Reply to this email directly, view it on GitHub <#469 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ATNKTHRSZ6SWWSZ7RBFUJJ3Z4DSLBAVCNFSM6AAAAABQEIQVVOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMRSGE4TENBZGQ>.
> You are receiving this because you were mentioned.
>
|
Copy paste error above: |
AFAICT we do not have one |
Did you happen to see my last post?
If not, here is the MED tree (almost identical to MEF3 tree):
test.medd
├── test.rdat
├── test.recd
│ ├── test_s0001.rdat
│ └── test_s0001.ridx
├── test.ridx
├── ts_0001.ticd
│ ├── ts_0001.rdat
│ ├── ts_0001.ridx
│ └── ts_0001_s0001.tisd
│ ├── ts_0001_s0001.rdat
│ ├── ts_0001_s0001.ridx
│ ├── ts_0001_s0001.tdat
│ ├── ts_0001_s0001.vidx
│ └── ts_0001_s0001.vmet
└── vid_0001.ticd
├── vid_0001.rdat
├── vid_0001.ridx
└── vid_0001_s0001.tisd
├── vid_0001_s0001.rdat
├── vid_0001_s0001.ridx
├── vid_0001_s0001.vidx
├── vid_0001_s0001.vmet
└── vid_0001_s0001_n0001.mp4
Cheers, Matt

Matt Stead
***@***.***
… On Oct 18, 2024, at 7:08 AM, Remi Gau ***@***.***> wrote:
Can you point me to the MEF 3.0 example?
AFAICT we do not have one
—
Reply to this email directly, view it on GitHub <#469 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ATNKTHSTF7BWIY5YIZPH2L3Z4EB5VAVCNFSM6AAAAABQEIQVVOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMRSGQ2DAMRYGQ>.
You are receiving this because you were mentioned.
|
NOTE: made this by hand - last tree had a couple of extension mistakes, apologies. This one is correct.
Did you happen to see my last post?
If not, here is the MED tree (almost identical to MEF3 tree):
test.medd
├── test.rdat
├── test.recd
│ ├── test_s0001.rdat
│ └── test_s0001.ridx
├── test.ridx
├── ts_0001.ticd
│ ├── ts_0001.rdat
│ ├── ts_0001.ridx
│ └── ts_0001_s0001.tisd
│ ├── ts_0001_s0001.rdat
│ ├── ts_0001_s0001.ridx
│ ├── ts_0001_s0001.tdat
│ ├── ts_0001_s0001.tidx
│ └── ts_0001_s0001.tmet
└── vid_0001.vicd
├── vid_0001.rdat
├── vid_0001.ridx
└── vid_0001_s0001.visd
├── vid_0001_s0001.rdat
├── vid_0001_s0001.ridx
├── vid_0001_s0001.vidx
├── vid_0001_s0001.vmet
└── vid_0001_s0001_n0001.mp4
Cheers, Matt

Matt Stead
***@***.***
… On Oct 18, 2024, at 7:11 AM, Contact MFO ***@***.***> wrote:
Did you happen to see my last post?
If not, here is the MED tree (almost identical to MEF3 tree):
test.medd
├── test.rdat
├── test.recd
│ ├── test_s0001.rdat
│ └── test_s0001.ridx
├── test.ridx
├── ts_0001.ticd
│ ├── ts_0001.rdat
│ ├── ts_0001.ridx
│ └── ts_0001_s0001.tisd
│ ├── ts_0001_s0001.rdat
│ ├── ts_0001_s0001.ridx
│ ├── ts_0001_s0001.tdat
│ ├── ts_0001_s0001.vidx
│ └── ts_0001_s0001.vmet
└── vid_0001.ticd
├── vid_0001.rdat
├── vid_0001.ridx
└── vid_0001_s0001.tisd
├── vid_0001_s0001.rdat
├── vid_0001_s0001.ridx
├── vid_0001_s0001.vidx
├── vid_0001_s0001.vmet
└── vid_0001_s0001_n0001.mp4
Cheers, Matt
<MFO-Logo-GIF-small.gif>
Matt Stead
***@***.***
> On Oct 18, 2024, at 7:08 AM, Remi Gau ***@***.***> wrote:
>
>
> Can you point me to the MEF 3.0 example?
>
> AFAICT we do not have one
>
> —
> Reply to this email directly, view it on GitHub <#469 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ATNKTHSTF7BWIY5YIZPH2L3Z4EB5VAVCNFSM6AAAAABQEIQVVOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMRSGQ2DAMRYGQ>.
> You are receiving this because you were mentioned.
>
|
I think your dataset should be structured like this
where |
but you are going to require some extra json files |
@MEDFormat @Remi-Gau I've copied a pared down version of Making some additional changes to adjust validator behavior, given that we aren't targeting the legacy validator and the schema changes havn't been merged yet. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe we should mention in the README that this dataset was mostly copied and adapted from another example: in case someone is looking for the 'real' BIDS dataset for this, otherwise they may think that we already have one that exist in the wild that they could have a look at.
"Name": "Brainstorm epileptogenicity tutorial", | ||
"BIDSVersion": "1.7.0", | ||
"License": "This tutorial dataset (EEG and MRI data) remains property of the Grenoble University Hospital, France. Its use and transfer outside the ImaGIN tutorial, e.g. for research purposes, is prohibited without written consent. For questions, please contact Olivier David, PhD ([email protected]).", | ||
"Authors": [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would also make sense to update the readme because of all the authors and institutions metadata: these people may otherwise wonder what dataset of theirs this one is linked to
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
feels easier than cleaning up all the dataset of any reference of the dataset it was copied from
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Remi-Gau WDYT?
Dataset description | ||
=================== | ||
|
||
Example dataset demonstrating the [MED Format](https://medformat.org) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dataset description | |
=================== | |
Example dataset demonstrating the [MED Format](https://medformat.org) | |
MED Format demonstration | |
======================== | |
Example dataset demonstrating the [MED Format](https://medformat.org). | |
This dataset is a copy of the [ieeg_epilepsy](../ieeg_epilepsy) example's raw data (run 1 only), replacing the BrainVision files with a `.medd/` directory. |
"Name": "Brainstorm epileptogenicity tutorial", | ||
"BIDSVersion": "1.7.0", | ||
"License": "This tutorial dataset (EEG and MRI data) remains property of the Grenoble University Hospital, France. Its use and transfer outside the ImaGIN tutorial, e.g. for research purposes, is prohibited without written consent. For questions, please contact Olivier David, PhD ([email protected]).", | ||
"Authors": [ | ||
"Olivier David", | ||
"Thomas Blauwblomme", | ||
"Anne-Sophie Job", | ||
"Stephan Chabardès", | ||
"Dominique Hoffmann", | ||
"Lorella Minotti", | ||
"Philippe Kahane" | ||
], | ||
"ReferencesAndLinks": [ | ||
"David O, Blauwblomme T, Job AS, Chabardès S, Hoffmann D, Minotti L, Kahane P, Imaging the seizure onset zone with stereo-electroencephalography, Brain. 2011 Oct;134(10):2898-911", | ||
"Lamarche F, Job AS, Deman P, Bhattacharjee M, Hoffmann D, Gallazzini-Crépin C, Bouvard S, Minotti L, Kahane P, David O, Correlation of FDG-PET hypometabolism and SEEG epileptogenicity mapping in patients with drug-resistant focal epilepsy, Epilepsia. 2016 Dec; 57(12):2045–2055", | ||
"https://neuroimage.usc.edu/brainstorm/Tutorials/Epileptogenicity", | ||
"https://f-tract.eu/tutorials/" | ||
] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Name": "Brainstorm epileptogenicity tutorial", | |
"BIDSVersion": "1.7.0", | |
"License": "This tutorial dataset (EEG and MRI data) remains property of the Grenoble University Hospital, France. Its use and transfer outside the ImaGIN tutorial, e.g. for research purposes, is prohibited without written consent. For questions, please contact Olivier David, PhD ([email protected]).", | |
"Authors": [ | |
"Olivier David", | |
"Thomas Blauwblomme", | |
"Anne-Sophie Job", | |
"Stephan Chabardès", | |
"Dominique Hoffmann", | |
"Lorella Minotti", | |
"Philippe Kahane" | |
], | |
"ReferencesAndLinks": [ | |
"David O, Blauwblomme T, Job AS, Chabardès S, Hoffmann D, Minotti L, Kahane P, Imaging the seizure onset zone with stereo-electroencephalography, Brain. 2011 Oct;134(10):2898-911", | |
"Lamarche F, Job AS, Deman P, Bhattacharjee M, Hoffmann D, Gallazzini-Crépin C, Bouvard S, Minotti L, Kahane P, David O, Correlation of FDG-PET hypometabolism and SEEG epileptogenicity mapping in patients with drug-resistant focal epilepsy, Epilepsia. 2016 Dec; 57(12):2045–2055", | |
"https://neuroimage.usc.edu/brainstorm/Tutorials/Epileptogenicity", | |
"https://f-tract.eu/tutorials/" | |
] | |
"Name": "MED Format example", | |
"BIDSVersion": "1.10.0", | |
"License": "CC0", | |
"Authors": [ | |
"BIDS Contributors" | |
], | |
"ReferencesAndLinks": [ | |
"../ieeg_epilepsy", | |
"https://medformat.org/" | |
] |
relates to bids-standard/bids-specification#1956