Changeset 293


Ignore:
Timestamp:
May 23, 2011 1:32:20 PM (10 years ago)
Author:
vondreele
Message:

fix error in powd

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIIO.py

    r292 r293  
    888888        try:
    889889            x,y,w,yc,yb,yd = self.PatternTree.GetItemPyData(PickId)[1]
    890             XYW = zip(x,y,w)
     890            s = list(np.sqrt(1./np.array(w)))       
     891            XYW = zip(x,y,s)
    891892            for X,Y,W in XYW:
    892893                file.write("%15.6g %15.6g %15.6g\n" % (X,Y,W))
Note: See TracChangeset for help on using the changeset viewer.