Method: valueToPoint
Convert input value in units of ExpDimRef.unit to output point value, correcting for referencing.
guid:
|
www.ccpn.ac.uk_Fogh_2006-08-16-18:20:03_00011
|
OpType:
|
otherQuery
|
OpSubType:
|
None
|
isQuery:
|
True
|
isAbstract:
|
False
|
Scope:
|
instance_level
|
Code:
|
if self.expDimRef.isAxisReversed:
valuePerPoint = -self.valuePerPoint
else:
valuePerPoint = self.valuePerPoint
result = self.refPoint + (value-self.refValue)/valuePerPoint
|
|