BeamlineSetup Module
Example configuration file: beamline-setup.xml
-
class HardwareObjects.BeamlineSetup.BeamlineSetup(name)
Bases: HardwareRepository.BaseHardwareObjects.HardwareObject
-
detector_has_shutterless()
Returns: | True if the detector is capable of shuterless. |
Return type: | bool |
-
disable_num_passes()
Returns: | Returns True if it is possible to use the number of passes
collection parameter. |
Return type: | bool |
-
get_default_acquisition_parameters()
Returns: | A AcquisitionParameters object with all default parameters. |
-
get_default_path_template()
Returns: | A PathTemplate object with default parameters. |
-
init()
Framework 2 init, inherited from HardwareObject.
-
read_value(path)
Reads the value of the hardware object at the given path. The
hardware object must have the get_value method.
Parameters: | path (str) – Path to a hardware object. |
Returns: | The ‘value’ of the hardware object. |
Return type: | Return type of get_value of the hardware object. |
-
tunable_wavelength()
Returns: | Returns True if the beamline has tunable wavelength. |
Return type: | bool |