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
23b1bd3a
Commit
23b1bd3a
authored
6 years ago
by
Gregory Ashton
Browse files
Options
Downloads
Patches
Plain Diff
Fix flake8 issues
parent
c53ea398
No related branches found
No related tags found
1 merge request
!266
Encapsulate the lalsimulation function calls
Pipeline
#37428
passed
6 years ago
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
bilby/gw/conversion.py
+0
-1
0 additions, 1 deletion
bilby/gw/conversion.py
bilby/gw/source.py
+6
-0
6 additions, 0 deletions
bilby/gw/source.py
with
6 additions
and
1 deletion
bilby/gw/conversion.py
+
0
−
1
View file @
23b1bd3a
...
...
@@ -619,7 +619,6 @@ def _generate_all_cbc_parameters(sample, defaults, base_conversion,
output_sample
=
generate_mass_parameters
(
output_sample
)
output_sample
=
generate_spin_parameters
(
output_sample
)
output_sample
=
generate_source_frame_parameters
(
output_sample
)
import
IPython
;
IPython
.
embed
()
compute_snrs
(
output_sample
,
likelihood
)
return
output_sample
...
...
This diff is collapsed.
Click to expand it.
bilby/gw/source.py
+
6
−
0
View file @
23b1bd3a
...
...
@@ -10,6 +10,12 @@ from .utils import (lalsim_SimInspiralTransformPrecessingNewInitialConditions,
lalsim_SimInspiralWaveformParamsInsertTidalLambda1
,
lalsim_SimInspiralWaveformParamsInsertTidalLambda2
)
try
:
import
lal
except
ImportError
:
logger
.
warning
(
"
You do not have lalsuite installed currently. You will
"
"
not be able to use some of the prebuilt functions.
"
)
def
lal_binary_black_hole
(
frequency_array
,
mass_1
,
mass_2
,
luminosity_distance
,
a_1
,
tilt_1
,
phi_12
,
a_2
,
tilt_2
,
phi_jl
,
...
...
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