Skip to content

Single Target analysis

LNov edited this page Sep 19, 2017 · 2 revisions

In order to restrict the analysis to a specific target process in the system, run the analyse_single_target method and provide target argument in addition to the required data and settings. By default, when a target process is specified (e.g. process 0), all the other processes (excluding process 0) will be considered as potential sources.

results = network_analysis.analyse_single_target(settings=settings,
                                                 data=data,
                                                 target=0)

Restricting the set of potential sources

The optional argument sources can additionally be passed to the analyse_single_target method in order to restrict the analysis to a specific list of potential sources.

results = network_analysis.analyse_single_target(settings=settings,
                                                 data=data,
                                                 target=0,
                                                 sources=[1, 3])
Clone this wiki locally