Changeset 2323 for trunk/GSASIIobj.py


Ignore:
Timestamp:
Jun 15, 2016 7:20:50 PM (7 years ago)
Author:
toby
Message:

prepare to calc s.u. for distance pseudo vars

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIobj.py

    r2318 r2323  
    16611661        (list of 1-3 str values)'''
    16621662
    1663         self.distance_stuff = None  # to be used for defining atom distances
     1663        self.distance_dict  = None  # to be used for defining atom phase/symmetry info
    16641664        self.distance_atoms = None  # to be used for defining atom distances
    16651665
     
    19381938        not evaluation of expression.)
    19391939        '''
     1940        self.su = None
     1941        '''Standard error evaluation where supplied by the evaluator
     1942        '''
    19401943        # Patch: for old-style expressions with a (now removed step size)
    19411944        for v in self.eObj.assgnVars:
     
    20412044        then the result will be ``4.0``.
    20422045        '''
     2046        self.su = None
    20432047        if self.eObj.expression.startswith('Dist'):
    20442048            dist = 0
    20452049#            GSASIIpath.IPyBreak()
    20462050            dist = G2mth.CalcDist(self.eObj.distance_dict, self.eObj.distance_atoms, self.parmDict)
    2047             return dist
     2051            #self.su = G2mth.CalcDistSu(self.eObj.distance_dict, self.eObj.distance_atoms, self.parmDict)
     2052            return dist
    20482053        if self.compiledExpr is None:
    20492054            raise Exception,"EvalExpression called before SetupCalc"
Note: See TracChangeset for help on using the changeset viewer.