Skip to content
Snippets Groups Projects
Commit f04ab987 authored by Colm Talbot's avatar Colm Talbot
Browse files

add max/min to trgionometric priors

parent 0e91a7ca
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -180,6 +180,8 @@ class Cosine(Prior):
def __init__(self, name=None, latex_label=None):
Prior.__init__(self, name, latex_label)
self.minimum = - np.pi / 2
self.maximum = np.pi / 2
def rescale(self, val):
"""
......@@ -203,6 +205,8 @@ class Sine(Prior):
def __init__(self, name=None, latex_label=None):
Prior.__init__(self, name, latex_label)
self.minimum = 0
self.maximum = np.pi
def rescale(self, val):
"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment