Skip to content

Katherine preproc touch data - #746

Merged
katherineperks merged 2 commits into
masterfrom
katherine-preproc-touch-data
May 7, 2026
Merged

Katherine preproc touch data#746
katherineperks merged 2 commits into
masterfrom
katherine-preproc-touch-data

Conversation

@katherineperks

Copy link
Copy Markdown
Collaborator

Adds a function to correct task data from an early version of the tablet touch app, where cursor is set to NaN & disappears whenever there is no touch input. This causes problems because user_screen is also set to NaN (to indicate there was no touch). When both cursor and user_screen are NaN, there is no continuous signal that can be used in frequency domain analyses.

In later versions of the touch app, the cursor remains visible at the last valid position until the next touch input. In both versions, user_screen is set to NaN whenever there is no touch. This function updates the cursor field in task data to always be non-NaN after the initial touch input and uses the plant_visible field to indicate whether the cursor was shown or hidden.

I've re-preprocessed tablet data w/touch app and checked that it works as expected.

@katherineperks
katherineperks merged commit ac4d0c7 into master May 7, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants