clean up of Measurement analysis notebook

This commit is contained in:
2025-09-03 14:46:37 +02:00
parent 58c15fbd41
commit f4aba02274

View File

@@ -11,17 +11,12 @@
},
"source": [
"import sys\n",
"#from PyQt5.QtGui.QRawFont import style\n",
"from pathlib import Path\n",
"\n",
"import numpy as np\n",
"from IPython.display import clear_output\n",
"\n",
"\n",
"# Imports\n",
"\n",
"\n",
"#TODO: Move script from frederica to scripts\n",
"def check_path(path_str):\n",
" \"\"\"\n",
" Check if a path is valid, throws an exception if not.\n",
@@ -41,12 +36,10 @@
"meas_scripts_dir_local = r\"C:\\Users\\berti_r\\Python_Projects\\StagePerformaceDocu\\Scripts\"\n",
"config_path = r\"C:\\Users\\berti_r\\Python_Projects\\StagePerformaceDocu\\Config\\config.json\"\n",
"\n",
"#check_path(meas_scripts_dir)\n",
"check_path(meas_scripts_dir_local)\n",
"check_path(config_path)\n",
"sys.path.append(meas_scripts_dir_local)\n",
"#sys.path.append(meas_scripts_dir)\n",
"#TODO: mirror struct from jason\n",
"\n",
"\n",
"#local includes\n",
"import matplotlib.dates as mdates\n",
@@ -262,8 +255,6 @@
" #mf.analyze_repeatability(axis_data_file_path_1,1.1)\n",
"\n",
" x_vals1, y_vals1, times1 = myu.load_xy_data(axis_data_file_path_1)\n",
" #x_vals1 = x_vals1- np.mean(x_vals1)\n",
" #y_vals1 = y_vals1- np.mean(y_vals1)\n",
"\n",
" # Fixing random state for reproducibility\n",
"\n",