When parsing eye tracker related metadata in #510, we will need to have a place for keeping the data.
Description of a solution
The experiment class would be perfect for holding that information, as it already includes the sampling rate (which can also be parsed from eyelink files).
The best solution would include creating a new class EyeTracker(sampling_rate, eyes, model, version, mount).
The sampling rate would then just be forwarded as self.sampling_rate = self.eye_tracker.sampling_rate.
Minimum acceptance criteria
[x] Create new class EyeTracker
[x] Use class in Experiment
[x] create property Experiment.sampling_rate for short-access to Experiment.eye_tracker.sampling_rate
Description of the problem
When parsing eye tracker related metadata in #510, we will need to have a place for keeping the data.
Description of a solution
The experiment class would be perfect for holding that information, as it already includes the sampling rate (which can also be parsed from eyelink files).
The best solution would include creating a new class
EyeTracker(sampling_rate, eyes, model, version, mount)
.The sampling rate would then just be forwarded as
self.sampling_rate = self.eye_tracker.sampling_rate
.Minimum acceptance criteria
Experiment.sampling_rate
for short-access toExperiment.eye_tracker.sampling_rate