Skip to content

Commit

Permalink
Remove unused configuration settings
Browse files Browse the repository at this point in the history
  • Loading branch information
ceds92 committed May 10, 2024
1 parent 485caae commit 998434b
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions scanbot/server/scanbot_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,28 +8,28 @@ class scanbot_config():
def __init__(self, module_dir="./"):
self.config = OrderedDict(
# key : [label, description, category, default value]
{ 'zuliprc' : ['Zulip RC File', 'Upload your Zulip rc file. See https://zulip.com/api/running-bots', 'external', ''],
'zulip_stream' : ['Zulip Stream', 'Default stream when sending messages via Zulip', 'external', 'scanbot'],
'zulip_topic' : ['Zulip Topic', 'Default topic when sending messages via Zulip', 'external', 'live-stream'],
'upload_method' : ['Upload Type', 'Upload generated pngs via zulip or firebase', 'external', 'no_upload'],
'path' : ['Path', 'Path to save data', 'external', 'scanbot_data'],
'firebase_credentials' : ['Firebase Credentials', 'Credentials for firebase (if upload_method=firebase)', 'external', ''],
'firebase_storage_bucket' : ['Firebase Bucket', 'Firebase storage bucket. Firebase path uses "path" key', 'external', ''],
{ # 'zuliprc' : ['Zulip RC File', 'Upload your Zulip rc file. See https://zulip.com/api/running-bots', 'external', ''],
# 'zulip_stream' : ['Zulip Stream', 'Default stream when sending messages via Zulip', 'external', 'scanbot'],
# 'zulip_topic' : ['Zulip Topic', 'Default topic when sending messages via Zulip', 'external', 'live-stream'],
# 'upload_method' : ['Upload Type', 'Upload generated pngs via zulip or firebase', 'external', 'no_upload'],
# 'path' : ['Path', 'Path to save data', 'external', 'scanbot_data'],
# 'firebase_credentials' : ['Firebase Credentials', 'Credentials for firebase (if upload_method=firebase)', 'external', ''],
# 'firebase_storage_bucket' : ['Firebase Bucket', 'Firebase storage bucket. Firebase path uses "path" key', 'external', ''],
'port_list' : ['TCP Ports', 'Comma delimited ports (nanonis => Main Options => TCP Programming Interface)', 'tcp', '6501,6502,6503,6504'],
'ip' : ['IP Address', 'IP address of the pc controlling nanonis', 'tcp', '127.0.0.1'],
'topo_basename' : ['Topo basename', 'Basename for .sxm files. Leave blank to use current value in nanonis', 'nanonis', ''],
'scp_path' : ['SCP Path', 'SCP generated pngs to user@clouddatabase:path. Leave blank to turn off', 'external', ''],
# 'scp_path' : ['SCP Path', 'SCP generated pngs to user@clouddatabase:path. Leave blank to turn off', 'external', ''],
'safe_current' : ['Crash Current (A)', 'When the current goes above this threhold the tip is considered crashed', 'safety', '5e-9'],
'safe_retract_V' : ['Crash Retract Voltage (V)', 'Voltage (V) applied to the Z piezo when retracting tip if a crash is detected', 'safety', '200'],
'safe_retract_F' : ['Crash Retract Frequency (Hz)', 'Frequency (Hz) applied to the Z piezo when retracting tip if a crash is detected', 'safety', '1500'],
'piezo_z_max_V' : ['Max Z Piezo Voltage (V)', 'Maximum voltage that Scanbot can apply to the Z piezo', 'safety', '200'],
'piezo_z_min_V' : ['Min Z Piezo Voltage (V)', 'Minimum voltage that Scanbot can apply to the Z piezo', 'safety', '0'],
'piezo_xy_max_V' : ['Max XY Piezo Voltage (V)', 'Maximum voltage that Scanbot can apply to the XY piezos', 'safety', '200'],
'piezo_xy_min_V' : ['Min XY Piezo Voltage (V)', 'Minimum voltage that Scanbot can apply to the XY piezos', 'safety', '0'],
'piezo_z_max_F' : ['Max Z Piezo Frequency (Hz)', 'Maximum frequency that Scanbot can apply to the Z piezo', 'safety', '5000'],
'piezo_z_min_F' : ['Min Z Piezo Frequency (Hz)', 'Minimum frequency that Scanbot can apply to the Z piezo', 'safety', '500'],
'piezo_xy_max_F' : ['Max XY Piezo Frequency (Hz)', 'Maximum frequency that Scanbot can apply to the XY piezos', 'safety', '5000'],
'piezo_xy_min_F' : ['Min XY Piezo Frequency (Hz)', 'Minimum frequency that Scanbot can apply to the XY piezos', 'safety', '500'],
# 'piezo_z_max_V' : ['Max Z Piezo Voltage (V)', 'Maximum voltage that Scanbot can apply to the Z piezo', 'safety', '200'],
# 'piezo_z_min_V' : ['Min Z Piezo Voltage (V)', 'Minimum voltage that Scanbot can apply to the Z piezo', 'safety', '0'],
# 'piezo_xy_max_V' : ['Max XY Piezo Voltage (V)', 'Maximum voltage that Scanbot can apply to the XY piezos', 'safety', '200'],
# 'piezo_xy_min_V' : ['Min XY Piezo Voltage (V)', 'Minimum voltage that Scanbot can apply to the XY piezos', 'safety', '0'],
# 'piezo_z_max_F' : ['Max Z Piezo Frequency (Hz)', 'Maximum frequency that Scanbot can apply to the Z piezo', 'safety', '5000'],
# 'piezo_z_min_F' : ['Min Z Piezo Frequency (Hz)', 'Minimum frequency that Scanbot can apply to the Z piezo', 'safety', '500'],
# 'piezo_xy_max_F' : ['Max XY Piezo Frequency (Hz)', 'Maximum frequency that Scanbot can apply to the XY piezos', 'safety', '5000'],
# 'piezo_xy_min_F' : ['Min XY Piezo Frequency (Hz)', 'Minimum frequency that Scanbot can apply to the XY piezos', 'safety', '500'],
# 'hk_commands' : ['0'] # Flag to look for customised commands in hk_commands
'nanonis_version' : ['Nanonis Version Number', 'Version of the host nanonis. See nanonis > help > info and take the RT Engine version number. Defaults to the latest version', 'tcp', '99999999'],
})
Expand Down

0 comments on commit 998434b

Please sign in to comment.