Commit 50862e87 authored by chad.hanna's avatar chad.hanna

lvalert_plots: reduce pressure on gracedb file server

parent 9cc2bf79
Pipeline #55056 passed with stages
in 31 minutes and 9 seconds
......@@ -48,6 +48,19 @@ from gstlal import far
from gstlal import lvalert_helper
from gstlal import plotfar
import matplotlib
matplotlib.rcParams.update({
"font.size": 10.0,
"axes.titlesize": 10.0,
"axes.labelsize": 10.0,
"xtick.labelsize": 8.0,
"ytick.labelsize": 8.0,
"legend.fontsize": 8.0,
"figure.dpi": 100,
"savefig.dpi": 100,
"text.usetex": True
})
#
# =============================================================================
......
......@@ -46,16 +46,16 @@ from gstlal import lvalert_helper
from gstlal import plotpsd
from ligo.gracedb import rest as gracedb
plotpsd.matplotlib.rcParams.update({
import matplotlib
matplotlib.rcParams.update({
"font.size": 10.0,
"axes.titlesize": 10.0,
"axes.labelsize": 10.0,
"xtick.labelsize": 8.0,
"ytick.labelsize": 8.0,
"legend.fontsize": 8.0,
"figure.dpi": 300,
"savefig.dpi": 300,
"figure.dpi": 100,
"savefig.dpi": 100,
"text.usetex": True,
"path.simplify": True
})
......
......@@ -46,16 +46,16 @@ from gstlal import plotpsd
from ligo.gracedb import rest as gracedb
plotpsd.matplotlib.rcParams.update({
import matplotlib
matplotlib.rcParams.update({
"font.size": 10.0,
"axes.titlesize": 10.0,
"axes.labelsize": 10.0,
"xtick.labelsize": 8.0,
"ytick.labelsize": 8.0,
"legend.fontsize": 8.0,
"lines.linewidth": 0.75,
"figure.dpi": 300,
"savefig.dpi": 300,
"figure.dpi": 100,
"savefig.dpi": 100,
"text.usetex": True,
"path.simplify": True
})
......@@ -150,7 +150,7 @@ for graceid in graceids:
# PSD plot
#
fig = plotpsd.plot_psds(psds, coinc_xmldoc, plot_width = 2400)
fig = plotpsd.plot_psds(psds, coinc_xmldoc, plot_width = 800)
fig.tight_layout()
filename = "%s_psd.%s" % (graceid, options.format)
......@@ -164,7 +164,7 @@ for graceid in graceids:
# Cumulative SNRs plot
#
fig = plotpsd.plot_cumulative_snrs(psds, coinc_xmldoc, plot_width = 2400)
fig = plotpsd.plot_cumulative_snrs(psds, coinc_xmldoc, plot_width = 800)
fig.tight_layout()
filename = "%s_cumulative_snrs.%s" % (graceid, options.format)
......
......@@ -29,8 +29,8 @@ matplotlib.rcParams.update({
"xtick.labelsize": 10.0,
"ytick.labelsize": 10.0,
"legend.fontsize": 10.0,
"figure.dpi": 600,
"savefig.dpi": 600,
"figure.dpi": 100,
"savefig.dpi": 100,
"text.usetex": True
})
from optparse import OptionParser
......
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