Commit 3ff91718 authored by Meg Millhouse's avatar Meg Millhouse

Merge branch 'megaplot_fixes' into 'master'

Megaplot fixes

See merge request lscsoft/bayeswave!161
parents 9329a15f a7279a31
Pipeline #100116 passed with stages
in 19 minutes and 40 seconds
......@@ -1324,10 +1324,10 @@ def make_model_page(htmlDir, plotsDir, model, ifoList, ifoNames):
subpage.write('<br/>Other Q resolutions: <a id="displayFull'+model+'spect\'" href="javascript:toggle(\'divFull'+model+'spect\',\'displayFull'+model+'spect\');">show</a>\n')
subpage.write(' <div id="divFull'+model+'spect'+'" style="display: none">\n')
for ifo in ifoList:
plotsrc = './'+plotsDir+'{0}_spectrogram_Q4_{1}.png'.format(mod,ifoNames[int(ifo)])
plotsrc = './'+plotsDir+'{0}_spectrogram_Q4_{1}.png'.format(model,ifoNames[int(ifo)])
subpage.write(' <a href="'+plotsrc+'"><img src="'+plotsrc+'" alt="'+plotsrc+'" width=500></a>\n')
for ifo in ifoList:
plotsrc = './'+plotsDir+'{0}_spectrogram_Q16_{1}.png'.format(mod,ifoNames[int(ifo)])
plotsrc = './'+plotsDir+'{0}_spectrogram_Q16_{1}.png'.format(model,ifoNames[int(ifo)])
subpage.write(' <a href="'+plotsrc+'"><img src="'+plotsrc+'" alt="'+plotsrc+'" width=500></a>\n')
subpage.write("</div>\n")
subpage.write(' <br/>\n')
......@@ -1361,10 +1361,10 @@ def make_model_page(htmlDir, plotsDir, model, ifoList, ifoNames):
subpage.write('<br/>Other Q resolutions: <a id="displayFull'+model+'res\'" href="javascript:toggle(\'divFull'+model+'res\',\'displayFull'+model+'res\');">show</a>\n')
subpage.write(' <div id="divFull'+model+'res'+'" style="display: none">\n')
for ifo in ifoList:
plotsrc = './'+plotsDir+'{0}_residual_spectrogram_Q4_{1}.png'.format(mod,ifoNames[int(ifo)])
plotsrc = './'+plotsDir+'{0}_residual_spectrogram_Q4_{1}.png'.format(model,ifoNames[int(ifo)])
subpage.write(' <a href="'+plotsrc+'"><img src="'+plotsrc+'" alt="'+plotsrc+'" width=500></a>\n')
for ifo in ifoList:
plotsrc = './'+plotsDir+'{0}_residual_spectrogram_Q16_{1}.png'.format(mod,ifoNames[int(ifo)])
plotsrc = './'+plotsDir+'{0}_residual_spectrogram_Q16_{1}.png'.format(model,ifoNames[int(ifo)])
subpage.write(' <a href="'+plotsrc+'"><img src="'+plotsrc+'" alt="'+plotsrc+'" width=500></a>\n')
subpage.write("</div>\n")
subpage.write(' <br/>\n')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment