removed weird palm and psen
This commit is contained in:
@@ -1,29 +0,0 @@
|
||||
from epics import PV
|
||||
|
||||
from slic.devices.general.motor import Motor
|
||||
from ...general.smaract import SmarActAxis
|
||||
from ...general.delay_stage import DelayStage
|
||||
|
||||
|
||||
class Palm:
|
||||
|
||||
def __init__(self, ID):
|
||||
self.ID = ID
|
||||
|
||||
self._delayStg = Motor(self.ID + "-M552:MOT")
|
||||
self.delay = DelayStage(self._delayStg)
|
||||
|
||||
def get_adjustable_positions_str(self):
|
||||
ostr = "*****Palm motor positions******\n"
|
||||
|
||||
for tkey, item in self.__dict__.items():
|
||||
if hasattr(item, "get_current_value"):
|
||||
pos = item.get_current_value()
|
||||
ostr += " " + tkey.ljust(10) + " : % 14g\n" % pos
|
||||
return ostr
|
||||
|
||||
def __repr__(self):
|
||||
return self.get_adjustable_positions_str()
|
||||
|
||||
|
||||
|
||||
@@ -1,29 +0,0 @@
|
||||
from epics import PV
|
||||
|
||||
from slic.devices.general.motor import Motor
|
||||
from ...general.smaract import SmarActAxis
|
||||
from ...general.delay_stage import DelayStage
|
||||
|
||||
|
||||
class Psen:
|
||||
|
||||
def __init__(self, ID):
|
||||
self.ID = ID
|
||||
|
||||
self._delayStg = Motor(self.ID + "-M561:MOT")
|
||||
self.delay = DelayStage(self._delayStg)
|
||||
|
||||
def get_adjustable_positions_str(self):
|
||||
ostr = "*****PSEN motor positions******\n"
|
||||
|
||||
for tkey, item in self.__dict__.items():
|
||||
if hasattr(item, "get_current_value"):
|
||||
pos = item.get_current_value()
|
||||
ostr += " " + tkey.ljust(10) + " : % 14g\n" % pos
|
||||
return ostr
|
||||
|
||||
def __repr__(self):
|
||||
return self.get_adjustable_positions_str()
|
||||
|
||||
|
||||
|
||||
@@ -1,53 +0,0 @@
|
||||
from epics import PV
|
||||
|
||||
from slic.devices.general.motor import Motor
|
||||
from ...general.smaract import SmarActAxis
|
||||
from ...general.delay_stage import DelayStage
|
||||
|
||||
|
||||
class palm:
|
||||
|
||||
def __init__(self, ID):
|
||||
self.ID = ID
|
||||
|
||||
self.delay = Motor(self.ID + "-M423:MOT")
|
||||
self.delayTime = DelayStage(self.delay)
|
||||
|
||||
# self.delay2 = Motor(self.ID + '-M422:MOT')
|
||||
# self.delayTime2 = DelayStage(self.delay)
|
||||
|
||||
def get_adjustable_positions_str(self):
|
||||
ostr = "***** PALM motor positions ******\n"
|
||||
|
||||
for tkey, item in self.__dict__.items():
|
||||
if hasattr(item, "get_current_value"):
|
||||
pos = item.get_current_value()
|
||||
ostr += " " + tkey.ljust(10) + " : % 14g\n" % pos
|
||||
return ostr
|
||||
|
||||
def __repr__(self):
|
||||
return self.get_adjustable_positions_str()
|
||||
|
||||
|
||||
class eo:
|
||||
|
||||
def __init__(self, ID):
|
||||
self.ID = ID
|
||||
|
||||
self.delay = Motor(self.ID + "-M422:MOT")
|
||||
self.delayTime = DelayStage(self.delay)
|
||||
|
||||
def get_adjustable_positions_str(self):
|
||||
ostr = "***** PALM EO sampling motor positions ******\n"
|
||||
|
||||
for tkey, item in self.__dict__.items():
|
||||
if hasattr(item, "get_current_value"):
|
||||
pos = item.get_current_value()
|
||||
ostr += " " + tkey.ljust(10) + " : % 14g\n" % pos
|
||||
return ostr
|
||||
|
||||
def __repr__(self):
|
||||
return self.get_adjustable_positions_str()
|
||||
|
||||
|
||||
|
||||
@@ -1,29 +0,0 @@
|
||||
from epics import PV
|
||||
|
||||
from slic.devices.general.motor import Motor
|
||||
from ...general.smaract import SmarActAxis
|
||||
from ...general.delay_stage import DelayStage
|
||||
|
||||
|
||||
class psen:
|
||||
|
||||
def __init__(self, ID):
|
||||
self.ID = ID
|
||||
|
||||
self.delay = Motor(self.ID + "-M424:MOT")
|
||||
self.delayTime = DelayStage(self.delay)
|
||||
|
||||
def get_adjustable_positions_str(self):
|
||||
ostr = "*****PSEN motor positions******\n"
|
||||
|
||||
for tkey, item in self.__dict__.items():
|
||||
if hasattr(item, "get_current_value"):
|
||||
pos = item.get_current_value()
|
||||
ostr += " " + tkey.ljust(10) + " : % 14g\n" % pos
|
||||
return ostr
|
||||
|
||||
def __repr__(self):
|
||||
return self.get_adjustable_positions_str()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user