Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: split_gaze_data by column values #859

Open
wants to merge 32 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
1c6c769
feat: split_gaze_data into trial
SiQube Oct 23, 2024
976695b
docs: Add missing modules to documentation (#866)
dkrako Oct 23, 2024
953ade3
hotfix: check whether public dataset has gaze files (#872)
SiQube Oct 24, 2024
b842bdb
docs: correctly add EyeTracker class to gaze module (#876)
dkrako Oct 24, 2024
cc1bae1
feat: add support for .ias files in stimulus.text.from_file() (#858)
SiQube Oct 24, 2024
5417804
dataset: beijing sentence corpus (#857)
SiQube Oct 24, 2024
92b49a7
dataset: add InteRead dataset (#862)
SiQube Oct 24, 2024
f0b69a9
fix: copy event resource files instead of moving them to events direc…
SiQube Oct 24, 2024
e6a9ced
hotfix: CopCo dataset precomputed eventsloading (#873)
SiQube Oct 24, 2024
1b8c4bd
ci: ignore too-many-public-methods (#882)
dkrako Oct 25, 2024
69ef837
ci: pre-commit autoupdate (#889)
pre-commit-ci[bot] Oct 29, 2024
cfbce95
ci: pre-commit autoupdate (#890)
pre-commit-ci[bot] Nov 5, 2024
47e734d
build: add support for python 3.13 (#845)
SiQube Nov 7, 2024
166b076
build: update nbsphinx requirement from <0.9.5,>=0.8.8 to >=0.8.8,<0.…
dependabot[bot] Nov 7, 2024
495e5d9
ci: pre-commit autoupdate (#896)
pre-commit-ci[bot] Nov 12, 2024
b691e6d
build: update setuptools-git-versioning requirement from <2 to <3 (#895)
dependabot[bot] Nov 12, 2024
88113c8
hotfix: download link fakenewsperception dataset (#897)
SiQube Nov 13, 2024
21fd0d2
feat: Store metadata from ASC in experiment metadata (#884)
saeub Nov 14, 2024
0856658
move split method to gaze dataframe
SiQube Nov 17, 2024
4751e41
Merge branch 'main' into split-gaze-files-into-trial-dataframes
SiQube Nov 17, 2024
b47ad31
ci: pre-commit autoupdate (#899)
pre-commit-ci[bot] Nov 18, 2024
5f5525a
ci: pre-commit autoupdate (#900)
pre-commit-ci[bot] Nov 27, 2024
c30bd9e
Add trial_columns argument in from_asc() (#898)
saeub Nov 27, 2024
7a25297
ci: pre-commit autoupdate (#902)
pre-commit-ci[bot] Dec 3, 2024
96141d5
docs: add CITATION.cff (#901)
SiQube Dec 8, 2024
5bf55f1
ci: pre-commit autoupdate (#904)
pre-commit-ci[bot] Dec 10, 2024
e4b3e8f
ci: add dataset section to release drafter (#903)
dkrako Dec 10, 2024
eb8aee5
move split method to gaze dataframe
SiQube Nov 17, 2024
ecd6b5c
add tests for number of split files
SiQube Dec 29, 2024
7229cd9
Merge branch 'main' into split-gaze-files-into-trial-dataframes
SiQube Dec 29, 2024
52902af
Merge branch 'main' into split-gaze-files-into-trial-dataframes
SiQube Dec 29, 2024
8994bb1
Merge branch 'main' into split-gaze-files-into-trial-dataframes
SiQube Jan 8, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
hotfix: check whether public dataset has gaze files (#872)
  • Loading branch information
SiQube committed Nov 17, 2024
commit 953ade30dc97cc7362fe6faf0f358e686c9f1920
23 changes: 12 additions & 11 deletions tests/integration/public_dataset_processing_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,15 @@ def test_public_dataset_processing(dataset_name, tmp_path):
dataset.load()

# Do some basic transformations.
if 'pixel' in dataset.gaze[0].columns:
dataset.pix2deg()
dataset.pos2vel()
dataset.pos2acc()

for gaze in dataset.gaze:
assert 'position' in gaze.columns
assert 'velocity' in gaze.columns
assert 'acceleration' in gaze.columns

shutil.rmtree(dataset_path, ignore_errors=True)
if dataset.definition.has_files['gaze']:
if 'pixel' in dataset.gaze[0].columns:
dataset.pix2deg()
dataset.pos2vel()
dataset.pos2acc()

for gaze in dataset.gaze:
assert 'position' in gaze.columns
assert 'velocity' in gaze.columns
assert 'acceleration' in gaze.columns

shutil.rmtree(dataset_path, ignore_errors=True)