
Prepare Gazepoint EDA data for CTSI sparse deconvolution workflows
Source:R/ctsi-bridge.R
prepare_gazepoint_ctsi_input.RdPrepares signal, event, and configuration tables for downstream continuous-time system identification (CTSI) sparse EDA deconvolution workflows. This function does not implement the full Amin-Faghih CTSI solver in R. It creates reproducible input objects and optional CSV files for external CTSI implementations.
Arguments
- dat
A data frame containing EDA data.
- eda_col
Numeric EDA/conductance column.
- time_col
Numeric time column.
- group_cols
Optional grouping columns, such as participant/session.
- event_onset_col
Optional event onset column.
- event_name_col
Optional event/condition column.
- sampling_rate
Optional sampling rate in Hz.
- tau0_range
Candidate slow time-constant range.
- tau1_range
Candidate fast time-constant range.
- sparsity_grid
Candidate sparsity penalties.
- output_dir
Optional directory for CSV export.
- prefix
Output file prefix.