Future Packages

Planned packages for the full simulation and modeling pipeline

Not yet implemented These packages are designed but contain no code. The architecture is laid out in CLAUDE.md files. They build on the core contracts (Recording, MetricResult, ParameterVector, ModelOutput, Metric ABC, Model ABC) and the implemented model infrastructure (models-utils, Jansen-Rit).

concord-connectome

Structural connectivity — the physical wiring of the brain from diffusion MRI tractography. This is needed by neural models that couple brain regions together.

Planned scope

Neural Model Packages

Each model implements the Model ABC and self-registers via entry_points. They take a ParameterVector and optionally a ConnectivityMatrix, and produce a ModelOutput. The foundation model (Jansen-Rit) and shared utilities (models-utils) are already implemented. The remaining models extend the same infrastructure:

concord-model-wendling

The Wendling (2002) extended Jansen-Rit model. Four populations: pyramidal cells, excitatory interneurons, slow GABA-A inhibitory interneurons, fast GABA-A inhibitory interneurons. The key addition is the fast inhibitory population, which allows the model to reproduce a spectrum of EEG patterns from background to ictal activity by adjusting a single gain parameter.

concord-model-epileptor

The Jirsa Epileptor (2014). A 5-variable phenomenological model designed specifically to capture the bifurcation structure of seizure dynamics — onset, sustained ictal activity, and offset.

concord-model-robinson

The Robinson thalamocortical model (2002). Models the cortex-thalamus-reticular nucleus loop, capturing the full spectrum of sleep-wake dynamics and arousal states.

Extended Metric Packages

concord-metrics-connectivity

Measures statistical dependencies between pairs of channels — functional connectivity.

concord-metrics-event

Event detection and characterization.

concord-metrics-network

Graph-theoretic metrics applied to functional connectivity matrices.

concord-metrics-nonlinear

Measures of signal complexity and chaos.

concord-fit

The optimization engine that fits model parameters to recorded data by minimizing the distance between simulated and real metrics.

Planned scope