sandialabs / pyscan

Scientific Measurement Toolbox
https://pyscan.readthedocs.io/en/latest/
MIT License
4 stars 4 forks source link

fix(core): load_experiment updates the runinfo.measured list when reading from hdf5 file #191

Closed mplilly4395 closed 3 weeks ago

mplilly4395 commented 3 weeks ago

closes #189

rsbrost commented 3 weeks ago

Currently the expt.keys() when loaded include the runinfo scans as keys, i.e. 'repeat', 'v1_voltage', etc. The current way measured is set up in load_experiment captures these in addition to the measured components. A possible solution could be to save the scans under the overarching key of runinfo so that they follow the format with which experiments are initially set up and they they will not be included in the measured list as it is written.