I did a thing last week:
A comprehensive Python package for brain effective connectivity: it includes: Granger Causality, Transfer Entropy, and Convergent Cross Mapping, Dynamic Bayesian Network, Structural Equation Modeling, DoWhy Causal Discovery, and Dynamic Causal Modeling, etc
It assumes the input is already preprocessed and loaded as time series according to an atlas.
Check https://pypi.org/project/effconnpy/ , you can install it with âpip install effconnpyâ, or via git: GitHub - alecrimi/effconnpy: A package for causal inference and statistical modeling in brain time series
Please send feedback, bugs, error and suggestions for improvements. I barely tested the Granger causality and multivariate Granger causality, I need your github issues to improve