-
Hi all, I am using Qcodes to acquire data and I am plotting it using Pyplotter (https://github.com/pyplotter/pyplotter). Sometimes I would like to add some metadata to a specific run_id with some comments about the run. I can easily extract the existing metadata in a jupyter notebook but it seems difficult to modify anything. I saw that in your QCoDeS experiments widget you have a notes section so I guess you thought about it. Is it possible to add note to an experiment afterwards? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Our policy on the pyplotter is to never changed the database. |
Beta Was this translation helpful? Give feedback.
-
yes, in general, that's supported by qcodes through the |
Beta Was this translation helpful? Give feedback.
yes, in general, that's supported by qcodes through the
DataSet.add_metadata
method, so perhaps give it a try? We don't advertise this method a lot but it exists and works (also covered with tests) (and it has a few limitations), and this is exactly what the experient widget makes use of. https://microsoft.github.io/Qcodes/examples/DataSet/DataSet-class-walkthrough.html#Note-on-metadatahttp://microsoft.github.io/Qcodes/api/dataset/index.html#qcodes.dataset.DataSetProtocol.add_metadata