aeye-lab / pymovements

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

feat: support 2kHz ASC files with floating-point timestamps #739

Open saeub opened 3 days ago

saeub commented 3 days ago

Description

EyeLink's edf2asc CLI has an option -ftime that will output timestamps as floating point numbers. For 2000Hz recordings, this avoids issue #688, except that parse_eyelink() doesn't support floating-point timestamps. This PR adds this support.

Related to issue #688 (doesn't fix it, but might make it redundant?)

Implemented changes

Insert a description of the changes implemented in the pull request.

Type of change

How Has This Been Tested?

Checklist:

codecov[bot] commented 3 days ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (58b1863) to head (ec71a3b).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #739 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 60 60 Lines 2763 2763 Branches 715 715 ========================================= Hits 2763 2763 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.