Data Widget
hardware_control.gui.widgets.data_widget module
- class hardware_control.gui.widgets.data_widget.DataWidget(app, name: str = 'Data Logger')
Bases:
QWidgetDisplay all datasets in the app.
Shows one dataset and has a drop down menu to switch to other datasets defined in the app.
Also includes a button to clear all data from the selected dataset and option to save the dataset.
- erase_dataset_data()
Clear all data in the dataset that is currently being viewed.
- save_data()
Save the current dataset to a .json, .pickle, .npy, or .txt file.
- set_current_dataset(dataset)
Change which dataset is currently being viewed.
- update_dataset_chooser()
Updated the drop down menu with the list of all datasets.
- update_table()
Set up or update the current dataset data table.