Changeset 2589 for trunk/GSASIIstrIO.py


Ignore:
Timestamp:
Dec 16, 2016 12:23:51 PM (5 years ago)
Author:
vondreele
Message:

Make Pawley dmin define limits for histograms upon refinement - do longer need to make them match by hand

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIstrIO.py

    r2565 r2589  
    22102210                elif 'T' in inst['Type'][0]:
    22112211                    dmin = limits[0]/inst['difC'][1]
     2212                if Phases[phase]['General']['doPawley']:
     2213                    Tmin = G2lat.Dsp2pos(inst,dmin)
     2214                    if 'C' in inst['Type'][1]:
     2215                        limits[1] = min(limits[1],Tmin)
     2216                    else:
     2217                        limits[0] = max(limits[0],Tmin)
    22122218                if Phases[phase]['General']['Type'] == 'magnetic':
    22132219                    dmin = max(dmin,Phases[phase]['General']['MagDmin'])
Note: See TracChangeset for help on using the changeset viewer.