Changeset 4377
- Timestamp:
- Mar 20, 2020 7:57:36 PM (4 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIdataGUI.py
r4375 r4377 407 407 dlg.Destroy() 408 408 sys.exit() 409 410 if platform.python_version()[:3] == '2.7': 411 dlg = wx.MessageDialog(None, 412 ''' 413 The end-of-life for python 2.7 was January 1, 2020. 414 We strongly recommend reinstalling GSAS-II from a new installation kit as 415 we may not be able to offer support for operation of GSAS-II in python 2.7. 416 GSAS-II installation kits can be found at https://subversion.xray.aps.anl.gov/trac/pyGSAS 417 which is easily found by searching the web for GSAS-II 418 The kit will install python 3.7 and all current packages as well as the newest version of GSAS-II.''', 419 'End-Of-Life warning for Python 2.7',wx.OK) 420 try: 421 dlg.ShowModal() 422 finally: 423 dlg.Destroy() 409 424 410 425 application.main = GSASII(None) # application.main is the main wx.Frame (G2frame in most places) -
trunk/GSASIIstrMath.py
r4370 r4377 1601 1601 if 'N' in calcControls[hfx+'histType'] and parmDict[pfx+'isMag']: #TODO: mag math here?? 1602 1602 1603 phasem = twopi*np.inner(HP.T,mXYZ) #2pi(Q.r) 1604 phasem = np.swapaxes(phasem,1,2) #Nref,Nops,Natm 1603 phasem = twopi*np.inner(mXYZ,HP.T).T #2pi(Q.r) 1605 1604 cosm = np.cos(phasem) 1606 1605 sinm = np.sin(phasem)
Note: See TracChangeset
for help on using the changeset viewer.