QudevETH / PycQED_py3

Python3 version of PycQED using QCodes as backend
MIT License
9 stars 7 forks source link

Functions to copy data from a source folder to the data folder #207

Closed chellings closed 3 years ago

chellings commented 3 years ago

analysis_toolbox: added functions fetch_data and fetch_data_in_range to copy data from a source folder to the data folder.

Useful to analyze data from the setup on a local notebook with a separate data folder.

Inviting @nathlacroix to review FYI @antsr @stephlazar

nathlacroix commented 3 years ago

Very nice feature @chellings . Initially, I wanted to add some functionalities which I had in my local version of this function but when trying to implement them, I realized it would be intricate due to the chosen structure of the "auto_fetch" feature throughout the module (resulted in some infinite recursive calls in edge cases which would be possible to manage but that would not be very robust to further changes). I therefore suggested only minor renaming changes: