Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bilby
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
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
Container Registry
Model registry
Operate
Environments
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
lscsoft
bilby
Commits
87166321
Commit
87166321
authored
5 years ago
by
Gregory Ashton
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' into improve-skymap
parents
f368ee7b
0b4b35b9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!478
Rework of the skymap utilities
Pipeline
#60350
passed
5 years ago
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
bilby/gw/detector/networks.py
+2
-1
2 additions, 1 deletion
bilby/gw/detector/networks.py
test/gw_utils_test.py
+1
-1
1 addition, 1 deletion
test/gw_utils_test.py
with
3 additions
and
2 deletions
bilby/gw/detector/networks.py
+
2
−
1
View file @
87166321
...
...
@@ -5,6 +5,7 @@ import numpy as np
from
bilby.core
import
utils
from
bilby.core.utils
import
logger
from
bilby.gw
import
utils
as
gwutils
from
.interferometer
import
Interferometer
from
.psd
import
PowerSpectralDensity
from
.strain_data
import
InterferometerStrainData
...
...
@@ -306,7 +307,7 @@ def get_event_data(
------
list: A list of bilby.gw.detector.Interferometer objects
"""
event_time
=
utils
.
get_event_time
(
event
)
event_time
=
gw
utils
.
get_event_time
(
event
)
interferometers
=
[]
...
...
This diff is collapsed.
Click to expand it.
test/gw_utils_test.py
+
1
−
1
View file @
87166321
...
...
@@ -166,7 +166,7 @@ class TestGWUtils(unittest.TestCase):
def
test_lalsim_SimInspiralChooseFDWaveform
(
self
):
a
=
gwutils
.
lalsim_SimInspiralChooseFDWaveform
(
35.2
,
20.4
,
0.1
,
0.2
,
0.2
,
0.2
,
0.2
,
0.1
,
1000
,
2
,
2.3
,
45.
,
0.1
,
10
,
0.01
,
10
,
1000
,
20
,
None
,
69
)
45.
,
0.1
,
10
,
0.01
,
10
,
1000
,
20
,
None
,
lalsim
.
IMRPhenomPv2
)
self
.
assertEqual
(
len
(
a
),
2
)
self
.
assertEqual
(
type
(
a
[
0
]),
lal
.
COMPLEX16FrequencySeries
)
self
.
assertEqual
(
type
(
a
[
1
]),
lal
.
COMPLEX16FrequencySeries
)
...
...
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