Changeset 4600
- Timestamp:
- Oct 16, 2020 8:55:45 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIphsGUI.py
r4599 r4600 10517 10517 return 10518 10518 deltaList = getDeltaXYZ(selDict,data,rbObj) 10519 data['testRBObj']['rbObj']['Orig'][0] [:]= deltaList.sum(axis=0)/len(deltaList)10519 data['testRBObj']['rbObj']['Orig'][0] += deltaList.sum(axis=0)/len(deltaList) 10520 10520 for i,item in enumerate(Xsizers): 10521 10521 item.SetValue(data['testRBObj']['rbObj']['Orig'][0][i]) … … 10546 10546 style=wx.ICON_EXCLAMATION) 10547 10547 return 10548 vals = rbObj['Orient'][0][:] + rbObj['Orig'][0][:]10548 vals = np.concatenate((rbObj['Orient'][0], rbObj['Orig'][0])) 10549 10549 out = so.leastsq(objectiveDeltaPos,vals,(selDict,data,rbObj)) 10550 10550 data['testRBObj']['rbObj']['Orig'][0][:] = out[0][4:] … … 10610 10610 matchTable = assignAtoms(unmatchedRBatoms=unmatchedRBatoms) 10611 10611 if unmatchedRBatoms: 10612 msg = 'There are {} atoms that will need to be added to atoms list.'.format(len(unmatchedRBatoms))10613 G2G.G2MessageBox(G2frame,msg,title='Please note')10612 # msg = 'There are {} atoms that will need to be added to atoms list.'.format(len(unmatchedRBatoms)) 10613 # G2G.G2MessageBox(G2frame,msg,title='Please note') 10614 10614 for i in unmatchedRBatoms: 10615 10615 rbAssignments[i] = None
Note: See TracChangeset
for help on using the changeset viewer.