coco-pipe#
An engine for cognitive and computational neuroscience — from feature extraction and dimensionality reduction to trajectory analysis, classical machine learning, and foundation-model decoding, with publication-grade visualization and automated reporting.
coco-pipe provides reusable, leakage-safe components for M/EEG and related
biosignal research. Each module works on its own or as part of an end-to-end
workflow, and they all speak the same DataContainer.
Install coco-pipe and run your first end-to-end workflow.
Loading (tabular, BIDS, embeddings), the DataContainer, quality
control, and persistence.
Signal feature extraction — spectral, parametric, and complexity families.
Leakage-safe classification & regression with scikit-learn estimators, cross-validation, tuning, and statistical assessment.
Pretrained backbones (frozen, fine-tuned, LoRA/QLoRA). In the decoding module, but a wholly separate design.
PCA, UMAP, PHATE, PaCMAP and 15+ reducers behind one interface, with quality metrics and method comparison.
Kinematics and time-resolved group separation over native 3D embedding tensors.
Mirrored Matplotlib and Plotly backends, one theme, exploratory to publication-ready figures.
Self-contained, interactive HTML reports — lineage-aware and offline-ready.
Where to go next#
Scientific guides for every module.
Public API and the full module index.
Executable, end-to-end gallery.
Our vision#
coco-pipe is, first, an engine that brings the tools of cognitive and
computational neuroscience under one roof — feature extraction, dimensionality
reduction, trajectory analysis, classical decoding, and foundation models — all
speaking one data structure. On top of that engine we are building end-to-end
pipelines: throw your preprocessed data at them and, with a few CLI commands,
run complementary analyses to understand your data — then move from broad
exploration to focused, targeted analysis, again powered by the engine.
We start with M/EEG, and aim to extend to other modalities as the engine matures.
See also
Read the full Vision for the roadmap and design principles.