pyphi.serialize.convert.encode_document# pyphi.serialize.convert.encode_document(obj)[source]# Encode obj to a payload struct plus the claimed label frame. Parameters: obj (Any) Return type: tuple[Any, Any]