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.NDAttributesXML#
- class ophyd_async.epics.areadetector.NDAttributesXML[source]#
Bases:
object
Helper to make NDAttributesFile XML for areaDetector
Methods
Add a PV to the attribute list
Add a driver or plugin parameter to the attribute list
- add_epics_pv(name: str, pv: str, datatype: NDAttributeDataType | None = None, description: str = '')[source]#
Add a PV to the attribute list
- Args:
name: The attribute name pv: The pv to get from datatype: An override datatype, otherwise will use native EPICS type description: A description that appears in the HDF file as an attribute
- add_param(name: str, param: str, datatype: NDAttributeDataType, addr: int = 0, description: str = '')[source]#
Add a driver or plugin parameter to the attribute list
- Args:
name: The attribute name param: The parameter string as seen in the INP link of the record datatype: The datatype of the parameter description: A description that appears in the HDF file as an attribute