Estimate posterior temporal derivatives of a pupil trajectory
Source:R/pupil-functional-estimands.R
estimate_pupil_trajectory_derivative.RdComputes finite-difference posterior derivatives on the prediction grid. This is a descriptive functional estimand: it does not automatically define physiological onset, changepoints, or cognitively meaningful phases.