aeye-lab / pymovements

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

feat: Add GazeDataFrame.detect() #511

Closed dkrako closed 1 year ago

dkrako commented 1 year ago

Description

This is a major step towards a self-contained Gaze class. We now do not need a Dataset object anymore to run event detection algorithms.

Depends on #553 and #554

Implemented changes

Type of change

How Has This Been Tested?

Checklist:

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (097cbbb) 100.00% compared to head (b3d1fbd) 100.00%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #511 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 48 48 Lines 2139 2152 +13 Branches 521 532 +11 ========================================= + Hits 2139 2152 +13 ``` | [Files Changed](https://app.codecov.io/gh/aeye-lab/pymovements/pull/511?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aeye-lab) | Coverage Δ | | |---|---|---| | [src/pymovements/dataset/dataset\_files.py](https://app.codecov.io/gh/aeye-lab/pymovements/pull/511?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aeye-lab#diff-c3JjL3B5bW92ZW1lbnRzL2RhdGFzZXQvZGF0YXNldF9maWxlcy5weQ==) | `100.00% <ø> (ø)` | | | [src/pymovements/plotting/traceplot.py](https://app.codecov.io/gh/aeye-lab/pymovements/pull/511?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aeye-lab#diff-c3JjL3B5bW92ZW1lbnRzL3Bsb3R0aW5nL3RyYWNlcGxvdC5weQ==) | `100.00% <ø> (ø)` | | | [src/pymovements/\_\_init\_\_.py](https://app.codecov.io/gh/aeye-lab/pymovements/pull/511?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aeye-lab#diff-c3JjL3B5bW92ZW1lbnRzL19faW5pdF9fLnB5) | `100.00% <100.00%> (ø)` | | | [src/pymovements/dataset/dataset.py](https://app.codecov.io/gh/aeye-lab/pymovements/pull/511?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aeye-lab#diff-c3JjL3B5bW92ZW1lbnRzL2RhdGFzZXQvZGF0YXNldC5weQ==) | `100.00% <100.00%> (ø)` | | | [src/pymovements/events/detection/\_ivt.py](https://app.codecov.io/gh/aeye-lab/pymovements/pull/511?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aeye-lab#diff-c3JjL3B5bW92ZW1lbnRzL2V2ZW50cy9kZXRlY3Rpb24vX2l2dC5weQ==) | `100.00% <100.00%> (ø)` | | | [src/pymovements/events/processing.py](https://app.codecov.io/gh/aeye-lab/pymovements/pull/511?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aeye-lab#diff-c3JjL3B5bW92ZW1lbnRzL2V2ZW50cy9wcm9jZXNzaW5nLnB5) | `100.00% <100.00%> (ø)` | | | [src/pymovements/gaze/gaze\_dataframe.py](https://app.codecov.io/gh/aeye-lab/pymovements/pull/511?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/integration.py](https://app.codecov.io/gh/aeye-lab/pymovements/pull/511?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aeye-lab#diff-c3JjL3B5bW92ZW1lbnRzL2dhemUvaW50ZWdyYXRpb24ucHk=) | `100.00% <100.00%> (ø)` | |

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