RawCountValidator

This is a Python binding to the C++ class Mantid::API::RawCountValidator.

bases: mantid.api.MatrixWorkspaceValidator

class mantid.api.RawCountValidator((object)arg1[, (bool)mustNotBeDistribution=True])
__init__((object)arg1[, (bool)mustNotBeDistribution=True]) → None :

If mustNotBeDistribution=True then the workspace must not have been divided by the bin-width

isValid((MatrixWorkspaceValidator)self, (MatrixWorkspace)value) → str :

Returns an empty string if the value is considered valid, otherwise a string defining the error is returned.