Data Model version 2.1.2

Method: getValueError


    getter for derived attribute valueError

guid: www.ccpn.ac.uk_Fogh_2006-08-16-18:20:01_00019
OpType: get
OpSubType: None
isQuery: True
isAbstract: False
Scope: instance_level
Code: result = None
pp = self.positionError
if pp is not None:
  dataDimRef = self.dataDimRef

  if dataDimRef is None:
    dataDim = self.dataDim
    ll = []
    for ds in dataDim.dimensionScalings:
      sfs = ds.scalingFactors
      if not sfs or 1 in sfs:
        ll.append(ds.expDimRef)
    if len(ll) == 1:
      dataDimRef = ll[0].findFirstDataDimRef(dataDim=dataDim)

  if dataDimRef is not None:
    result = pp * dataDimRef.valuePerPoint
  Data Model Version 2.1.2
Go to Top  
  Autogenerated by  PyApiDocGen  revision 1.3   on  Mon Mar 2 17:24:58 2015    from data model package  ccp.api.nmr.Nmr.PeakDim   revision ?  
  Work done by the CCPN team.
www.ccpn.ac.uk