Whole Network Analysis (PID) - pwollstadt/IDTxl GitHub Wiki

To analyse the whole network, use the analyse_network method and provide the required data, settings, targets, and sources arguments.

results = pid_analysis.analyse_network(settings=settings,
                                       data=data,
                                       targets=[0, 1, 2],
                                       sources=[1, 2], [0, 2], [0, 1](/pwollstadt/IDTxl/wiki/1,-2],-[0,-2],-[0,-1))

The targets argument provides a list of targets, which are analysed iteratively. For each target, the algorithm performs PID on the target and the set of sources provided for this target. As sources, the algorithm uses the entry in the sources list that has the same index as the current target.