guid:
|
www.ccpn.ac.uk_Fogh_2010-05-14-15:28:22_00001
|
isImplicit:
|
False
|
Tag
|
Value
|
repositoryId
|
$Id: $
|
Tag
|
Value
|
repositoryTag
|
$Name: $
|
Special constructor code:
|
None
|
Special destructor code:
|
None
|
Special postDestructor code:
|
None
|
Constraint name:
|
consistent_matrix_size
|
Constraint code:
|
len(self.refPoints) == self.ndim
|
Constraint name:
|
consistent_number_of_reference_atoms
|
Constraint code:
|
len(self.refPoints) == len(self.refAtoms)
|
Constraint name:
|
consistent_number_valuesPerPoint
|
Constraint code:
|
len(self.valuesPerPoint) == self.ndim
|
Constraint name:
|
consistent_referencing_dimension
|
Constraint code:
|
len(self.refPoints) == len(self.refValues)
|
Constraint name:
|
nd_distribution_is_normalised
|
Constraint code:
|
isValid = False
ll = self.data
if ll:
floatTolerance = 1.0e-5
if abs(sum(ll)-1.0) <= floatTolerance:
isValid = True
|
Constraint name:
|
numbers_are_positive
|
Constraint code:
|
data= self.data
isValid = (not data or min(data) >= 0)
|
Known inward one-way links:
|
None
|