Changeset 230
- Timestamp:
- Jan 7, 2011 1:27:24 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 19 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ElementTable.py
- Property svn:keywords set to Date Author Revision URL Id
-
trunk/GSASII.BAT
- Property svn:keywords set to Date Author Revision URL Id
r156 r230 1 python c:\pyGSASII\GSASII.py %11 python d:\pyGSASII\GSASII.py %1 -
trunk/GSASII.py
- Property svn:keywords set to Date Author Revision URL Id
-
trunk/GSASIIElem.py
- Property svn:keywords set to Date Author Revision URL Id
r166 r230 2 2 Copyright: 2008, Robert B. Von Dreele (Argonne National Laboratory) 3 3 """ 4 ########### SVN repository information ################### 5 # $Date$ 6 # $Author$ 7 # $Revision$ 8 # $URL$ 9 # $Id$ 10 ########### SVN repository information ################### 4 11 5 12 import wx -
trunk/GSASIIIO.py
- Property svn:keywords set to Date Author Revision URL Id
-
trunk/GSASIIgrid.py
- Property svn:keywords set to Date Author Revision URL Id
r225 r230 1 1 #GSASII - data display routines 2 ########### SVN repository information ################### 3 # $Date$ 4 # $Author$ 5 # $Revision$ 6 # $URL$ 7 # $Id$ 8 ########### SVN repository information ################### 2 9 import wx 3 10 import wx.grid as wg -
trunk/GSASIIimage.py
- Property svn:keywords set to Date Author Revision URL Id
r167 r230 1 1 #GSASII image calculations: ellipse fitting & image integration 2 ########### SVN repository information ################### 3 # $Date$ 4 # $Author$ 5 # $Revision$ 6 # $URL$ 7 # $Id$ 8 ########### SVN repository information ################### 2 9 import math 3 10 import wx -
trunk/GSASIIimgGUI.py
- Property svn:keywords set to Date Author Revision URL Id
r193 r230 1 1 #GSASII - image data display routines 2 ########### SVN repository information ################### 3 # $Date$ 4 # $Author$ 5 # $Revision$ 6 # $URL$ 7 # $Id$ 8 ########### SVN repository information ################### 2 9 import wx 3 10 import wx.grid as wg -
trunk/GSASIIindex.py
- Property svn:keywords set to Date Author Revision URL Id
r78 r230 1 1 #GSASII cell indexing program: variation on that of A. Coehlo 2 2 # includes cell refinement from peak positions (not zero as yet) 3 ########### SVN repository information ################### 4 # $Date$ 5 # $Author$ 6 # $Revision$ 7 # $URL$ 8 # $Id$ 9 ########### SVN repository information ################### 3 10 import math 4 11 import wx -
trunk/GSASIIlattice.py
- Property svn:keywords set to Date Author Revision URL Id
r193 r230 1 1 '''Perform lattice-related computations''' 2 2 3 ########### SVN repository information ################### 4 # $Date$ 5 # $Author$ 6 # $Revision$ 7 # $URL$ 8 # $Id$ 9 ########### SVN repository information ################### 3 10 import math 4 11 import numpy as np -
trunk/GSASIIpath.py
- Property svn:keywords set to Date Author Revision URL Id
-
trunk/GSASIIpeak.py
- Property svn:keywords set to Date Author Revision URL Id
r196 r230 1 1 #GSASII peak fitting module 2 ########### SVN repository information ################### 3 # $Date$ 4 # $Author$ 5 # $Revision$ 6 # $URL$ 7 # $Id$ 8 ########### SVN repository information ################### 2 9 import sys 3 10 import math -
trunk/GSASIIphsGUI.py
- Property svn:keywords set to Date Author Revision URL Id
r193 r230 1 1 #GSASII - phase data display routines 2 ########### SVN repository information ################### 3 # $Date$ 4 # $Author$ 5 # $Revision$ 6 # $URL$ 7 # $Id$ 8 ########### SVN repository information ################### 2 9 import wx 3 10 import wx.grid as wg -
trunk/GSASIIplot.py
- Property svn:keywords set to Date Author Revision URL Id
r227 r230 1 ########### SVN repository information ################### 2 # $Date$ 3 # $Author$ 4 # $Revision$ 5 # $URL$ 6 # $Id$ 7 ########### SVN repository information ################### 1 8 import math 2 9 import time … … 75 82 sizer.Add(self.toolbar,0,wx.LEFT|wx.EXPAND) 76 83 self.SetSizer(sizer) 77 78 84 79 85 class G2PlotNoteBook(wx.Panel): 80 86 def __init__(self,parent,id=-1): … … 320 326 self.Weight = True 321 327 print 'plot weighting:',self.Weight 328 elif event.key == 'l': 329 if self.Contour: 330 pass 331 else: 332 if self.logPlot: 333 self.logPlot = False 334 else: 335 self.Offset = 0 336 self.logPlot = True 322 337 elif event.key == 'u': 323 338 if self.Contour: 324 339 self.Cmax = min(1.0,self.Cmax*1.2) 340 elif self.logPlot: 341 pass 325 342 elif self.Offset < 100.: 326 343 self.Offset += 1. … … 328 345 if self.Contour: 329 346 self.Cmax = max(0.0,self.Cmax*0.8) 347 elif self.logPlot: 348 pass 330 349 elif self.Offset > 0.: 331 350 self.Offset -= 1. … … 458 477 'i: interpolation method','s: color scheme','c: contour off') 459 478 else: 460 Choice = (' key press','d: offset down','u: offset up','c: contour on', 461 's: toggle single plot','+: no selection') 479 if self.logPlot: 480 Choice = (' key press','l: log(I) off', 481 'c: contour on','s: toggle single plot','+: no selection') 482 else: 483 Choice = (' key press','d: offset down','u: offset up','l: log(I) on', 484 'c: contour on','s: toggle single plot','+: no selection') 462 485 cb = wx.ComboBox(self.G2plotNB.status,style=wx.CB_DROPDOWN|wx.CB_READONLY, 463 486 choices=Choice) … … 506 529 X = xye[0] 507 530 if not lenX: 508 lenX = len(X) 531 lenX = len(X) 509 532 Y = xye[1]+offset*N 510 533 if LimitId: … … 528 551 W2 = np.sqrt(xye[2]) 529 552 D *= W2-Ymax*.02 530 Plot.plot(X,Y,colors[N%6]+'+',picker=3.,clip_on=False) 531 Plot.plot(X,Z,colors[(N+1)%6],picker=False) 532 Plot.plot(X,W,colors[(N+2)%6],picker=False) 533 Plot.plot(X,D,colors[(N+3)%6],picker=False) 534 Plot.axhline(0.,color=wx.BLACK) 553 if self.logPlot: 554 Plot.semilogy(X,Y,colors[N%6]+'+',picker=3.,clip_on=False,nonposy='mask') 555 Plot.semilogy(X,Z,colors[(N+1)%6],picker=False,nonposy='mask') 556 Plot.semilogy(X,W,colors[(N+2)%6],picker=False,nonposy='mask') 557 else: 558 Plot.plot(X,Y,colors[N%6]+'+',picker=3.,clip_on=False) 559 Plot.plot(X,Z,colors[(N+1)%6],picker=False) 560 Plot.plot(X,W,colors[(N+2)%6],picker=False) 561 Plot.plot(X,D,colors[(N+3)%6],picker=False) 562 Plot.axhline(0.,color=wx.BLACK) 535 563 Page.canvas.SetToolTipString('') 536 564 if self.PatternTree.GetItemText(PickId) == 'Peak List': … … 545 573 data = self.LimitsTable.GetData() 546 574 else: 547 Plot.plot(X,Y,colors[N%6],picker=False) 575 if self.logPlot: 576 Plot.semilogy(X,Y,colors[N%6],picker=False,nonposy='clip') 577 else: 578 Plot.plot(X,Y,colors[N%6],picker=False) 548 579 if PickId and self.PatternTree.GetItemText(PickId) in ['Index Peak List','Unit Cells List']: 549 580 peaks = np.array((self.PatternTree.GetItemPyData(G2gd.GetPatternTreeItemId(self,PatternId, 'Index Peak List')))) -
trunk/GSASIIpwdGUI.py
- Property svn:keywords set to Date Author Revision URL Id
r198 r230 1 1 #GSASII - data display routines 2 ########### SVN repository information ################### 3 # $Date$ 4 # $Author$ 5 # $Revision$ 6 # $URL$ 7 # $Id$ 8 ########### SVN repository information ################### 2 9 import wx 3 10 import wx.grid as wg -
trunk/GSASIIsolve.py
- Property svn:keywords set to Date Author Revision URL Id
r192 r230 1 1 #GSASIIsolve - structure solving routines 2 ########### SVN repository information ################### 3 # $Date$ 4 # $Author$ 5 # $Revision$ 6 # $URL$ 7 # $Id$ 8 ########### SVN repository information ################### 2 9 import sys 3 10 import os.path as ospath -
trunk/GSASIIspc.py
- Property svn:keywords set to Date Author Revision URL Id
r193 r230 1 1 "GSASII - Space group interpretion routines" 2 2 3 ########### SVN repository information ################### 4 # $Date$ 5 # $Author$ 6 # $Revision$ 7 # $URL$ 8 # $Id$ 9 ########### SVN repository information ################### 3 10 import numpy as np 4 11 import numpy.ma as ma -
trunk/GSASIIstruct.py
- Property svn:keywords set to Date Author Revision URL Id
r191 r230 1 1 #GSASIIstructure - structure computation routines 2 ########### SVN repository information ################### 3 # $Date$ 4 # $Author$ 5 # $Revision$ 6 # $URL$ 7 # $Id$ 8 ########### SVN repository information ################### 2 9 import sys 3 10 import os.path as ospath -
trunk/unit_tests.py
r102 r230 1 ########### SVN repository information ################### 2 # $Date$ 3 # $Author$ 4 # $Revision$ 5 # $URL$ 6 # $Id$ 7 ########### SVN repository information ################### 1 8 import GSASIIspc 2 9 import GSASIIlattice as G2l
Note: See TracChangeset
for help on using the changeset viewer.