-
Notifications
You must be signed in to change notification settings - Fork 732
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
update eyetracker to eyetrack as BIDS data type in line with bep020 #2391
base: master
Are you sure you want to change the base?
Conversation
You should test whether your modifications do not break anything. When outside the DCCN, please consider testing: test_issue2235, test_data2bids, test_issue1196 When inside the DCCN, please also consider testing: test_issue1905, test_issue1196, test_data2bids, test_pull2043 Suggested tests outside the DCCN use public data or do not use data. |
@@ -310,7 +310,7 @@ | |||
cfg.nirs = ft_getopt(cfg, 'nirs'); | |||
cfg.audio = ft_getopt(cfg, 'audio'); | |||
cfg.video = ft_getopt(cfg, 'video'); | |||
cfg.eyetracker = ft_getopt(cfg, 'eyetracker'); | |||
cfg.eyetrack = ft_getopt(cfg, 'eyetrack'); |
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.
Please add prior to this a line
cfg = ft_checkconfig('renamedval', {'suffix', 'eyetracker', 'eye track'});
it can go before setting all defaults. This allows old scripts to keep working, and prints a warning. Otherwise people would probably get an error further down in the code.
% https://docs.google.com/document/d/1eggzTCzSHG3AEKhtnEDbcdk-2avXN6I94X8aUPEBVsw/edit#heading=h.9tphvz6ot0j1 | ||
% The current implementation follows: | ||
% https://bids-specification.readthedocs.io/en/stable/04-modality-specific-files/06-physiological-and-other-continuous-recordings.html | ||
cfg.eyetrack.Columns = ft_getopt(cfg.eyetrack, 'Columns' ); |
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.
please also add somewhere at the top
cfg = ft_checkconfig('renamed', {'eyetracker', 'eye track'});
to rename this field in case the user supplied it with the old name
you write that you changed it to
but that is not the case as far as I can see. On line 2589 it seems to go in the
I believe this also applies to the remainder of |
Hmm, I was referring to the google doc you sent, which shows the following convention:
Is that out of date? And should I refer to bids-standard/bids-specification#1128 instead? As to the latter half: Yes, I think that's a good idea. I will implement that. |
You should test whether your modifications do not break anything. When outside the DCCN, please consider testing: test_data2bids, test_issue1196, test_issue2235 When inside the DCCN, please also consider testing: test_pull2043, test_issue1905, test_data2bids, test_issue1196 Suggested tests outside the DCCN use public data or do not use data. |
You should test whether your modifications do not break anything. When outside the DCCN, please consider testing: test_issue1196, test_data2bids, test_issue2235 When inside the DCCN, please also consider testing: test_issue1196, test_issue1905, test_data2bids, test_pull2043 Suggested tests outside the DCCN use public data or do not use data. |
Perhaps, "Eye-tracking data MUST be stored in the main data recording modality or |
…'audio', 'video', 'eyetrack' types
You should test whether your modifications do not break anything. When outside the DCCN, please consider testing: test_data2bids, test_issue2235, test_issue1196 When inside the DCCN, please also consider testing: test_pull2043, test_data2bids, test_issue1905, test_issue1196 Suggested tests outside the DCCN use public data or do not use data. |
You should test whether your modifications do not break anything. When outside the DCCN, please consider testing: test_issue1196, test_issue2235, test_data2bids When inside the DCCN, please also consider testing: test_issue1905, test_issue1196, test_pull2043, test_data2bids Suggested tests outside the DCCN use public data or do not use data. |
You should test whether your modifications do not break anything. When outside the DCCN, please consider testing: test_issue2235, test_issue1196, test_data2bids When inside the DCCN, please also consider testing: test_issue1905, test_issue1196, test_pull2043, test_data2bids Suggested tests outside the DCCN use public data or do not use data. |
You should test whether your modifications do not break anything. When outside the DCCN, please consider testing: test_issue2235, test_issue1196, test_data2bids When inside the DCCN, please also consider testing: test_issue1905, test_pull2043, test_issue1196, test_data2bids Suggested tests outside the DCCN use public data or do not use data. |
Yes, that is out of date. The discussion and development continued on the bep020 pull request, which is
good idea, it does not hurt to make it required for all of those. |
I realise today that when allocating @robertoostenveld, does this imply that the two should be merged? In that process, one would need to ensure their allignment in time. |
Or is it in fact also an outdated requirement from the google doc that |
You should test whether your modifications do not break anything. When outside the DCCN, please consider testing: test_issue2235, test_data2bids, test_issue1196 When inside the DCCN, please also consider testing: test_issue1905, test_issue1196, test_data2bids, test_pull2043 Suggested tests outside the DCCN use public data or do not use data. |
In commit |
Yes, I read in one of the comments on the commit that detected saccades (which are timestamped "events") are to be interpreted as derivative and not stored along with the raw data. Do you have other events in your eye tracking recording, besides the saccades? Like triggers? In your "raw1" version you would still have the eyetrack.tsv and the corresponding events.tsv in the beh folder, right? I assume that, because in that version it is not yet aligned with the MEG. In your "raw2" version you would align them along the same time axis and merge them, so events from the MEG and from the eyetracker could be fused in a single events.tsv (you would actually use those shared events for the alignment). So after time shifting also saccades from the raw1/beh/events.tsv could still be represented in the raw2/meg/events.tsv. |
Hmm I actually moved the I have actually been working on how to figure out the allignment of Before commit So what I will have to do is
To achieve 1., I will revert the change in commit I can achieve 2. locally, but I'm not sure I would be able to logically implement it into |
This PR updates the
data2bids
to more closely resemble the behaviour intended by (BEP020)[https://docs.google.com/document/d/1eggzTCzSHG3AEKhtnEDbcdk-2avXN6I94X8aUPEBVsw/edit#heading=h.9tphvz6ot0j1].Currently, the only changes made are:
'eyetracker'
to'eyetrack'
'eyetrack'
dir added as destination for'eyetrack'
filesThis PR does not (yet) address the specifications of sidecar content.