Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
gstlal
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Duncan Macleod
gstlal
Commits
18669d0c
Commit
18669d0c
authored
6 years ago
by
Chad Hanna
Committed by
Kipp Cannon
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
gstlal_inspiral_lvalert_background_plotter: Remove SNR-SNR PDF plot
parent
26d2220c
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
gstlal-inspiral/bin/gstlal_inspiral_lvalert_background_plotter
+0
-14
0 additions, 14 deletions
...l-inspiral/bin/gstlal_inspiral_lvalert_background_plotter
with
0 additions
and
14 deletions
gstlal-inspiral/bin/gstlal_inspiral_lvalert_background_plotter
+
0
−
14
View file @
18669d0c
...
...
@@ -199,20 +199,6 @@ for gid in gid_list:
fig
.
savefig
(
filename
)
# function returns None if it can't make a plot, e.g., if there are
# more than 2 instruments involved (don't know how to make 3D PDF
# plots yet)
fig
=
plotfar
.
plot_snr_joint_pdf
(
rankingstat
.
numerator
.
SNRPDF
,
sngl_inspirals
.
keys
(),
rankingstat
.
numerator
.
horizon_history
.
getdict
(
coinc_inspiral
.
end
),
rankingstat
.
min_instruments
,
options
.
max_snr
,
sngls
=
[
dict
((
row
.
ifo
,
(
row
.
snr
,
row
.
chisq
/
row
.
chisq_dof
))
for
row
in
sngl_inspirals
.
values
())])
if
fig
is
not
None
:
filename
=
"
%s_%s_jointsnr_pdf.png
"
%
(
gid
,
"
_
"
.
join
(
sorted
(
sngl_inspirals
.
keys
())))
if
not
options
.
no_upload
:
lvalert_helper
.
upload_fig
(
fig
,
gracedb_client
,
gid
,
filename
=
filename
,
log_message
=
"
%s SNR PDF
"
%
"
,
"
.
join
(
sorted
(
sngl_inspirals
.
keys
())),
tagname
=
"
background
"
)
if
options
.
output_path
is
not
None
:
filename
=
os
.
path
.
join
(
options
.
output_path
,
filename
)
logging
.
info
(
"
writing %s ...
"
%
filename
)
fig
.
savefig
(
filename
)
fig
=
plotfar
.
plot_likelihood_ratio_ccdf
(
fapfar
,
(
0.
,
max
(
40.
,
coinc_event
.
likelihood
-
coinc_event
.
likelihood
%
5.
+
5.
)),
ln_likelihood_ratio_markers
=
(
coinc_event
.
likelihood
,))
filename
=
"
%s_likehoodratio_ccdf.png
"
%
gid
if
not
options
.
no_upload
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment