Changeset 1918 for trunk/GSASII.py


Ignore:
Timestamp:
Jul 2, 2015 12:30:08 PM (7 years ago)
Author:
vondreele
Message:

further mods on twins

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASII.py

    r1917 r1918  
    839839                            UseList[histoName]['Twins'].append([False,0.0])
    840840                        else:
    841                             UseList[histoName]['Twins'].append([np.array([[1,0,0],[0,1,0],[0,0,1]]),[1.0,False]])
     841                            UseList[histoName]['Twins'].append([np.array([[1,0,0],[0,1,0],[0,0,1]]),[1.0,False,reflData['TwMax'][0]]])
    842842                else:   #no nonmerohedral twins
    843                     UseList[histoName]['Twins'] = [[np.array([[1,0,0],[0,1,0],[0,0,1]]),[1.0,False]],]
     843                    UseList[histoName]['Twins'] = [[np.array([[1,0,0],[0,1,0],[0,0,1]]),[1.0,False,0]],]
    844844                for iref,ref in enumerate(reflData['RefList']):
    845845                    hkl = ref[:3]
Note: See TracChangeset for help on using the changeset viewer.