Changeset 2182 for trunk/GSASIIgrid.py


Ignore:
Timestamp:
Mar 23, 2016 8:56:54 AM (6 years ago)
Author:
vondreele
Message:

change selected area diffr multiplier to be pwrs of 2
change layer width default & ranges to reflect DIFFaX limits
fix some "remaining" bugs in stacking GUI - seems OK now
add CalcStackingSADP for future DIFFaX replacement

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIgrid.py

    r2177 r2182  
    505505        self.lmax = '2'
    506506        self.lmaxChoice = [str(i+1) for i in range(6)]
    507         self.mult = '2'
    508         self.multChoice = [str(i+1) for i in range(15)]
     507        self.mult = '1'
     508        self.multChoice = [str(2**i) for i in range(10)]
    509509        self.Draw()
    510510       
     
    574574    def GetSelection(self):
    575575        if 'powder' in self.calcType:
    576             return '0\n0\n3\n',''
     576            return '0\n0\n3\n','',''
    577577        elif 'selected' in self.calcType:
    578578            return '0\n0\n4\n1\n%d\n%d\n16\n1\n%d\n0\nend\n'%    \
Note: See TracChangeset for help on using the changeset viewer.