Skip to content

Commit eaa9d58

Browse files
committed
Fix RB GUI formatting
Fix (again) spin RB multiplier
1 parent e8aedac commit eaa9d58

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

GSASII/GSASIIphsGUI.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9679,6 +9679,7 @@ def OnOrien(*args, **kwargs):
96799679
Ocheck.SetValue(RBObj['Orig'][1])
96809680
# TODO: does spin RB need orientation vector? Does need angle & fix vector = [0,0,1]?
96819681
topSizer.Add(Ocheck,0,WACV)
9682+
topSizer.Add((-1,-1))
96829683
Name = 'Origin'
96839684
G2frame.testRBObjSizers['OnOrien'] = OnOrien
96849685
G2frame.testRBObjSizers['FillUnitCell'] = FillUnitCell

GSASII/GSASIIstrMath.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ def MakePolar(Orient,QB):
504504
if 'Q' in Atm:
505505
SFF = 0.0
506506
else:
507-
SFF = G2el.ScatFac(FFtables[Atm],SQR)*2.0*np.pi
507+
SFF = G2el.ScatFac(FFtables[Atm],SQR) #*4.0*np.pi
508508
elif 'N' in hType:
509509
SFF = G2el.getBLvalues(BLtables)[Atm]
510510
Rname = 'Sh;%s;Radius:%d:%s'%(shl,iAt,Irb)

0 commit comments

Comments
 (0)