pylabrobot.li_cor.odyssey.build_identity_description#

pylabrobot.li_cor.odyssey.build_identity_description(identity: dict[str, Any] | None = None, *, scan_name: str = '', channel: int | None = None, extra: dict[str, Any] | None = None) str#

Render the identity payload as a compact JSON string.

Suitable for TIFF ImageDescription, PNG tEXt chunks, JSON sidecars, or anywhere else a self-describing identity blob fits. identity is a dictionary of per-instrument metadata.

Parameters:
Return type:

str