pysdic.cordin.get_capture_parameters#

get_capture_parameters(root)[source]#

Return the global capture parameters.

The root CaptureInfo element stores all acquisition parameters as XML attributes. This function returns these attributes as a dictionary.

Parameters:

root (xml.etree.ElementTree.Element) – Root element returned by load_capture_info().

Returns:

Dictionary containing the capture parameters.

Return type:

dict

Examples

>>> params = get_capture_parameters(root)
>>> params["Timestamp"]
'2026-07-18T22:39:47.829176+02:00'