Loading test_cases.ipynb→data/constant_calculations.ipynb +0 −0 File moved. View file fig/pump_curve_poly.pdf→data/pump_curve_poly.pdf (66.1 KiB) File moved. View file numerical_labelling/plot_layout.py +3 −2 Original line number Diff line number Diff line Loading @@ -48,12 +48,13 @@ def plot_layout_any(layout_plt, layout_name, varbs, xoff=120, yoff=0, fontsize=25, figsize=(45,20), title = "", figpath = "", ): """ layout_name: the name of the layout, 'pilot', 'minimal' """ img_folder = os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), "fig") img_folder = os.path.join(module_path, "fig") # print(img_folder) mem_img_path = os.path.join(img_folder, f"{layout_name}_layout.png") mem_img = np.asarray(Image.open(mem_img_path)) Loading Loading @@ -138,7 +139,7 @@ def plot_layout_any(layout_plt, layout_name, varbs, coords[0], coords[1], names[i], fontsize=fontsize, color = "grey", alpha = 0.5, ) # m1 fig_path = os.path.join(module_path, "testing", "plots") fig_path = os.path.join(figpath, "plots") ax.text(800, 50, title, fontsize = 50, ) fig_name = title.replace(" ", "_") fig.savefig(os.path.join(fig_path, fig_name), bbox_inches="tight") Loading testing/run_compare_one_layout_minimal.ipynb→papers/01_genobs_discrepancy_paper_2026/GENOBS_example.ipynb +825 −0 File changed and moved.Preview size limit exceeded, changes collapsed. Show changes papers/01_genobs_discrepancy_paper_2026/context.py 0 → 100644 +21 −0 Original line number Diff line number Diff line import os import sys if sys.platform == "win32": soar_path = os.path.join(r"C:\Users\tjf\Documents\01_gitlab_repos\soar\python") elif sys.platform == "linux": soar_path = os.path.join("/home/tjf/01_nawi/soar/python") if soar_path not in sys.path: sys.path.insert(0, soar_path) else: print("soar toolbox already in path") # add module path module_path = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) if module_path not in sys.path: sys.path.insert(0, module_path) else: print("path already in sys.path") Loading
numerical_labelling/plot_layout.py +3 −2 Original line number Diff line number Diff line Loading @@ -48,12 +48,13 @@ def plot_layout_any(layout_plt, layout_name, varbs, xoff=120, yoff=0, fontsize=25, figsize=(45,20), title = "", figpath = "", ): """ layout_name: the name of the layout, 'pilot', 'minimal' """ img_folder = os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), "fig") img_folder = os.path.join(module_path, "fig") # print(img_folder) mem_img_path = os.path.join(img_folder, f"{layout_name}_layout.png") mem_img = np.asarray(Image.open(mem_img_path)) Loading Loading @@ -138,7 +139,7 @@ def plot_layout_any(layout_plt, layout_name, varbs, coords[0], coords[1], names[i], fontsize=fontsize, color = "grey", alpha = 0.5, ) # m1 fig_path = os.path.join(module_path, "testing", "plots") fig_path = os.path.join(figpath, "plots") ax.text(800, 50, title, fontsize = 50, ) fig_name = title.replace(" ", "_") fig.savefig(os.path.join(fig_path, fig_name), bbox_inches="tight") Loading
testing/run_compare_one_layout_minimal.ipynb→papers/01_genobs_discrepancy_paper_2026/GENOBS_example.ipynb +825 −0 File changed and moved.Preview size limit exceeded, changes collapsed. Show changes
papers/01_genobs_discrepancy_paper_2026/context.py 0 → 100644 +21 −0 Original line number Diff line number Diff line import os import sys if sys.platform == "win32": soar_path = os.path.join(r"C:\Users\tjf\Documents\01_gitlab_repos\soar\python") elif sys.platform == "linux": soar_path = os.path.join("/home/tjf/01_nawi/soar/python") if soar_path not in sys.path: sys.path.insert(0, soar_path) else: print("soar toolbox already in path") # add module path module_path = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) if module_path not in sys.path: sys.path.insert(0, module_path) else: print("path already in sys.path")