- Suppression of spatial leakage artifacts without discarding zero-phase synchrony.
- Task-adaptive projections that enhance sensitivity to relevant interactions via power-informed weighting.
- Works seamlessly with standard MNE-Python forward models and epoched data.
fwd.py— Utilities for forward modelingconn.py— Cross-spectral estimation, connectivity matrix building, visualization toolspsiicos.py— Functions for PSIICOS and CD-PSIICOS projector construction and applicationinv.py- Functions for inverse modeling
An example script demonstrating the use of the algorithm is available in scripts/CD-PSIICOS demo.ipynb
If you use this code, please cite the following paper:
Kleeva, D., & Ossadtchi, A. (2025). Context-dependent PSIICOS: A novel framework for functional connectivity estimation accounting for task-related power leakage. NeuroImage, 121268
https://doi.org/10.1016/j.neuroimage.2025.121268
This project is licensed under the MIT License.

