Open zibrov-zlobin opened 7 years ago
The parameters are encoded by flattening a labrad data value to bytes, and then base64 encoding. To decode you have to do the reverse. I suspect that the easiest way to have a collaborator access the data is to just send them the code snippet of the decoder and have them pip install pylabrad
. They don't need a full labrad installation of course, just the pylabrad
library. Otherwise they'd have to write their own code to understand the labrad pyte format, type tags, etc.
I was wondering if it is possible to decode the parameters saved in a datafile without using labrad with, say, just plain python tools? We sometimes end up sending our datasets to collaborators who dont use labrad.
It seems like it is not trivial -- I need to unflatten labrad type and decode from base64? Maybe I am missing something and it is possible to do this without using labrad types?