From beda66caa89413fcdb690346a8468971f262ccb1 Mon Sep 17 00:00:00 2001 From: Ivan Usov Date: Mon, 13 Mar 2023 15:46:40 +0100 Subject: [PATCH] Rename spectral panels for aramis For #8 --- photodiag_web/app/main.py | 4 ++-- .../app/{panel_spect_corr.py => panel_spect_int_corr.py} | 2 +- photodiag_web/app/panel_spect_peaks.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) rename photodiag_web/app/{panel_spect_corr.py => panel_spect_int_corr.py} (98%) diff --git a/photodiag_web/app/main.py b/photodiag_web/app/main.py index 228e5e3..a92eae8 100644 --- a/photodiag_web/app/main.py +++ b/photodiag_web/app/main.py @@ -10,7 +10,7 @@ panel_correlation, panel_diode_check, panel_jitter, - panel_spect_corr, + panel_spect_int_corr, panel_spect_peaks, ) @@ -42,7 +42,7 @@ position_panel = TabPanel(child=column(position_img, position_tabs), title="Position") spectral_img = Div(text="""""") -spectral_tabs = Tabs(tabs=[panel_spect_corr.create(), panel_spect_peaks.create()]) +spectral_tabs = Tabs(tabs=[panel_spect_int_corr.create(), panel_spect_peaks.create()]) spectral_panel = TabPanel(child=column(spectral_img, spectral_tabs), title="Spectral") # Final layout diff --git a/photodiag_web/app/panel_spect_corr.py b/photodiag_web/app/panel_spect_int_corr.py similarity index 98% rename from photodiag_web/app/panel_spect_corr.py rename to photodiag_web/app/panel_spect_int_corr.py index 37318fc..6108c59 100644 --- a/photodiag_web/app/panel_spect_corr.py +++ b/photodiag_web/app/panel_spect_int_corr.py @@ -173,4 +173,4 @@ async def _update_plots(): fig_layout, row(num_shots_spinner, column(Spacer(height=18), update_toggle)) ) - return TabPanel(child=tab_layout, title="spect-intensity corr") + return TabPanel(child=tab_layout, title="Aramis Spectral intensity correlation") diff --git a/photodiag_web/app/panel_spect_peaks.py b/photodiag_web/app/panel_spect_peaks.py index b81ce2d..344b065 100644 --- a/photodiag_web/app/panel_spect_peaks.py +++ b/photodiag_web/app/panel_spect_peaks.py @@ -154,4 +154,4 @@ async def _update_plots(): ), ) - return TabPanel(child=tab_layout, title="spect-peaks") + return TabPanel(child=tab_layout, title="Aramis Spectral peaks analysis")