Note
Ophyd async is included on a provisional basis until the v1.0 release and may change API on minor release numbers before then
ophyd_async.epics.areadetector.PilatusDetector#
- class ophyd_async.epics.areadetector.PilatusDetector(prefix: str, path_provider: PathProvider, readout_time: PilatusReadoutTime = PilatusReadoutTime.pilatus3, drv_suffix: str = 'cam1:', hdf_suffix: str = 'HDF1:', name: str = '')[source]#
Bases:
StandardDetector
A Pilatus StandardDetector writing HDF files
Methods
Connect self and all child Devices.
Set
self.name=name
and eachself.child.name=name+"-child"
.Attributes
Return the name of the Device
The parent Device if it exists
- async collect_asset_docs(index: int | None = None) AsyncIterator[Tuple[Literal['stream_resource'], StreamResource] | Tuple[Literal['stream_datum'], StreamDatum]] #
- complete()#
- async connect(mock: bool = False, timeout: float = 10.0, force_reconnect: bool = False)#
Connect self and all child Devices.
Contains a timeout that gets propagated to child.connect methods.
- Parameters:
mock – If True then use
MockSignalBackend
for all Signalstimeout – Time to wait before failing with a TimeoutError.
- property controller: DetectorControl#
- kickoff()#
- property log#
- prepare(value: T) AsyncStatus #
- set_name(name: str)#
Set
self.name=name
and eachself.child.name=name+"-child"
.- Parameters:
name – New name to set
- property writer: DetectorWriter#