Changeset 2849


Ignore:
Timestamp:
Jun 1, 2017 9:44:40 AM (6 years ago)
Author:
vondreele
Message:

change TOF instrument Calibration weighting

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIplot.py

    r2848 r2849  
    72427242                color *= .5
    72437243            if Page.poly:
    7244                 if len(Faces[iat])>16:
     7244                if len(Faces[iat])>16:  #allows tetrahedra but not stray triangles
    72457245                    RenderPolyhedra(x,y,z,Faces[iat],color)
    72467246            else:
  • trunk/GSASIIpwd.py

    r2838 r2849  
    14581458            peakPos.append(peak[0])
    14591459            peakDsp.append(peak[-1])    #d-calc
    1460             peakWt.append(peak[-1]**2/sig**2)   #weight by d**2
     1460#            peakWt.append(peak[-1]**2/sig**2)   #weight by d**2
     1461            peakWt.append(1./(sig*peak[-1]))   #
    14611462    peakPos = np.array(peakPos)
    14621463    peakDsp = np.array(peakDsp)
Note: See TracChangeset for help on using the changeset viewer.