ibex_bluesky_core.devices.reflectometry

Devices specific to Reflectometry beamlines.

Members

ReflParameter

Utility device for a reflectometry server parameter.

ReflParameterRedefine

Utility device for redefining a reflectometry server parameter.

refl_parameter

Small wrapper around a reflectometry parameter device.

class ibex_bluesky_core.devices.reflectometry.ReflParameter(prefix: str, name: str, changing_timeout_s: float, *, has_redefine: bool = True)[source]

Bases: StandardReadable, NamedMovable[float]

Utility device for a reflectometry server parameter.

Reflectometry server parameter.

Parameters:
  • prefix – the PV prefix.

  • name – the name of the parameter.

  • changing_timeout_s – seconds to wait for the CHANGING signal to go to False after a set.

  • has_redefine – whether this parameter can be redefined.

set(value: float) None[source]

Set the setpoint.

This waits for the reflectometry parameter’s ‘CHANGING’ PV to go True to

indicate it has finished.

class ibex_bluesky_core.devices.reflectometry.ReflParameterRedefine(prefix: str, name: str)[source]

Bases: StandardReadable

Utility device for redefining a reflectometry server parameter.

Reflectometry server parameter redefinition.

Parameters:
  • prefix – the reflectometry parameter full address.

  • name – the name of the parameter redefinition.

set(value: float) None[source]

Set the setpoint.

This redefines the position of a reflectometry parameter as the given value, and waits for the reflectometry parameter redefinition’s ‘CHANGED’ PV to go True to indicate it has finished redefining the position.

ibex_bluesky_core.devices.reflectometry.refl_parameter(name: str, changing_timeout_s: float = 60.0) ReflParameter[source]

Small wrapper around a reflectometry parameter device.

This automatically applies the current instrument’s PV prefix.

Parameters:
  • name – the reflectometry parameter name.

  • changing_timeout_s – time to wait (seconds) for the CHANGING signal to go False after a set.

Returns a device pointing to a reflectometry parameter.