예제 #1
0
    def __init__(self, *args, **kwargs):
        CalcController.__init__(self, *args, **kwargs)

        self.geometry = self.config.get("geometry", int)
        self.d1 = self.config.get("d1", float)
        self.d2 = self.config.get("d2", float)
        try:
            self.d4 = self.config.get("d4", float)
        except:
            self.d4 = self.d1 / 2
        if self.geometry in (5, 8):
            self.d3 = self.config.get("d3", float)
예제 #2
0
 def __init__(self, *args, **kwargs):
     CalcController.__init__(self, *args, **kwargs)
예제 #3
0
    def __init__(self, *args, **kwargs):
        CalcController.__init__(self, *args, **kwargs)

        # get theta_y theta_z from config file.
        self.theta_y = self.config.get("theta_y", float)
        self.theta_z = self.config.get("theta_z", float)
예제 #4
0
파일: kb.py 프로젝트: ESRF-BCU/emotion
    def __init__(self, *args, **kwargs):
        CalcController.__init__(self, *args, **kwargs)

        self.distance = self.config.get("distance", float)
예제 #5
0
    def __init__(self, *args, **kwargs):
        CalcController.__init__(self, *args, **kwargs)

        self.axis_settings.add("s_param", float)
예제 #6
0
파일: tabsup.py 프로젝트: ESRF-BCU/emotion
    def __init__(self, *args, **kwargs):
        CalcController.__init__(self, *args, **kwargs)

        self.d1 = self.config.get("d1", float)
        self.d2 = self.config.get("d2", float)