temporal_efficiency¶
-
temporal_efficiency
(tnet=None, paths=None, calc='overtime')[source]¶ Returns temporal efficiency estimate. BU networks only.
Parameters: - should be either tnet or paths. (Input) –
- data (array or dict) – Temporal network input (graphlet or contact). nettype: ‘bu’, ‘bd’.
- paths (pandas dataframe) – Output of TenetoBIDS.networkmeasure.shortest_temporal_paths
- calc (str) –
Options: ‘overtime’ (default) - measure averages over time and nodes; ‘node’ or ‘node_from’ average over nodes (i) and time. Giving average efficiency for i to j; ‘node_to’ measure average over nodes j and time;
Giving average efficiency using paths to j from i;
Returns: E – Global temporal efficiency
Return type: array