Changeset 2752
- Timestamp:
- Mar 9, 2017 8:54:25 AM (6 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIddataGUI.py
r2746 r2752 862 862 UseList[G2frame.hist]['LeBail'] = False 863 863 if 'newLeBail' not in UseList[G2frame.hist]: 864 UseList[G2frame.hist]['newLeBail'] = False864 UseList[G2frame.hist]['newLeBail'] = True 865 865 if 'Babinet' not in UseList[G2frame.hist]: 866 866 UseList[G2frame.hist]['Babinet'] = {'BabA':[0.0,False],'BabU':[0.0,False]} -
trunk/GSASIIstrIO.py
r2750 r2752 2336 2336 PrintBabinet(hapData['Babinet']) 2337 2337 if resetRefList and hapDict[pfx+'newLeBail']: 2338 if hapData.get('LeBail', False): #stop regeneating reflections for LeBail2338 if hapData.get('LeBail',True): #stop regeneating reflections for LeBail 2339 2339 hapData['newLeBail'] = False 2340 2340 refList = [] -
trunk/GSASIIstrMath.py
r2750 r2752 849 849 if not SGData['SGInv'] and 'S' in calcControls[hfx+'histType'] and phfx+'Flack' in parmDict: 850 850 Flack = 1.-2.*parmDict[phfx+'Flack'] 851 time0 = time.time()851 # time0 = time.time() 852 852 #reflection processing begins here - big arrays! 853 853 iBeg = 0 … … 941 941 # GSASIIpath.IPyBreak() 942 942 iBeg += blkSize 943 print ' %d derivative time %.4f\r'%(nRef,time.time()-time0)943 # print ' %d derivative time %.4f\r'%(nRef,time.time()-time0) 944 944 #loop over atoms - each dict entry is list of derivatives for all the reflections 945 945 for i in range(len(Mdata)): … … 1078 1078 #accumulate derivatives 1079 1079 dFdfr[iBeg:iFin] = 2.*np.sum((fams[:,:,nxs]*dfadfr+fbms[:,:,nxs]*dfbdfr)*Mdata/Nops,axis=0) #ok 1080 dFdx[iBeg:iFin] = 2.*np.sum(fams[:,:,nxs,nxs]*dfadx+fbms[:,:,nxs,nxs]*dfbdx,axis=0)#ok1080 dFdx[iBeg:iFin] = 2.*np.sum(fams[:,:,nxs,nxs]*dfadx+fbms[:,:,nxs,nxs]*dfbdx,axis=0) #ok 1081 1081 dFdMx[:,iBeg:iFin,:] = 2.*(fams[:,:,nxs]*dfadmx+fbms[:,:,nxs]*dfbdmx) #problems 1082 1082 dFdui[iBeg:iFin] = 2.*np.sum(fams[:,:,nxs]*dfadui+fbms[:,:,nxs]*dfbdui,axis=0) #ok
Note: See TracChangeset
for help on using the changeset viewer.