Skip to content
Snippets Groups Projects
Commit 0d6ee276 authored by Jan Kotanski's avatar Jan Kotanski
Browse files

remove duplicated class

parent 6a01fbe1
No related branches found
Tags desy3.4.3.6
No related merge requests found
Pipeline #108626 failed
......@@ -1423,7 +1423,7 @@ class DiffracBasis(PseudoMotorController):
ki = self.geometry.ki_get()
ki_rec = numpy.dot(RUB_1, ki.data)
return ki_rec
def getKf(self):
R = self.geometry.sample_rotation_get(self.sample).to_matrix()
R = [[R.get(i, j) for j in range(3)] for i in range(3)]
......@@ -1505,23 +1505,6 @@ class Diffrac4Cp23(DiffracBasis): # DiffractometerType: "PETRA3 P23 4C"
DiffracBasis.__init__(self, inst, props, *args, **kwargs)
class Diffrac4Cp23(DiffracBasis): # DiffractometerType: "PETRA3 P23 4C"
""" The PseudoMotor controller for the diffractometer"""
pseudo_motor_roles = "h", "k", "l", "q", "alpha", "qper", "qpar",
"tth2", "alpha_tth2", "incidence", "emergence"
motor_roles = "omega_t", "mu", "gamma", "delta"
def __init__(self, inst, props, *args, **kwargs):
""" Do the default init plus the specific diffractometer
staff.
@param properties of the controller
"""
DiffracBasis.__init__(self, inst, props, *args, **kwargs)
class DiffracE4C(DiffracBasis):
""" The PseudoMotor controller for the diffractometer"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment