towards new pix2pos calibration part 2

This commit is contained in:
2022-07-20 10:50:01 +02:00
parent 7209243f2f
commit 4a6db36805
5 changed files with 251 additions and 159 deletions

View File

@@ -1,3 +1,11 @@
#TODO:
# currently 2 settings/configs are used
# QSettings -> cat ~/.config/Paul\ Scherrer\ Institut/SwissMX.conf
# yaml -> swissmx.yaml
# QSettings are changed by program
# #yaml is fixed and not altened by program
import yaml
from PyQt5.QtCore import QSettings
from pathlib import Path
@@ -6,7 +14,7 @@ import logging
logger = logging.getLogger(__name__)
settings = QSettings("Paul Scherrer Institut", "SwissMX")
settings = QSettings("PSI", "SwissMX")
inst_folder = Path(__file__).absolute().parent