Ophyd is a Python library for interfacing with hardware. It provides an abstraction layer that enables experiment orchestration and data acquisition code to operate above the specifics of particular devices and control systems.
Ophyd is typically used with the Bluesky Run Engine for experiment orchestration and data acquisition. It is also sometimes used in a stand-alone fashion.
Many facilities use ophyd to integrate with control systems that use EPICS , but ophyd's design and some of its objects are also used to integrate with other control systems.
- Put the details specific to a device or control system behind a high-level
interface with methods like
trigger()
,read()
, andset(...)
. - Group individual control channels (such as EPICS V3 PVs) into logical "Devices" to be configured and used as units with internal coordination.
- Assign readings with names meaningful for data analysis that will propagate into metadata.
- Categorize readings by "kind" (primary reading, configuration, engineering/debugging) which can be read selectively.
PyPI | pip install ophyd |
Conda | conda install -c conda-forge ophyd |
Source code | https://github.com/bluesky/ophyd |
Documentation | https://blueskyproject.io/ophyd |
See the tutorials for usage examples.
See https://blueskyproject.io/ophyd for more detailed documentation.