eegprep.std_builddesignmat#
- eegprep.std_builddesignmat(design, trialinfo, expanding=False)#
Build a design matrix from a STUDY design and trial metadata.
The output mirrors EEGLAB’s helper: categorical factors are encoded as 1-based level numbers, continuous factors keep their numeric values, and a constant column is appended at the end.