Changeset 1662


Ignore:
Timestamp:
Feb 18, 2015 3:06:13 PM (7 years ago)
Author:
vondreele
Message:

change weighting in diffractometer constant calibration to include d*2 - improves result

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIpwd.py

    r1652 r1662  
    12401240            peakPos.append(peak[0])
    12411241            peakDsp.append(peak[-1])    #d-calc
    1242             peakWt.append(1/sig**2)
     1242            peakWt.append(peak[-1]**2/sig**2)   #weight by d**2
    12431243    peakPos = np.array(peakPos)
    12441244    peakDsp = np.array(peakDsp)
Note: See TracChangeset for help on using the changeset viewer.