-
Notifications
You must be signed in to change notification settings - Fork 45
/
qkit_local_config.py
30 lines (24 loc) · 1.06 KB
/
qkit_local_config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# This is the local qkit configuration.
# Here you can set everything which is non standard.
# This is the only file you should edit.
cfg = {}
#cfg['SomeGlobalVar'] = 42
# e.g. uncomment the following line to use the x version of qviewkit
#cfg['plot_engine'] = 'qkit.gui.qviewkit_x.main'
# Where is your data located?
# We can't rely on os.getcwd(), because jupyter creates sub-processes.
# Configuring relative to the configuration file:
import pathlib
this_dir = pathlib.Path(__file__).parent.resolve()
cfg['datadir'] = str(this_dir / 'data')
cfg['logdir'] = str(this_dir / 'logs')
# Which version of datafolder structuring do you want?
# 1 = YYYYMMDD/HHMMSS_NAME
# 2 = RUN_ID/USERNAME/UUID_NAME
cfg['datafolder_structure'] = 2
# If you are using qkit for measurements, you should install visa and uncomment the following line:
#cfg['load_visa'] = True
# Which version of the circle fit do you want?
# 1 = "classic" circle fit by S. Probst (only version available until 08/2019)
# 2 = updated circle fit by D. Rieger available since 08/2019
# cfg['circle_fit_version'] = 1