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 kwargs for explicit data passing in gaze.from_numpy() #513

Closed dkrako closed 1 year ago

dkrako commented 1 year ago

Description

Adds new keyword arguments to pass time, position, velocity numpy arrays as keyword arguments to pm.gaze.from_numpy()

Fixes issue #501

Implemented changes

Type of change

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

Checklist:

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (380df1e) 100.00% compared to head (217b1f0) 100.00%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #513 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 48 48 Lines 2081 2117 +36 Branches 505 511 +6 ========================================= + Hits 2081 2117 +36 ``` | [Files Changed](https://app.codecov.io/gh/aeye-lab/pymovements/pull/513?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aeye-lab) | Coverage Δ | | |---|---|---| | [src/pymovements/gaze/integration.py](https://app.codecov.io/gh/aeye-lab/pymovements/pull/513?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.