Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
lscsoft
gstlal
Commits
50862e87
Commit
50862e87
authored
Mar 27, 2019
by
chad.hanna
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lvalert_plots: reduce pressure on gracedb file server
parent
9cc2bf79
Pipeline
#55056
passed with stages
in 31 minutes and 9 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
25 additions
and
12 deletions
+25
-12
gstlal-inspiral/bin/gstlal_inspiral_lvalert_background_plotter
...l-inspiral/bin/gstlal_inspiral_lvalert_background_plotter
+13
-0
gstlal-inspiral/bin/gstlal_inspiral_lvalert_generic_plot_uploader
...nspiral/bin/gstlal_inspiral_lvalert_generic_plot_uploader
+4
-4
gstlal-inspiral/bin/gstlal_inspiral_lvalert_psd_plotter
gstlal-inspiral/bin/gstlal_inspiral_lvalert_psd_plotter
+6
-6
gstlal-inspiral/bin/gstlal_inspiral_lvalert_snrtimeseries_plotter
...nspiral/bin/gstlal_inspiral_lvalert_snrtimeseries_plotter
+2
-2
No files found.
gstlal-inspiral/bin/gstlal_inspiral_lvalert_background_plotter
View file @
50862e87
...
...
@@ -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
})
#
# =============================================================================
...
...
gstlal-inspiral/bin/gstlal_inspiral_lvalert_generic_plot_uploader
View file @
50862e87
...
...
@@ -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"
:
3
00
,
"savefig.dpi"
:
3
00
,
"figure.dpi"
:
1
00
,
"savefig.dpi"
:
1
00
,
"text.usetex"
:
True
,
"path.simplify"
:
True
})
...
...
gstlal-inspiral/bin/gstlal_inspiral_lvalert_psd_plotter
View file @
50862e87
...
...
@@ -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
=
24
00
)
fig
=
plotpsd
.
plot_psds
(
psds
,
coinc_xmldoc
,
plot_width
=
8
00
)
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
=
24
00
)
fig
=
plotpsd
.
plot_cumulative_snrs
(
psds
,
coinc_xmldoc
,
plot_width
=
8
00
)
fig
.
tight_layout
()
filename
=
"%s_cumulative_snrs.%s"
%
(
graceid
,
options
.
format
)
...
...
gstlal-inspiral/bin/gstlal_inspiral_lvalert_snrtimeseries_plotter
View file @
50862e87
...
...
@@ -29,8 +29,8 @@ matplotlib.rcParams.update({
"xtick.labelsize"
:
10.0
,
"ytick.labelsize"
:
10.0
,
"legend.fontsize"
:
10.0
,
"figure.dpi"
:
6
00
,
"savefig.dpi"
:
6
00
,
"figure.dpi"
:
1
00
,
"savefig.dpi"
:
1
00
,
"text.usetex"
:
True
})
from
optparse
import
OptionParser
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment