% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/pspm-dcm-bridge.R
\name{prepare_gazepoint_pspm_dcm_input}
\alias{prepare_gazepoint_pspm_dcm_input}
\title{Prepare Gazepoint EDA data for PsPM DCM workflows}
\usage{
prepare_gazepoint_pspm_dcm_input(
  dat,
  eda_col = "GSR_US",
  time_col = "CNT",
  event_onset_col = NULL,
  event_duration_col = NULL,
  event_name_col = NULL,
  participant_col = NULL,
  session_col = NULL,
  sampling_rate = NULL,
  output_dir = NULL,
  prefix = "gazepoint_pspm_dcm"
)
}
\arguments{
\item{dat}{A data frame containing EDA data.}

\item{eda_col}{Numeric EDA/conductance column.}

\item{time_col}{Numeric time column.}

\item{event_onset_col}{Optional event onset column.}

\item{event_duration_col}{Optional event duration column.}

\item{event_name_col}{Optional event name/condition column.}

\item{participant_col}{Optional participant column.}

\item{session_col}{Optional session column.}

\item{sampling_rate}{Optional sampling rate in Hz.}

\item{output_dir}{Optional directory for CSV export.}

\item{prefix}{File prefix when \code{output_dir} is supplied.}
}
\value{
A list with \code{overview}, \code{signal_table}, \code{event_table},
\code{pspm_notes}, \code{written_files}, and \code{settings}.
}
\description{
Prepares Gazepoint EDA data and event metadata for downstream PsPM dynamic
causal modelling workflows. This function does not run PsPM or invert a DCM
model in R. It creates structured input tables and notes for MATLAB/PsPM.
}
