Changeset 2239


Ignore:
Timestamp:
May 4, 2016 3:09:08 PM (9 years ago)
Author:
vondreele
Message:

catch an id=0 bug in InvokeTreeItem?
divide simulated intensity for stacking faults by cell volume - puts it on same basis as crystal structure factor calcs.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/GSASIIplot.py

    r2237 r2239  
    281281        '''
    282282        self.allowZoomReset = False
    283         self.G2frame.PatternTree.SelectItem(id)
     283        if id: self.G2frame.PatternTree.SelectItem(id)
    284284        self.allowZoomReset = True
    285285           
  • TabularUnified trunk/GSASIIpwd.py

    r2229 r2239  
    20742074    laueId,controls = SetStackingClay(Layers,'PWDR')
    20752075# cell & atoms
    2076     Nlayers = SetCellAtoms(Layers)   
     2076    Nlayers = SetCellAtoms(Layers)
     2077    Volume = Layers['Cell'][7]   
    20772078# Transitions
    20782079    SetStackingTrans(Layers,Nlayers)
     
    21062107    else:
    21072108        BrdSpec = spec[:Nsteps]
     2109    BrdSpec /= Volume
    21082110    iFin = iBeg+Nsteps
    21092111    bakType,backDict,backVary = SetBackgroundParms(background)
Note: See TracChangeset for help on using the changeset viewer.