Man pages for eyeris
Flexible, Extensible, & Reproducible Pupillometry Preprocessing

add_unique_event_identifiersAdd unique event identifiers to handle duplicate event...
add_unique_identifiers_to_dfAdd unique identifiers to a single events data frame
bidsifySave out pupil time series data in a BIDS-like structure
binBin pupil time series by averaging within time bins
bin_pupilBin pupil data into specified time bins
boilerplateGenerate a reproducible, copy-and-paste-ready methods...
boilerplate_license_noteCreative Commons CC BY 4.0 license note for the methods...
bp_numFormat a numeric value for inclusion in prose
build_boilerplate_mdBuild the Markdown methods boilerplate for an eyeris object
calc_euclidean_distCalculate Euclidean distance between points
calculate_epoched_confoundsCalculate confounds for epoched data
check_and_create_dirCheck and create directory if it doesn't exist
check_arrowCheck for Arrow availability
check_baseline_epoch_countsCheck baseline and epoch counts match
check_baseline_inputsCheck baseline input arguments
check_baseline_meanCheck if baseline mean is zero
check_columnCheck if column exists in data frame
check_dataCheck if object is of class eyeris
check_duckdbCheck for DuckDB availability
check_epoch_inputCheck epoch input for plotting
check_epoch_manual_input_dataCheck epoch manual input data structure
check_epoch_manual_input_dfsCheck epoch manual input data frame format
check_epoch_msg_valuesCheck epoch message values against available events
check_inputCheck if input argument is provided
check_limitsCheck limits in wildcard mode
check_pupil_colsCheck if pupil_raw column exists
check_start_end_timestampsCheck start and end timestamps are balanced
check_time_monotonicCheck time series monotonicity
clean_stringClean string by removing non-alphanumeric characters
cleanup_run_dir_imagesClean up individual image files in run directories after HTML...
cleanup_source_figures_post_renderClean up source figures after report generation
cleanup_temp_databaseCleanup temporary database
compute_baselineCompute baseline correction for epoch data
compute_run_data_lossCompute percent data lost for a given run/block
connect_eyeris_databaseCreate or connect to eyeris project database
convert_nested_dtConvert nested data.table objects to tibbles
count_epochsCount epochs and validate data is epoched
counter_barCreate a counter progress bar
create_epoch_images_zipCreate zip file from epoch images
create_table_nameCreate table name for eyeris data
create_temp_eyeris_databaseCreate temporary database for parallel processing
deblinkNA-pad blink events / missing data
deblink_pupilInternal function to remove blink artifacts from pupil data
describe_boilerplate_stepDescribe a single pipeline step as a methods-section sentence
describe_boilerplate_stepsDescribe each recorded pipeline step as a methods-section...
detransientRemove pupil samples that are physiologically unlikely
detransient_pupilInternal function to remove transient artifacts from pupil...
detrendDetrend the pupil time series
detrend_pupilInternal function to detrend pupil data
disconnect_eyeris_databaseDisconnect from eyeris database
downsampleDownsample pupil time series with anti-aliasing filtering
downsample_pupilInternal function to downsample pupil data
draw_na_linesDraw vertical lines at NA positions
draw_random_epochsDraw random epochs for plotting
epochEpoch (and baseline) pupil data based on custom event message...
epoch_and_baseline_blockBlock-by-block epoch and baseline handler
epoch_manuallyManually epoch using provided start/end data frames of...
epoch_only_start_msgEpoch based on a single event message (without explicit...
epoch_pupilMain epoching and baselining logic
epoch_start_end_msgEpoch using a start and an end message (explicit timestamps)
epoch_start_msg_and_limitsEpoch using a start message with fixed limits around it
error_handlerHandle errors with custom error classes
evaluate_pipeline_step_paramsEvaluate pipeline step parameters
export_confounds_to_csvExport confounds data to CSV files and/or database
extract_baseline_epochsExtract baseline epochs from time series data
extract_event_idsExtract event identifiers from event messages
eyelink_asc_binocular_demo_datasetAccess example EyeLink .asc binocular mock dataset file...
eyelink_asc_demo_datasetAccess example EyeLink .asc demo dataset file provided by the...
eyeloggerRun 'eyeris' commands with automatic logging of R console's...
eyeris_color_paletteDefault color palette for eyeris plotting functions
eyeris_db_collectExtract and aggregate eyeris data across subjects from...
eyeris_db_connectConnect to eyeris project database (user-facing)
eyeris_db_disconnectDisconnect from eyeris database (user-facing)
eyeris_db_list_tablesList available tables in eyeris database
eyeris_db_readRead eyeris data from database
eyeris_db_reconstruct_from_chunksReconstruct eyerisdb from chunked files
eyeris_db_split_for_sharingSplit eyerisdb for data sharing and distribution
eyeris_db_summaryGet summary statistics for eyeris database
eyeris_db_to_chunked_filesExport eyeris database to chunked files
eyeris_db_to_parquetSplit eyeris database into N parquet files by data type
eyeris-packageeyeris: Flexible, Extensible, & Reproducible Pupillometry...
filter_epochsFilter epoch names from eyeris object
filter_task_run_dirsFilter run-directory basenames to a single task
find_baseline_structureFind baseline structure name for a given epoch
format_call_stackFormat call stack information for display
get_block_numbersExtract block numbers from eyeris object or character vector
get_confounds_for_stepCalculate confounds for a single pupil data step
get_log_timestampGet formatted timestamp for logging
get_pre_decimation_blockRetrieve the preserved full-resolution data for a block
get_timestampsObtain timestamps from events data
glassboxThe opinionated "glass box" 'eyeris' pipeline
glassbox_internalInternal glassbox function for processing individual eyes
index_metadataIndex metadata from data frame
interpolateInterpolate missing pupil samples
interpolate_pupilInterpolate missing pupil data using linear interpolation
is_binocular_objectCheck if object is a binocular eyeris object
is_decimated_colIdentify decimated (downsample/bin) pupil columns
load_ascLoad and parse SR Research EyeLink '.asc' files
log_errorLog an error message and abort
loggingStandardized logging functions for eyeris
log_infoLog an informational message
log_messageCore logging function with timestamp and glue support
log_successLog a success message
log_warnLog a warning message
lpfiltLowpass filtering of time series data
lpfilt_pupilInternal function to lowpass filter pupil data
make_baseline_labelCreate baseline label for epoch data
make_bids_fnameMake a BIDS-compatible filename
make_epoch_labelGenerate epoch label from events and data
make_galleryCreate interactive epoch gallery report
make_md_tableCreate markdown table from data frame
make_md_table_multilineCreate multiline markdown table from data frame
make_prog_summary_plotCreate progressive preprocessing summary plot
make_reportCreate eyeris report
make_run_dir_nameBuild the canonical run-directory basename
merge_events_with_timeseriesProcess event messages and merge with time series
merge_temp_databaseMerge temporary database into main database
normalize_gaze_coordsNormalize gaze coordinates to screen-relative units
parse_call_stackParse call stack information
parse_eyelink_infoParse EyeLink version and model information
pipeline_handlerBuild a generic operation (extension) for the 'eyeris'...
plot_binocular_correlationPlot binocular correlation between left and right eye data
plot_detrend_overlayInternal helper to plot detrending overlay
plot.eyerisPlot pre-processed pupil data from 'eyeris'
plot_gaze_heatmapCreate gaze heatmap of eye coordinates
plot_pupil_distributionPlot pupil distribution histogram
plot_with_seedPlot with seed handling for glassbox pipeline
print.eyeris_boilerplatePrint method for 'eyeris' methods boilerplate
print_lightbox_img_htmlPrint lightbox image HTML for zip-based gallery
print_lightbox_img_html_legacyPrint lightbox image HTML (legacy)
print_plotsPrint plots in markdown format
process_chunked_queryProcess large database query in chunks
process_epoch_and_baselinesEpoch and baseline processor
process_eyeris_dataProcess eyeris data and create eyeris object
progress_barCreate a progress bar for tracking operations
prompt_userPrompt user for continuation
read_eyeris_parquetRead parquet files back into R
render_reportRender R Markdown report
robust_plotRobust plotting function with error handling
run_bidsifyInternal function to run bidsify on a single eye
run_dir_patternRegex matching run-directory basenames
sanitize_event_tagSanitize event tag string into canonical epoch label
save_detrend_plotsSave detrend plots for each block
save_progressive_summary_plotsSave progressive summary plots for each block
should_omit_parameterCheck if a parameter should be omitted from call stack...
should_plot_binoc_corsCheck if binocular correlations should be plotted
slice_epochSlice epoch from raw time series data
slice_epochs_no_limitsSlice epochs with no explicit limits
slice_epochs_with_limitsSlice epochs with explicit limits
slice_epoch_windowSlice a fixed time window out of a time series for previewing
speedCalculate pupil speed using finite differences
summarize_confoundsExtract confounding variables calculated separately for each...
tag_blinksTag blinks in pupil data
tag_gaze_coordsTag gaze coordinates as on/off screen
tickTick a progress bar
trim_pre_decimation_colsRetain only the columns needed to plot pre-decimation...
write_csv_and_dbWrite data to CSV and/or database (helper function)
write_eyeris_data_to_dbWrite eyeris data to database
zip_and_cleanup_source_figuresZip and cleanup source figure files
zscoreZ-score pupil time series data
zscore_pupilInternal function to z-score pupil data
eyeris documentation built on June 19, 2026, 9:08 a.m.