aeye-lab / pymovements

A python package for processing eye movement data
https://pymovements.readthedocs.io
MIT License
57 stars 11 forks source link

Create new EyeTracker class and use it in Experiment #597

Closed dkrako closed 4 months ago

dkrako commented 9 months ago

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