aeye-lab / pymovements

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

feat: Add GazeDataFrame.apply() #558

Closed dkrako closed 9 months ago

dkrako commented 9 months ago

Description

This creates a facade method that can be used for both gaze transformations and event detection.

Implemented changes

Type of change

How Has This Been Tested?

Checklist:

codecov[bot] commented 9 months ago

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (4de6d34) 100.00% compared to head (7372d91) 100.00%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #558 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 49 49 Lines 2164 2176 +12 Branches 532 536 +4 ========================================= + Hits 2164 2176 +12 ``` | [Files Changed](https://app.codecov.io/gh/aeye-lab/pymovements/pull/558?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aeye-lab) | Coverage Δ | | |---|---|---| | [src/pymovements/events/detection/\_library.py](https://app.codecov.io/gh/aeye-lab/pymovements/pull/558?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aeye-lab#diff-c3JjL3B5bW92ZW1lbnRzL2V2ZW50cy9kZXRlY3Rpb24vX2xpYnJhcnkucHk=) | `100.00% <100.00%> (ø)` | | | [src/pymovements/gaze/gaze\_dataframe.py](https://app.codecov.io/gh/aeye-lab/pymovements/pull/558?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aeye-lab#diff-c3JjL3B5bW92ZW1lbnRzL2dhemUvZ2F6ZV9kYXRhZnJhbWUucHk=) | `100.00% <100.00%> (ø)` | | | [src/pymovements/gaze/transforms.py](https://app.codecov.io/gh/aeye-lab/pymovements/pull/558?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aeye-lab#diff-c3JjL3B5bW92ZW1lbnRzL2dhemUvdHJhbnNmb3Jtcy5weQ==) | `100.00% <100.00%> (ø)` | |

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