def __init__(self, main_element, name="CTAcquisition", slaves=None): self._channels = None if slaves is None: slaves = () self._slaves = slaves PoolAction.__init__(self, main_element, name)
def __init__(self, main_element, name="Acquisition"): PoolAction.__init__(self, main_element, name) ctname = name + ".CTAcquisition" zerodname = name + ".0DAcquisition" self._0d_acq = zd_acq = Pool0DAcquisition(main_element, name=zerodname) self._ct_acq = PoolCTAcquisition(main_element, name=ctname, slaves=(zd_acq, ))
def __init__(self, main_element, name="Synchronization"): PoolAction.__init__(self, main_element, name) # Even if rest of Sardana is using "." in logger names use "-" as # sepator. This is in order to avoid confusion about the logger # hierary - by default python logging use "." to indicate loggers' # hirarchy in case parent-children relation is established between the # loggers. # TODO: review if it is possible in Sardana to use a common separator. soft_synch_name = main_element.name + "-SoftSynch" self._synch_soft = FunctionGenerator(name=soft_synch_name) self._listener = None
def __init__(self, main_element, name="Acquisition"): PoolAction.__init__(self, main_element, name) zerodname = name + ".0DAcquisition" hwname = name + ".HardwareAcquisition" swname = name + ".SoftwareAcquisition" synchname = name + ".Synchronization" self._sw_acq_config = None self._0d_config = None self._0d_acq = Pool0DAcquisition(main_element, name=zerodname) self._sw_acq = PoolAcquisitionSoftware(main_element, name=swname) self._hw_acq = PoolAcquisitionHardware(main_element, name=hwname) self._synch = PoolSynchronization(main_element, name=synchname)
def __init__(self, main_element, name="GlobalMotion"): PoolAction.__init__(self, main_element, name) self._motion_info = None self._motion_sleep_time = None self._nb_states_per_position = None
def __init__(self, main_element, name="Synchronization"): PoolAction.__init__(self, main_element, name) self._synch_soft = FunctionGenerator() self._listener = None
def __init__(self, main_element, name="Acquisition"): PoolAction.__init__(self, main_element, name) ctname = name + ".CTAcquisition" zerodname = name + ".0DAcquisition" self._0d_acq = zd_acq = Pool0DAcquisition(main_element, name=zerodname) self._ct_acq = PoolCTAcquisition(main_element, name=ctname, slaves=(zd_acq,))
def __init__(self, pool, name="IORAcquisition"): self._channels = None PoolAction.__init__(self, pool, name)
def __init__(self, main_element, name="0DAcquisition"): self._channels = None PoolAction.__init__(self, main_element, name)
def __init__(self, main_element, name): PoolAction.__init__(self, main_element, name) self._channels = None