dodal.common.beamlines.device_helpers#
Functions
|
Create a slits object following the {beamline}-AL-SLITS-{slit_number} PV convention |
- dodal.common.beamlines.device_helpers.numbered_slits(slit_number: int = 1, wait_for_connection: bool = True, fake_with_ophyd_sim: bool = False) Slits[source]#
Create a slits object following the {beamline}-AL-SLITS-{slit_number} PV convention
- Parameters:
slit_number (
int, default:1) – The number assigned to the slits in the control system, usually1. (its position in the assembly. Defaults to)
wait_for_connection (
bool, default:True) – Require connection on instantiation. Defaults to True.fake_with_ophyd_sim (
bool, default:False) – Make a fake device. Defaults to False.
- Returns:
A new slits object
- Return type: