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
f04ab987
There was a problem fetching the pipeline summary.
Commit
f04ab987
authored
6 years ago
by
Colm Talbot
Browse files
Options
Downloads
Patches
Plain Diff
add max/min to trgionometric priors
parent
0e91a7ca
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tupak/prior.py
+4
-0
4 additions, 0 deletions
tupak/prior.py
with
4 additions
and
0 deletions
tupak/prior.py
+
4
−
0
View file @
f04ab987
...
@@ -180,6 +180,8 @@ class Cosine(Prior):
...
@@ -180,6 +180,8 @@ class Cosine(Prior):
def
__init__
(
self
,
name
=
None
,
latex_label
=
None
):
def
__init__
(
self
,
name
=
None
,
latex_label
=
None
):
Prior
.
__init__
(
self
,
name
,
latex_label
)
Prior
.
__init__
(
self
,
name
,
latex_label
)
self
.
minimum
=
-
np
.
pi
/
2
self
.
maximum
=
np
.
pi
/
2
def
rescale
(
self
,
val
):
def
rescale
(
self
,
val
):
"""
"""
...
@@ -203,6 +205,8 @@ class Sine(Prior):
...
@@ -203,6 +205,8 @@ class Sine(Prior):
def
__init__
(
self
,
name
=
None
,
latex_label
=
None
):
def
__init__
(
self
,
name
=
None
,
latex_label
=
None
):
Prior
.
__init__
(
self
,
name
,
latex_label
)
Prior
.
__init__
(
self
,
name
,
latex_label
)
self
.
minimum
=
0
self
.
maximum
=
np
.
pi
def
rescale
(
self
,
val
):
def
rescale
(
self
,
val
):
"""
"""
...
...
This diff is collapsed.
Click to expand it.
Colm Talbot
@colm.talbot
mentioned in commit
6b6bea88
·
6 years ago
mentioned in commit
6b6bea88
mentioned in commit 6b6bea88efc4fc3aa37bd36a3e06b0b31baaa199
Toggle commit list
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