Transforms#
coco_pipe.transforms contains reusable scikit-learn-compatible data
transformers for subject structure in vectors, token representations, and
temporal trajectories.
The public registry exposes four methods:
Registry name |
Class |
Input |
Main operation |
|---|---|---|---|
|
|
|
Remove the linearly predictable subject subspace |
|
|
|
Center every subject |
|
|
|
Center and whiten every subject |
|
|
|
Recenter subject covariance matrices and project to tangent space |
Temporal trajectories also support participant-specific PCA plus orthogonal Procrustes alignment:
Class |
Input |
Main operation |
|---|---|---|
|
|
Rotate each participant’s PCA trajectories toward a training template |
See Subject alignment for the vector/token methods and Temporal trajectory alignment for temporal decoding.