Changeset 1483 for trunk/GSASIIstrIO.py


Ignore:
Timestamp:
Sep 2, 2014 4:45:58 PM (7 years ago)
Author:
vondreele
Message:

fix Export of HKLs from PWDR histograms

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIstrIO.py

    r1478 r1483  
    18251825                                Uniq.append(uniq)
    18261826                                Phi.append(phi)
    1827                     Histogram['Reflection Lists'][phase] = {'RefList':np.array(refList),'FF':{}}
     1827                    Histogram['Reflection Lists'][phase] = {'RefList':np.array(refList),'FF':{},'Type':inst['Type'][0]}
    18281828            elif 'HKLF' in histogram:
    18291829                inst = Histogram['Instrument Parameters'][0]
     
    20692069                for item in ['Mustrain','Size']:
    20702070                    hapData[item][1][2] = parmDict[pfx+item+';mx']
    2071                     hapData[item][1][2] = min(1.,max(0.1,hapData[item][1][2]))
     2071                    hapData[item][1][2] = min(1.,max(0.,hapData[item][1][2]))
    20722072                    if pfx+item+';mx' in sigDict:
    20732073                        SizeMuStrSig[pfx+item][0][2] = sigDict[pfx+item+';mx']
Note: See TracChangeset for help on using the changeset viewer.