Changeset 1672 for trunk/GSASII.py


Ignore:
Timestamp:
Feb 26, 2015 3:02:57 PM (7 years ago)
Author:
vondreele
Message:

remove Offset, qPlot, etc from G2frame and put them in data[0] dict for each powder pattern. Thus, each pattern can have different positions for tic marks, diff curve, etc. Some can be qPlot and other 2-theta. Setting are saved if project is saved

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASII.py

    r1657 r1672  
    20872087        self.undofile = ''
    20882088        self.TreeItemDelete = False
    2089         self.Offset = [0.0,0.0]
    2090         self.delOffset = .02
    2091         self.refOffset = -1.0
    2092         self.refDelt = .01
     2089#        self.Offset = [0.0,0.0]
     2090#        self.delOffset = .02
     2091#        self.refOffset = -1.0
     2092#        self.refDelt = .01
    20932093        self.Weight = False
    2094         self.IparmName = ''  # to be removed when SelectPowderData & GetInstrumentFile is
    20952094        self.IfPlot = False
    20962095        self.DDShowAll = False
     
    20992098        self.PeakTable = []
    21002099        self.LimitsTable = []
    2101         self.ifX20 = True   #use M20 /= (1+X20)
     2100        self.ifX20 = True   #use M20 /= (1+X20) in powder indexing, etc.
    21022101        self.HKL = []
    21032102        self.Lines = []
     
    21102109        self.Projection = 'equal area'
    21112110        self.logPlot = False
    2112         self.qPlot = False
    2113         self.dPlot = False
    21142111        self.sqPlot = False
    2115         self.SqrtPlot = False
    21162112        self.ErrorBars = False
    21172113        self.Contour = False
     
    25772573                            'Dummy':False,
    25782574                            'ranId':ran.randint(0,sys.maxint),
     2575                            'Offset':[0.0,0.0],'delOffset':0.02,'refOffset':-1.0,'refDelt':0.01,
     2576                            'qPlot':False,'dPlot':False,'sqrtPlot':False
    25792577                            }
    25802578                        self.PatternTree.SetItemPyData(Id,[valuesdict,[np.array(Xsum),np.array(Ysum),np.array(Wsum),
Note: See TracChangeset for help on using the changeset viewer.