Script execution
This commit is contained in:
@@ -6,9 +6,10 @@ run("diffutils")
|
||||
class FourCircleX04SA_V(YouGeometry):
|
||||
"""For a diffractometer with angles:
|
||||
mu, delta, nu, eta
|
||||
alpha delta gamma omegaV
|
||||
"""
|
||||
def __init__(self):
|
||||
YouGeometry.__init__(self, 'fourcv', {'phi': 0, 'chi': 0})
|
||||
YouGeometry.__init__(self, 'fourcv', {'phi': 0, 'chi': 0,})
|
||||
diffcalc.hkl.you.constraints.NUNAME = fourcv.motors[2].name
|
||||
|
||||
def physical_angles_to_internal_position(self, physical_angle_tuple):
|
||||
@@ -28,9 +29,15 @@ class FourCircleX04SA_V(YouGeometry):
|
||||
###################################################################################################
|
||||
|
||||
#alpha, delta, gamma, omegaV
|
||||
setup_diff(fourcv, energy, FourCircleX04SA_V())
|
||||
setup_diff(fourcv, energy, FourCircleX04SA_V(), ("mu", "delta", "nu", "eta"))
|
||||
print_axis_setup()
|
||||
|
||||
"""
|
||||
setup_axis('alpha', alpha.getMinValue(), alpha.getMaxValue())
|
||||
setup_axis('delta', delta.getMinValue(), 90) #delta.getMaxValue())
|
||||
setup_axis('gamma', gamma.getMinValue(), gamma.getMaxValue())
|
||||
setup_axis('omegaV', omegaV.getMinValue(), omegaV.getMaxValue())
|
||||
"""
|
||||
|
||||
setup_axis('alpha', alpha.getMinValue(), alpha.getMaxValue())
|
||||
setup_axis('delta', delta.getMinValue(), 90) #delta.getMaxValue())
|
||||
|
||||
Reference in New Issue
Block a user