Changeset 273 for trunk/GSASIIpwdGUI.py


Ignore:
Timestamp:
May 2, 2011 5:16:06 PM (11 years ago)
Author:
vondreele
Message:

output of S(Q) and G(R) as files for other use
some effort to fix graphics tab behavior

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIpwdGUI.py

    r272 r273  
    10911091    wave = 12.397639/keV
    10921092    qLimits = [tth2q(fullLimits[0],wave),tth2q(fullLimits[1],wave)]
    1093     data['QScaleLim'][0] = max(qLimits[0],data['QScaleLim'][0])
    10941093    data['QScaleLim'][1] = min(qLimits[1],data['QScaleLim'][1])
     1094    if data['QScaleLim'][0]:
     1095        data['QScaleLim'][0] = max(qLimits[0],data['QScaleLim'][0])
     1096    else:                                #initial setting at 90% of max Q
     1097        data['QScaleLim'][0] = 0.90*data['QScaleLim'][1]
    10951098    polariz = inst['Polariz.']
    10961099    azimuth = inst['Azimuth']
Note: See TracChangeset for help on using the changeset viewer.