@@ -453,11 +453,11 @@ def MakePolar(Orient,QB):
453453
454454 dFFdS = {}
455455 atFlg = []
456- R ,Th ,Ph = G2lat .H2ThPh2 (np .reshape (HKL ,(- 1 ,3 )),Bmat )
456+ # R,Th,Ph = G2lat.H2ThPh2(np.reshape(HKL,(-1,3)),Bmat)
457457 SQR = np .repeat (SQ ,HKL .shape [1 ])
458458 for iAt ,Atype in enumerate (Tdata ):
459459 if 'Q' in Atype :
460- R ,Th ,Ph = G2lat .H2ThPh2 (np .reshape (HKL ,(- 1 ,3 )),Bmat )
460+ # R,Th,Ph = G2lat.H2ThPh2(np.reshape(HKL,(-1,3)),Bmat)
461461 atFlg .append (1.0 )
462462 SHdat = SHCdict [iAt ]
463463 symAxis = np .array (SHdat ['symAxis' ])
@@ -1419,7 +1419,7 @@ def StructureFactorDerv2(refDict,G,hfx,pfx,SGData,calcControls,parmDict):
14191419 dFdvDict [pfx + 'AU13:' + str (i )] = dFdua .T [4 ][i ]
14201420 dFdvDict [pfx + 'AU23:' + str (i )] = dFdua .T [5 ][i ]
14211421 for item in dffdSH :
1422- if 'SH ' in item or 'O' in item :
1422+ if 'Sh ' in item or 'O' in item :
14231423 if i == int (item .split (':' )[1 ]):
14241424 dFdvDict [pfx + 'RBS' + item ] = np .sum (dFdff [:,:,i ]* np .reshape (dffdSH [item ],(nRef ,- 1 )),axis = 1 )
14251425 else :
0 commit comments