pysdic.cordin.get_camera_details#
- get_camera_details(root)[source]#
Return the camera description.
This function extracts the attributes of the
CameraDetailselement.- Parameters:
root (xml.etree.ElementTree.Element) – Root element returned by
load_capture_info().- Returns:
Dictionary containing the camera information such as serial number, sensor type, module count and camera name.
- Return type:
Examples
>>> camera = get_camera_details(root) >>> camera["SerialNumber"] 'C508'