Package: gazer 0.2.8

gazer: Tools for Processing Eye Tracking Data

Functions for reading and pre-processing eye tracking data.

Authors:Jason Geller [aut, cre], Dan Mirman [aut], Tristan Mahr [aut], Matt Winn [aut], Holger Mitterer [aut]

gazer_0.2.8.tar.gz
gazer_0.2.8.zip(r-4.7-any)gazer_0.2.8.zip(r-4.6-any)gazer_0.2.8.zip(r-4.5-any)
gazer_0.2.8.tgz(r-4.6-any)gazer_0.2.8.tgz(r-4.5-any)
gazer_0.2.8.tar.gz(r-4.7-any)gazer_0.2.8.tar.gz(r-4.6-any)
gazer_0.2.8.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
gazer/json (API)

# Install 'gazer' in R:
install.packages('gazer', repos = c('https://jgeller112.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/dmirman/gazer/issues

Datasets:
  • CohortRhyme - Cohort and rhyme competition during spoken word recognition
  • cursive_agg_data - Judgments to cursive vs. type-print words in LDT
  • FunctTheme - Fixation of semantically related objects during spoken word comprehension
  • FunctThemePts - Fixation of semantically related objects during spoken word comprehension by participants with left hemisphere stroke
  • NamingRecovery - Picture naming during aphasia treatment
  • TargetFix - Target fixation data from a typical "visual world paradigm" experiment
  • WordLearnEx - Effect of transitional probability on novel word learning

On CRAN:

Conda:

6.44 score 52 stars 1 packages 66 scripts 44 exports 44 dependencies

Last updated from:1d2c0f841a. Checks:8 ERROR, 1 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-develERROR184
source / vignettesERROR520
linux-releaseERROR179
macos-releaseERROR125
macos-oldrelERROR139
windows-develERROR147
windows-releaseERROR148
windows-oldrelERROR142
wasm-releaseOK186

Exports:assign_aoibaseline_correction_pupilbaseline_correction_pupil_msgbehave_pupilbinify_fixationsblink_detectblink_velocitycalc_madcode_polycompute_monocular_meancount_missing_pupilCrawford_Howelldetect_blinks_noisedownsample_gazedownsample_pupildynamic_pupilextend_blinksfind_messages_ascgenerate_edf2asc_batget_gaze_diagnosticsget_pvaluesget_ranefget_tracklosshanning_filterinterpolate_pupillegend_positioninglowpass_filtermake_gazermerge_asc_filesmerge_gazer_filesmerge_pupilmerge_tobii_tittamoving_average_pupilonset_pupilparse_ascparse_edfparse_edf_messagesparse_plprocess_all_subjects_PLread_ascread_fixation_reportsmooth_interpolate_pupilspeed_pupilupsample_gaze

Dependencies:bitbit64clicliprcpp11crayondata.tabledplyrfarvergenericsggplot2gluegtablehmsisobandlabelinglatticelifecyclemagrittrMASSpillarpkgconfigprettyunitsprogresspurrrR6RColorBrewerreadrrlangS7scalessignalstringistringrtibbletidyrtidyselecttzdbutf8vctrsviridisLitevroomwithrzoo

Readme and manuals

Help Manual

Help pageTopics
Assign coordinates to areas of interestassign_aoi
Performs linear (sub) or divisive baseline correction relative to desired stim_onset and off_setbaseline_correction_pupil
Performs linear (sub) or divisive baseline correction relative to desired stim_onset and off_set with messages.baseline_correction_pupil_msg
culls important behavioral data from the sample reportbehave_pupil
Convert fixation list into time binsbinify_fixations
Take pupil file and detect blinks merge blinks with sample report Requires the saccades package ('remotes::install_github("tmalsburg/saccades/saccades")').blink_detect
This function takes a dataframe and applies a simple velocity algorithm to detect blinks in the data based off velocity of pupil size changes. The algorithm has four parameters that need to be adjusted based on the particulars of the data: the amount of smoothing, the (negative) onset velocity threshold, the (positive) reversal velocity threshold, and the temporal marginblink_velocity
calculates the median absoulte deviation (MAD) and sets the threshold to filter on.calc_mad
Build polynomial predictor variablescode_poly
Cohort and rhyme competition during spoken word recognitionCohortRhyme
Compare groups on a set of variables.compare_groups
Compute a Monocular Mean Pupil Valuecompute_monocular_mean
Calculate percent missing data by subject and by trialcount_missing_pupil
Crawford-Howell (1998) t-test for case-control comparisons.Crawford_Howell
Judgments to cursive vs. type-print words in LDTcursive_agg_data
Noise-based blink detection (Hershman, Henik & Cohen, 2018)detect_blinks_noise
Downsample gaze datadownsample_gaze
Downsample pupil datadownsample_pupil
calc dynamic pupil range (Ayasse et al., 2017; Piquado et al., 2010)) must have min pupil and max pupil size merged into df to workdynamic_pupil
Extends blinks if not already done in SR Data Viewerextend_blinks
Take asc files and return important events Collect trial variables for your experiment. #' This code was written by Dr. Holger Mittererfind_messages_asc
Take EDF files and return a tibble with important behavioral eventsfind_messages_edf
Fixation of semantically related objects during spoken word comprehensionFunctTheme
Fixation of semantically related objects during spoken word comprehension by participants with left hemisphere strokeFunctThemePts
Tools for Processing Eye Tracking Datagazer-package gazer
Takes edf files and converts them to asc This code was written by Dr. Holger Mitterergenerate_edf2asc_bat
Calculate gaze track diagnosticsget_gaze_diagnostics
Get p-values for a multilevel regression modelget_pvalues
Get random effects for individual effect size quantificationget_ranef
Calculate trackloss and remove trials and subjects with excessive tracklossget_trackloss
Perfroms hanning smoothing on pupil datahanning_filter
Turns pupil sizes with blinks NA and linearly interpolates valuesinterpolate_pupil
Set legend positionlegend_positioning
This function performs low pass filteringlowpass_filter
Prepare data for pre-processing in Gazermake_gazer
Take asc files and extract relevant data Merges eye data (from parse_asc) with message data (from find_messages_asc) This code was written by Dr. Holger Mitterermerge_asc_files
Merge eye files from a ufolder if filetype is from sr renames column variables and makes them lower case Places time in ms if edf files just reads them inmerge_gazer_files
Merge pupil files from a folder Renames column variables and makes them lower case Places time in msmerge_pupil
Merge paired Tobii Titta CSVs into a gazeR-ready, per-trial dataframemerge_tobii_titta
Moving average functionmoving_average_pupil
Picture naming during aphasia treatmentNamingRecovery
Zero Time Index to Event Onsetonset_pupil
Take asc files and extract relevant data Does not merge data with messages for fixation data, obtains sample report and puts time in ms This code was written by Dr. Holger Mittererparse_asc
Take EDF files and return data that is in format usable for gazeR for pupil merges the sample data with the message data (merges on nearest values (millisecond diff between SR and this function) puts time in ms adds subject variable column cleans up the column names creates pupil column that is ambigious as to whether you sampled from left eye, right eye, or both (takes the average) For fixation data, obtains sample report and puts time in msparse_edf
Take EDF files and return message events to extract behav data creates pupil column that is ambigious to whether you sampled from left eye, right eye, or both (takes the average)parse_edf_messages
Read and align a single Pupil Labs subject, define trials, and reset timeparse_pl
Process all Pupil Labs subjects in a root directoryprocess_all_subjects_PL
Read an EyeLink .asc file into gazeR formatread_asc
Read EyeDataViewer fixation reportread_fixation_report
Smooths the pupil trace before linear or cubic interpolation.smooth_interpolate_pupil
Calculates max absoulte dilation speed as suggested in Kret & Sjak-Shie (in press) calculates the median absoulte deviation (MAD) and sets the threshold to filter on.speed_pupil
Target fixation data from a typical "visual world paradigm" experimentTargetFix
Up-sample gaze and pupil dataupsample_gaze
Effect of transitional probability on novel word learningWordLearnEx