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
a6366df8
Commit
a6366df8
authored
2 years ago
by
Aditya Vijaykumar
Browse files
Options
Downloads
Patches
Plain Diff
resolve pre-commits
parent
b59a7fb3
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!1105
Relative Binning in bilby
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
bilby/gw/detector/interferometer.py
+1
-1
1 addition, 1 deletion
bilby/gw/detector/interferometer.py
bilby/gw/likelihood/relbin.py
+2
-2
2 additions, 2 deletions
bilby/gw/likelihood/relbin.py
with
3 additions
and
3 deletions
bilby/gw/detector/interferometer.py
+
1
−
1
View file @
a6366df8
...
...
@@ -355,7 +355,7 @@ class Interferometer(object):
time_shift
=
self
.
time_delay_from_geocenter
(
parameters
[
'
ra
'
],
parameters
[
'
dec
'
],
parameters
[
'
geocent_time
'
])
# Be careful to first sub
s
tract the two GPS times which are ~1e9 sec.
# Be careful to first subtract the two GPS times which are ~1e9 sec.
# And then add the time_shift which varies at ~1e-5 sec
dt_geocent
=
parameters
[
'
geocent_time
'
]
-
self
.
strain_data
.
start_time
dt
=
dt_geocent
+
time_shift
...
...
This diff is collapsed.
Click to expand it.
bilby/gw/likelihood/relbin.py
+
2
−
2
View file @
a6366df8
...
...
@@ -442,7 +442,7 @@ class RelativeBinningGravitationalWaveTransient(GravitationalWaveTransient):
Generate a single sample from the posterior distribution for coalescence
time when using a likelihood which explicitly marginalises over time.
In order to resolve the posterior we artifically upsample to 16kHz.
In order to resolve the posterior we artific
i
ally upsample to 16kHz.
See Eq. (C29-C32) of https://arxiv.org/abs/1809.02293
...
...
@@ -610,7 +610,7 @@ class RelativeBinningGravitationalWaveTransient(GravitationalWaveTransient):
Notes
-----
This is only valid when assumes that mu(phi)
\
propto exp(-2i phi).
This is only valid when assumes that mu(phi) propto exp(-2i phi).
"""
self
.
parameters
.
update
(
self
.
get_sky_frame_parameters
())
if
waveform_ratio
is
None
:
...
...
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