Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bilby_SSB_test
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Rachel Langgin
bilby_SSB_test
Commits
a84ed193
Commit
a84ed193
authored
1 year ago
by
Alexandre Goettel
Committed by
Colm Talbot
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
MAINT: fix typo that printed wrong spin information in gw/source.py
parent
164ca227
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
AUTHORS.md
+1
-0
1 addition, 0 deletions
AUTHORS.md
bilby/gw/source.py
+3
-3
3 additions, 3 deletions
bilby/gw/source.py
with
4 additions
and
3 deletions
AUTHORS.md
+
1
−
0
View file @
a84ed193
...
...
@@ -97,3 +97,4 @@ Marc Penuliar
Andrew Fowlie
Martin White
Peter Tsun-Ho Pang
Alexandre Sebastien Goettel
This diff is collapsed.
Click to expand it.
bilby/gw/source.py
+
3
−
3
View file @
a84ed193
...
...
@@ -205,7 +205,7 @@ def gwsignal_binary_black_hole(frequency_array, mass_1, mass_2, luminosity_dista
]
if
EDOM
:
failed_parameters
=
dict
(
mass_1
=
mass_1
,
mass_2
=
mass_2
,
spin_1
=
(
spin_1x
,
spin_
2
y
,
spin_1z
),
spin_1
=
(
spin_1x
,
spin_
1
y
,
spin_1z
),
spin_2
=
(
spin_2x
,
spin_2y
,
spin_2z
),
luminosity_distance
=
luminosity_distance
,
iota
=
iota
,
phase
=
phase
,
...
...
@@ -614,7 +614,7 @@ def _base_lal_cbc_fd_waveform(
EDOM
=
(
e
.
args
[
0
]
==
'
Internal function call failed: Input domain error
'
)
if
EDOM
:
failed_parameters
=
dict
(
mass_1
=
mass_1
,
mass_2
=
mass_2
,
spin_1
=
(
spin_1x
,
spin_
2
y
,
spin_1z
),
spin_1
=
(
spin_1x
,
spin_
1
y
,
spin_1z
),
spin_2
=
(
spin_2x
,
spin_2y
,
spin_2z
),
luminosity_distance
=
luminosity_distance
,
iota
=
iota
,
phase
=
phase
,
...
...
@@ -1124,7 +1124,7 @@ def _base_waveform_frequency_sequence(
EDOM
=
(
e
.
args
[
0
]
==
'
Internal function call failed: Input domain error
'
)
if
EDOM
:
failed_parameters
=
dict
(
mass_1
=
mass_1
,
mass_2
=
mass_2
,
spin_1
=
(
spin_1x
,
spin_
2
y
,
spin_1z
),
spin_1
=
(
spin_1x
,
spin_
1
y
,
spin_1z
),
spin_2
=
(
spin_2x
,
spin_2y
,
spin_2z
),
luminosity_distance
=
luminosity_distance
,
iota
=
iota
,
phase
=
phase
)
...
...
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