Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
lscsoft
raven
Commits
7e364e4f
Commit
7e364e4f
authored
May 17, 2022
by
Brandon Piotrzkowski
Browse files
Require sky maps to be non-negative in overlap integral
parent
96c96571
Pipeline
#398815
passed with stages
in 3 minutes and 43 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
ligo/raven/search.py
View file @
7e364e4f
...
...
@@ -259,6 +259,10 @@ def skymap_overlap_integral(se_skymap, exttrig_skymap=[],
se_order
=
'nested'
if
se_nested
or
any
(
se_skymap_uniq
)
else
'ring'
ext_order
=
'nested'
if
ext_nested
or
any
(
ext_skymap_uniq
)
else
'ring'
# Enforce the sky maps to be non-negative
se_skymap
=
np
.
abs
(
se_skymap
)
exttrig_skymap
=
np
.
abs
(
exttrig_skymap
)
if
not
any
(
exttrig_skymap
)
and
not
(
ra
and
dec
):
# Raise error if external info not given
raise
AssertionError
(
'Provide external sky map or ra/dec'
)
...
...
Brandon Piotrzkowski
@brandon.piotrzkowski
mentioned in issue
emfollow/gwcelery#417 (closed)
·
May 17, 2022
mentioned in issue
emfollow/gwcelery#417 (closed)
mentioned in issue emfollow/gwcelery#417
Toggle commit list
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment