Ignore:
Timestamp:
Dec 21, 2021 2:46:05 PM (10 months ago)
Author:
vondreele
Message:

fixes to EDX calcs for LeBail?; start on Pawley for EDX.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIlattice.py

    r5112 r5116  
    11741174        pos = Inst['difC'][1]*dsp+Inst['Zero'][1]+Inst['difA'][1]*dsp**2+Inst.get('difB',[0,0,False])[1]/dsp
    11751175    elif 'E' in Inst['Type'][0]:
    1176         return 12.398/(2.0*dsp*sind(Inst['2-theta'][1]/2.0)+Inst['ZE'][1]+Inst['YE'][1]*dsp+Inst['XE'][1]*dsp**2)
     1176        return 12.398/(2.0*dsp*sind(Inst['2-theta'][1]/2.0))+Inst['ZE'][1]+Inst['YE'][1]*dsp+Inst['XE'][1]*dsp**2
    11771177    else:   #'C' or 'B'
    11781178        wave = G2mth.getWave(Inst)
Note: See TracChangeset for help on using the changeset viewer.