How can I perform a directed transfer function (DTF)?

Hi, I am aiming to find the DTF between certain regions of eeg data in python.
If I have a one-dimensional time point array between two channels at a certain frequency, or a two-dimensional epoch numpy array (channel x timepoint) * epochs for all channels, how can I get it?
I also found that the DTF function exists in the connectivity in the scot library, but shamefully I don’t understand how to use it…
Any help would be greatly appreciated.

Thanks.

I’m unfamiliar with the SCoT toolbox, so I can’t provide more help for this beyond linking to what appears to be the relevant part of the documentation: scot package — SCoT.

If another form of directed connectivity is acceptable for your analysis, Granger causality was recently added in v0.6 of MNE-Connectivity: Compute directionality of connectivity with multivariate Granger causality — MNE-Connectivity 0.7.0.dev0 documentation (linking to the dev version here because v0.6 documentation is not currently rendering properly).

Sorry I can’t provide a more direct answer to your question.

1 Like

Solved, thank you!