Mythen detectors

This is the basic Python class to controll Mythen detectors (Microstrip system for time-resolved experiments).

Using the Mythen detectors module

Usage of Python class for EPICS Mythen detectors (Microstrip system for time-resolved experiments).

class py4syn.epics.MythenClass.Mythen(pvPrefix, mnemonic)[source]
canMonitor()[source]

Abstract method to check if the device can or cannot be used as monitor.

Returns:
out : bool
canStopCount()[source]

Abstract method to check if the device can or cannot stop the count and return values.

Returns:
out : bool
getValue(**kwargs)[source]

Abstract method to get the current value of a countable device.

Parameters:
kwargs : value

Where needed informations can be passed, e.g. select which channel must be read.

Returns:
out : value

Returns the current value of the device. Type of the value depends on device settings.

isCounting()[source]

Abstract method to check if the device is counting or not.

Returns:
out : bool
setCountTime(t)[source]

Abstract method to set the count time of a countable target device.

Parameters:
t : value

The target count time to be set.

Returns:
out : None
setPresetValue(channel, val)[source]

Abstract method to set the preset count of a countable target device.

Parameters:
channel : int

The monitor channel number

val : int

The preset value

Returns:
out : None
startCount()[source]

Abstract method trigger a count in a counter

stopCount()[source]

Abstract method stop a count in a counter

wait()[source]

Abstract method to wait for a count to finish.

Returns:
out : bool