Changeset 1829 for trunk/GSASII.py


Ignore:
Timestamp:
Apr 30, 2015 4:34:19 PM (7 years ago)
Author:
vondreele
Message:

fix importers for HIPD & HIPPO data

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASII.py

    r1828 r1829  
    13261326                rd.powderdata[0] = rd.powderdata[0][:-1]+cw/2.
    13271327                if rd.GSAS:     #NB: old GSAS wanted intensities*CW even if normalized!
    1328                     rd.powderdata[1] = rd.powderdata[1][:-1]/cw
    1329                     rd.powderdata[2] = rd.powderdata[2][:-1]*cw**2  #1/var=w at this point
     1328                    rd.powderdata[1] = rd.powderdata[1]/cw[:len(rd.powderdata[1])]
     1329                    rd.powderdata[2] = rd.powderdata[2]*cw[:len(rd.powderdata[1])]**2  #1/var=w at this point
    13301330                else:       #NB: from topas/fullprof type files
    13311331                    rd.powderdata[1] = rd.powderdata[1][:-1]
Note: See TracChangeset for help on using the changeset viewer.