STUDY Workflows#
Group-level STUDY functions for design, clustering, measures, and plotting.
Study Setup and Validation#
|
Return |
|
Build a design matrix from a STUDY design and trial metadata. |
|
Check whether each value of a STUDY factor has the same subject count. |
|
Check dataset/session alignment for a STUDY and loaded ALLEEG. |
|
Return STUDY.datasetinfo consistency checks for loaded datasets. |
|
Return 1 when a design has no continuous variables or multi-valued extras. |
|
Check loaded STUDY data and cached measures for standalone EEGPrep. |
|
Normalize a STUDY dict and refresh dataset/design consistency metadata. |
|
Return trial rows enriched with selected |
|
Modify STUDY metadata and datasetinfo entries. |
|
Return dataset variables that are constant within each subject. |
|
Populate STUDY and EEG trial information from each time-locking event. |
|
Refresh STUDY design variables after dataset metadata changes. |
|
Return selected 1-based dataset indices and trial indices. |
|
Return |
|
Return |
Clustering#
corrmap performs two-pass, polarity-invariant component matching against a
template scalp map. Its average templates are RMS-normalized so arbitrary ICA
column scale cannot bias which components are selected on the second pass.
Datasets must use the same labelled montage; use std_interp first when
montages differ. pop_corrmap is the history-producing scripted wrapper.
|
Find ICA maps correlated with one template component. |
|
Run noninteractive CORRMAP matching and optionally return history. |
|
Cluster rows using deterministic affinity propagation updates. |
|
Return centroids for all rows or for each positive label. |
|
Plot a compact cluster summary for GUI and console workflows. |
|
Create child clusters from one cluster label per preclustering row. |
|
Report the standalone boundary for STUDY dipole-cluster workflows. |
|
Return 1-based row indices farther than |
|
Merge two or more 1-based STUDY clusters into a new child cluster. |
|
Move component positions from a cluster into its outlier cluster. |
|
Build the PCA-reduced matrix used by |
|
Read cached STUDY component scalp topographies. |
|
Move components farther than |
|
Rename one 1-based STUDY cluster and update parent/child links. |
Measures#
|
Plot precomputed ERPs grouped by the selected STUDY design. |
|
Plot precomputed ERSPs grouped by the selected STUDY design. |
|
Interpolate selected missing channels into every STUDY dataset. |
|
Plot precomputed ITCs grouped by the selected STUDY design. |
|
Precompute ERP, spectrum, ERSP, and ITC measures for a STUDY. |
|
Read precomputed STUDY measures from EEGPrep's in-memory cache. |
|
Read cached STUDY ERP measures. |
|
Read cached STUDY ERSP measures. |
|
Load one or more EEGPrep LIMO |
|
Read cached STUDY ITC measures. |
|
Read cached STUDY spectrum measures. |
|
Plot precomputed spectra grouped by the selected STUDY design. |
|
Plot polarity-aligned cluster centroids or their component maps. |
Plot and Statistics Parameters#
|
Set defaults or named options in |
|
Set defaults or named options in |
|
Set defaults or named options in |
|
Set defaults or named options in |
|
Set defaults or named options in |
|
Set STUDY statistics options, including EEGLAB and FieldTrip sub-options. |
|
Compute EEGLAB-style condition, group, and interaction statistics. |
Plotting#
|
Select and plot localized components from one or more STUDY clusters. |
|
Read and optionally plot precomputed STUDY PAC measures. |
Other#
|
Group 1-based dataset indices with near-identical ICA weights*sphere. |
|
Return STUDY factor names, values, subject groupings, and pairing flags. |
|
Return 1-based trial indices matching all requested trialinfo values. |
|
Return 1-based indices where an independent-variable value matches. |
|
Fit a first-level mass-univariate linear model. |
|
Create LIMO-compatible categorical and continuous design matrices. |
|
Compute contrasts, group tests, regressions, or central tendencies. |
|
Create or replace a 1-based STUDY design. |
|
Move component positions from one 1-based STUDY cluster to another. |
|
Compute phase-amplitude coupling for an EEG dataset or STUDY. |
|
Prepare a FieldTrip-like neighbor list and LIMO adjacency matrix. |
|
Read EEGPrep-owned cached STUDY PAC data when present. |
|
Return STUDY without cached measure/data fields for the requested target. |
|
Remove datasets from STUDY/ALLEEG and return removed 1-based indices. |
|
Save a measure structure as JSON or MATLAB-compatible MAT data. |
|
Save factor descriptors under |
|
Select a 1-based STUDY design index. |
|
Return cached-measure cells with only the requested subject columns. |
|
Return a STUDY/ALLEEG subset using EEGLAB-facing 1-based selectors. |