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
de38d30c
Commit
de38d30c
authored
5 years ago
by
Moritz
Browse files
Options
Downloads
Patches
Plain Diff
renamed an internal function parameter
parent
6201534e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!332
Resolve "Introduce conditional prior sets"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bilby/gw/prior.py
+2
-2
2 additions, 2 deletions
bilby/gw/prior.py
with
2 additions
and
2 deletions
bilby/gw/prior.py
+
2
−
2
View file @
de38d30c
...
...
@@ -634,8 +634,8 @@ class CalibrationPriorDict(PriorDict):
class
ConditionalSecondaryMassPrior
(
ConditionalUniform
):
def
__init__
(
self
,
name
=
None
,
latex_label
=
None
,
unit
=
None
,
minimum
=
0
,
maximum
=
np
.
inf
):
def
cf
(
extrema_dict
,
mass_1
):
return
extrema_dict
[
'
minimum
'
],
mass_1
def
cf
(
reference_parameters
,
mass_1
):
return
reference_parameters
[
'
minimum
'
],
mass_1
super
(
ConditionalSecondaryMassPrior
,
self
).
__init__
(
minimum
=
minimum
,
maximum
=
maximum
,
name
=
name
,
latex_label
=
latex_label
,
unit
=
unit
,
condition_func
=
cf
)
...
...
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