<div dir="ltr">Dear all,<br><br>I did a thing last week. Here is Python package for brain effective connectivity:<br><a href="https://pypi.org/project/effconnpy/">https://pypi.org/project/effconnpy/</a><br><br>you can install it with "pip install effconnpy", or via git: <a href="https://github.com/alecrimi/effconnpy">https://github.com/alecrimi/effconnpy</a><br><br>It assumes you have preprocessed the fMRI data with fMRIprep or somethingelse, and you have extracted the time series according to an atlas.<br>The result is a brain effective connectivity matrix. The idea is to build something consistent more people as possible can agree. I tested it on fMRI series, I didn't have time to check for EEG or something else.<br><br>The implemented methods includes:<br> <br>- Bivariate Granger Causality, Transfer Entropy, and Convergent Cross Mapping<br>- Dynamic Bayesian Network, Structural Equation Modeling, DoWhy Causal Discovery, and Dynamic Causal Modeling (SPM free :-) )<br>- Multivariate Granger Causality as in  Barnett & Seth 2014, Multivariate Convergent Cross-Mapping (CCM) as in Nithya & Tangirala 2019, multivariate transfer entropy as in Duan et al. 2022<br><br>Please send feedback, bugs, error and suggestions for improvements.<br><br>Best,<br>Alex<br><br><br></div>