Stats

This a python binding to the C++ class Mantid::Kernel::Stats.

class mantid.kernel.Stats
class Statistics((object)arg1)
__init__((object)arg1) → None
maximum

Maximum value of the data set

mean

Simple mean, sum(data)/nvalues, of the data set

median

Middle value of the data set

minimum

Minimum value of the data set

standard_deviation

Standard width of distribution

Stats.__init__()

Raises an exception This class cannot be instantiated from Python

Stats.getModifiedZscore((object)data[, (bool)sorted]) → std_vector_dbl :

Determine the modified Z score for an array of data

Stats.getMomentsAboutMean((object)indep, (object)depend[, (int)maxMoment]) → numpy.ndarray :

Calculate the first n-moments (inclusive) about the mean

Stats.getMomentsAboutOrigin((object)indep, (object)depend[, (int)maxMoment]) → numpy.ndarray :

Calculate the first n-moments (inclusive) about the origin

Stats.getStatistics((object)data[, (bool)sorted]) → Statistics :

Determine the statistics for an array of data

Stats.getZscore((object)data) → std_vector_dbl :
Determine the Z score for an array of data
getZscore( (object)data, (bool)sorted) -> std_vector_dbl :
Determine the Z score for an array of data (deprecated sorted argument)