Changeset 1229 for trunk/GSASIIstrMath.py
- Timestamp:
- Feb 25, 2014 9:40:27 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIstrMath.py
r1175 r1229 393 393 pWsum[name] += wt*((obs-calc)/esd)**2 394 394 395 pWsum['PWLref'] = 0. 395 396 for item in varyList: 396 397 if 'PWLref' in item and parmDict[item] < 0.: … … 400 401 pVals.append(-parmDict[item]) 401 402 pWt.append(negWt[pId]) 402 pWsum[ name] += negWt[pId]*(-parmDict[item])**2403 pWsum['PWLref'] += negWt[pId]*(-parmDict[item])**2 403 404 pVals = np.array(pVals) 404 405 pWt = np.array(pWt) #should this be np.sqrt?
Note: See TracChangeset
for help on using the changeset viewer.