Changeset 2132 for trunk/GSASIImath.py


Ignore:
Timestamp:
Jan 22, 2016 10:10:43 AM (6 years ago)
Author:
vondreele
Message:

more rationalization of FWHM calculations

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIImath.py

    r2129 r2132  
    40824082            h,k,l,m,d,pos,sig,gam,f = ref[:9]
    40834083            if d >= MCSA['dmin']:
    4084                 sig = G2pwd.getgamFW(gam,sig)/sq8ln2        #--> sig from FWHM
     4084                sig = np.sqrt(sig)      #var -> sig in centideg
     4085                sig = G2pwd.getgamFW(gam,sig)/sq8ln2        #FWHM -> sig in centideg
    40854086                SQ = 0.25/d**2
    40864087                allFF.append(allM*[G2el.getFFvalues(FFtables,SQ,True)[i] for i in allT]/np.max(allM))
Note: See TracChangeset for help on using the changeset viewer.