Changeset 4813 for trunk/GSASIIstrIO.py


Ignore:
Timestamp:
Feb 12, 2021 3:11:08 PM (9 months ago)
Author:
toby
Message:

Add 'V' option (vector only) for rigid body fitting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIstrIO.py

    r4686 r4813  
    13691369                phaseVary += [name,]
    13701370        pfxRB = pfx+'RB'+rbKey+'O'
     1371        A,V = G2mth.Q2AV(RB['Orig'][0])
     1372        fixAxis = [0, np.abs(V).argmax()+1]
    13711373        for i in range(4):
    13721374            name = pfxRB+ostr[i]+':'+str(iRB)+':'+rbid
     
    13761378            elif RB['Orient'][1] == 'A' and not i:
    13771379                phaseVary += [name,]
    1378            
     1380            elif RB['Orient'][1] == 'V' and i not in fixAxis:
     1381                phaseVary += [name,]
     1382                print('refine',name)
    13791383    def MakeRBThermals(rbKey,phaseVary,phaseDict):
    13801384        rbid = str(rbids.index(RB['RBId']))
Note: See TracChangeset for help on using the changeset viewer.