-
Notifications
You must be signed in to change notification settings - Fork 4
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
Support for globbing patterns for stim_file in events.tsv #30
Comments
Would it make more sense to concatenate your images into a movie with an appropriate framerate? Something like:
Then |
Depends if we want to make sure that the stimuli shipped with the data are EXACTLY (also in terms of file format) those used during the experiment (in this case I don't really have this option). If we want to ship something that "corresponds" to the stimuli presented but does not match the format used during the fMRI presentation, yup I could do that. I suspect there are pros and cons to both but I could defo ship both formats in the stimuli folder. |
This is a spec question. If it's permitted, we need a specific syntax, and then we can update the schema/validator to handle it. |
Proposed BEP 044 is aimed to address this issue more generally. See also: bids-standard/bids-specification#153. |
In general, we'd like to represent exactly what happened during an experiment or make it as closely as possible 😅. In this example, representing events with glob patterns seems ambiguous because additional information is needed in the So, having a movie might be a more transparent solution. BEP044 is provisioning one or multiple |
I'm going to close this in favor of BEP44. |
Context
this concerns a dataset containing data and stimuli
stimuli are movies where each is stored as a .wav file + a series images (one per movie frame) - for practical reasons in terms of stimuli presentation.
tree tmp/stimuli | head tmp/stimuli ├── S1fa01.jpg ├── S1fa02.jpg ├── S1fa03.jpg ├── S1fa04.jpg ├── S1fa05.jpg ├── S1fa06.jpg ├── S1fa07.jpg ├── S1fa08.jpg ├── S1fa09.jpg ...
stim_name
with astim_name.*.jpg
to "glob" for all the files that match this stimulus name.Error
Validator complains that
What I have tried
Out of curiosity I tried to see if storing all the frames of a given movie in a folder and referencing this folder in the
stim_file
column would work: it did not.What I do not want to do
I would very much prefer to avoid logging the presentation of every frame in the events.tsv:
tagging @VisLab who might have some suggestions as this may somewhat be related to storing of stimuli and event tagging.
The text was updated successfully, but these errors were encountered: