You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, this implicitly assumes that the tracked Eye does not change during a Session.
It would be better to have a record of the tracked eye for each trial during the Session.
The implementation could also have effect on issue #868 and #686
To achieve this we can perform the matching multiple times instead of only once, and save them for example as a list, where the tracked eye for each trial is stored.
Description of a solution
create a separated TRACKED_EYE_REGEX
remove it from the EYELINK_META_REGEXES
adapt :
The function
pymovements/src/pymovements/gaze/io.py
Line 271 in 49802e4
returns a dataframe and a dict where metadata is stored.
This metadata dict has a key 'tracked_eye' and can have the values ‘L’, ‘R’ or ‘LR’
which are extracted by the following pattern:
pymovements/src/pymovements/utils/parsing.py
Lines 51 to 56 in 502dc44
and executed by the following code line:
pymovements/src/pymovements/utils/parsing.py
Line 350 in 502dc44
However, this implicitly assumes that the tracked Eye does not change during a Session.
It would be better to have a record of the tracked eye for each trial during the Session.
The implementation could also have effect on issue #868 and #686
To achieve this we can perform the matching multiple times instead of only once, and save them for example as a list, where the tracked eye for each trial is stored.
Description of a solution
create a separated TRACKED_EYE_REGEX
remove it from the EYELINK_META_REGEXES
adapt :
pymovements/src/pymovements/utils/parsing.py
Line 178 in 502dc44
The additional information extracted can then be used for example for quality checking (is the same eye tracked during the whole experiment)
The text was updated successfully, but these errors were encountered: