ObservableStatistics

class qucumber.callbacks.observable_evaluator.ObservableStatistics(data)[source]

A data structure which allows easy access to past values of Observable statistics.

Parameters

data (list[dict(str, float)]) – The historical statistics of an Observable.

__getattr__(statistic)[source]

Return an array containing values of the given statistic.

Parameters

statistic (str) – The statistic to retrieve.

Returns

The past values of the statistic.

Return type

numpy.ndarray