Skip to content

[doc] add custom metadata example

Wout De Nolf requested to merge docs_custom_metadata_example into master

Add metadata to a detector if the detector is used in the scan. @matias.guijarro I think this is the best way to check whether a detector is used in a scan (tested in demo session). Feel free to modify if there is a better way.

diffcam_used = any(n.device is diffcam for n in scan.acq_chain.nodes_list)
Edited by Wout De Nolf

Merge request reports