Skip to content
Snippets Groups Projects
Commit 42796918 authored by Alexandros Asonitis's avatar Alexandros Asonitis
Browse files

Enclosed parameters in a tab

parent 736b318b
No related branches found
No related tags found
No related merge requests found
%% Cell type:code id:fe623b67-28af-4351-9e76-4381b0db3e0a tags: %% Cell type:code id:fe623b67-28af-4351-9e76-4381b0db3e0a tags:
``` python ``` python
from interface import * from interface import *
``` ```
%% Cell type:code id:035405a8-a07b-4f45-b4db-fa4a56c94053 tags: %% Cell type:code id:035405a8-a07b-4f45-b4db-fa4a56c94053 tags:
``` python ``` python
sample,sample_dict = probendaten() sample,sample_dict = probendaten()
``` ```
%% Cell type:code id:fe5d37b6-509f-4408-9805-1fee6af4a9f2 tags:
``` python
display(sample)
```
%% Output
%% Cell type:code id:ee6f1392-5976-430b-a26b-b594de19011c tags: %% Cell type:code id:ee6f1392-5976-430b-a26b-b594de19011c tags:
``` python ``` python
messparameter,messparameter_dict = messparameter() messparameter,messparameter_dict = messparameter()
``` ```
%% Cell type:code id:4d4f47be-8c15-4b65-9bf8-8439aeaa840a tags: %% Cell type:code id:77f6a2b9-5837-4144-93ce-1a68d74fe370 tags:
``` python ``` python
sweep_parameter,sweep_parameter_dict = sweep_parameter() sweep_parameter,sweep_parameter_dict = sweep_parameter()
``` ```
%% Cell type:code id:1627f28b-c64d-4a37-94eb-339917b5f140 tags: %% Cell type:code id:61d429a5-3be8-41e2-84af-7fd69862d936 tags:
``` python ``` python
display(widgets.HBox([sweep_parameter,messparameter])) tab = widgets.Tab()
children = [widgets.VBox([sample,widgets.HBox([sweep_parameter,messparameter])])]
tab.children = children
tab.set_title(0,'CV-measurement')
display(tab)
``` ```
%% Output %% Output
%% Cell type:code id:81c3319b-4581-44c5-9849-89dd97714d22 tags: %% Cell type:code id:81c3319b-4581-44c5-9849-89dd97714d22 tags:
``` python ``` python
measure = widgets.Button(description = 'Start Measurement') measure = widgets.Button(description = 'Start Measurement')
calibrate = widgets.Button(description = 'Start Calibration') calibrate = widgets.Button(description = 'Start Calibration')
display(widgets.HBox([measure,calibrate])) display(widgets.HBox([measure,calibrate]))
``` ```
%% Output %% Output
%% Cell type:code id:61d429a5-3be8-41e2-84af-7fd69862d936 tags: %% Cell type:code id:7f308fc0-43e6-4794-b6fd-15e47079c5cb tags:
``` python ``` python
``` ```
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment