Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
GstLAL
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
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
spiir-group
GstLAL
Commits
4ea9fa5f
Commit
4ea9fa5f
authored
4 years ago
by
Patrick Godwin
Browse files
Options
Downloads
Patches
Plain Diff
gstlal_inspiral_plot_sensitivity: fix import error
parent
2aa3cdf6
No related branches found
Branches containing commit
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_plot_sensitivity
+2
-2
2 additions, 2 deletions
gstlal-inspiral/bin/gstlal_inspiral_plot_sensitivity
with
2 additions
and
2 deletions
gstlal-inspiral/bin/gstlal_inspiral_plot_sensitivity
+
2
−
2
View file @
4ea9fa5f
...
...
@@ -39,7 +39,7 @@ from lal import rate
from
lal.utils
import
CacheEntry
from
gstlal
import
imr_utils
from
gstlal
import
da
gparts
from
gstlal
import
da
tafind
from
gstlal.plots
import
sensitivity
as
plotsens
from
matplotlib
import
pyplot
...
...
@@ -596,7 +596,7 @@ for bin_type in opts.bin_types:
ifostr
=
"
%s_%s
"
%
(
UL
.
searched_instruments
,
""
.
join
(
sorted
(
instr
)))
for
fig
,
plot_type
in
zip
((
fig_far
,
fig_far_range
,
fig_snr
,
fig_eff
),
(
"
VOLUME_VS_FAR
"
,
"
RANGE_VS_FAR
"
,
"
VOLUME_VS_SNR
"
,
"
EFFICIENCY
"
)):
plot_desc
=
f
"
GSTLAL_INSPIRAL_PLOT_SENSITIVITY_
{
plot_type
}
_
{
opts
.
user_tag
}
_BINNED_BY_
{
bin_type
.
upper
()
}
"
tag
=
da
gparts
.
T050017_filename
(
ifostr
,
plot_desc
,
(
UL
.
start_time
,
UL
.
end_time
),
"
.png
"
,
path
=
opts
.
output_dir
)
tag
=
da
tafind
.
T050017_filename
(
ifostr
,
plot_desc
,
(
UL
.
start_time
,
UL
.
end_time
),
"
.png
"
,
path
=
opts
.
output_dir
)
fig
.
savefig
(
tag
)
pyplot
.
close
(
fig
)
...
...
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