Data Model version 2.0.6
Acknowledgements
Diagram | Class Map | Attribute Map | Method Map | Help | License
Home | Package | Class | Attribute | Method: { prev | next }

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
  Data Model Version 2.0.6
Go to Top  
  Autogenerated by  PyApiDocGen  revision 1.3   on  Wed Aug 7 15:06:42 2013    from data model package  ccp.api.nmr.Nmr.DataDimRef   revision 1.56  
  Work done by the CCPN team.
www.ccpn.ac.uk