From 5eacc561b5244f93ec34cbbbbb06f4949c02abde Mon Sep 17 00:00:00 2001 From: ChiWai Chan <chiwai.chan@ligo.org> Date: Mon, 25 Oct 2021 19:47:09 -0700 Subject: [PATCH] gstlal_inspiral_summary_page: add horizon distance plots back to summary page but plot them on a image pagination component so that they will not be fetched all at once and slows down the page. Note: this depends on https://git.ligo.org/gstlal-visualisation/ligo-scald/-/merge_requests/36. --- gstlal-inspiral/bin/gstlal_inspiral_summary_page | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gstlal-inspiral/bin/gstlal_inspiral_summary_page b/gstlal-inspiral/bin/gstlal_inspiral_summary_page index a02692af11..cd467c3edb 100755 --- a/gstlal-inspiral/bin/gstlal_inspiral_summary_page +++ b/gstlal-inspiral/bin/gstlal_inspiral_summary_page @@ -143,8 +143,8 @@ injrecovery += report.ImageGrid("Effective Spin Accuracy", grid_size=3, footer=" injrecovery += report.ImageGrid("SNR Recovery", grid_size=3, footer="Injected expected SNR vs recovered SNR").glob(os.path.join(opts.glob_path, '*2_SNR_*.png')) -#imgfooter = "This is the distance at which you should see a 1.4 1.4 Msun binary at SNR 8. The first panel shows the time evolution of the horizon distance and the second panel shows the same information in histogram form." -#injrecovery += report.ImageGrid("Horizon distance", grid_size=1, footer=imgfooter).glob(os.path.join(opts.glob_path, '*HORIZON*.png')) +imgfooter = "This is the distance at which you should see a 1.4 1.4 Msun binary at SNR 8. The first panel shows the time evolution of the horizon distance and the second panel shows the same information in histogram form." +injrecovery += report.ImagePagination("Horizon distance", footer=imgfooter).glob(os.path.join(opts.glob_path, 'horizon_distance/*HORIZON*.png')) # # Add injection missed / found content @@ -367,8 +367,8 @@ tabledata = load_json(glob.glob(f'{opts.glob_path}/*-GSTLAL_INSPIRAL_PLOT_SUMMAR summary += report.Table('Search Summary').save(tabledata, opts.webserver_dir+'_lite') ## Include horizon distance plots -#imgfooter = "This is the distance at which you should see a 1.4 1.4 Msun binary at SNR 8. The first panel shows the time evolution of the horizon distance and the second panel shows the same information in histogram form." -#summary += report.ImageGrid("Horizon distance", grid_size=1, footer=imgfooter).glob(os.path.join(opts.glob_path, '*HORIZON*.png')) +imgfooter = "This is the distance at which you should see a 1.4 1.4 Msun binary at SNR 8. The first panel shows the time evolution of the horizon distance and the second panel shows the same information in histogram form." +summary += report.ImagePagination("Horizon distance", footer=imgfooter).glob(os.path.join(opts.glob_path, 'horizon_distance/*HORIZON*.png')) ## Include found/missed as function of decisive characteristic SNR summary += report.Header("Found / Missed Expected SNR") -- GitLab