pypeafowl.FlowInfo.getStatistic

FlowInfo.getStatistic(self: pypeafowl.FlowInfo, stat: pypeafowl.Statistic, dir: pypeafowl.Direction) → float

Returns a statistic of this flow for a specific direction.

Args:
stat

The type of statistic to get.

dir

The direction.

Returns:

The required statistics of this flow.