Changeset 4398


Ignore:
Timestamp:
Apr 11, 2020 12:47:09 PM (19 months ago)
Author:
vondreele
Message:

fix abc* transform for layers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIphsGUI.py

    r4397 r4398  
    336336                self.newCell[2:5] = [A[2,2],90.,90.]
    337337                a,b = G2lat.cell2AB(self.newCell[:6])
    338                 self.Trans = np.inner(B,a).T    #correct!
     338                self.Trans = np.inner(a,B)    #correct!
    339339                self.ifConstr = False
    340340                self.newSpGrp = 'P 1'
     
    26952695            else:
    26962696                phaseName = newPhase['General']['Name']
    2697                 newPhase,atCodes = G2lat.TransformPhase(data,newPhase,Trans.T,Uvec,Vvec,ifMag)
     2697                newPhase,atCodes = G2lat.TransformPhase(data,newPhase,Trans,Uvec,Vvec,ifMag)
    26982698                detTrans = np.abs(nl.det(Trans))
    26992699                generalData = newPhase['General']
Note: See TracChangeset for help on using the changeset viewer.