lot a small steps...
This commit is contained in:
@@ -56,7 +56,11 @@ class AppCfg(QSettings):
|
||||
#set default keys if not existing
|
||||
if AppCfg.GEO_BEAM_SZ not in keys:
|
||||
_log.warning(f'{AppCfg.GEO_BEAM_SZ} not defined. set default')
|
||||
self.setValue(AppCfg.GEO_BEAM_SZ, [40, 20]) #([40, 20) -> tuples are not supported natively
|
||||
self.setValue(AppCfg.GEO_BEAM_SZ, [30.2, 25.6]) #([40, 20) -> tuples are not supported natively
|
||||
|
||||
if AppCfg.GEO_BEAM_POS not in keys:
|
||||
_log.warning(f'{AppCfg.GEO_BEAM_POS} not defined. set default')
|
||||
self.setValue(AppCfg.GEO_BEAM_POS, [23.4, -54.2]) # beam position relativ to optical center in mm
|
||||
|
||||
if AppCfg.GEO_PIX2POS not in keys:
|
||||
_log.warning(f'{AppCfg.GEO_OPT_CTR} not defined. calc default')
|
||||
|
||||
Reference in New Issue
Block a user