Skip to content
Snippets Groups Projects

Add PyMC3 sampler

Merged Matthew David Pitkin requested to merge matthew-pitkin/bilby:pymc3 into master
Compare and Show latest version
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
+ 2
2
@@ -800,7 +800,7 @@ class Sine(Prior):
class Gaussian(Prior):
def __init__(self, mu, sigma, name=None, latex_label=None):
def __init__(self, mu, sigma, name=None, latex_label=None, use_pymc3=False):
"""Gaussian prior with mean mu and width sigma
Parameters
@@ -818,7 +818,7 @@ class Gaussian(Prior):
latex_label: str
See superclass
"""
Prior.__init__(self, name, latex_label)
Prior.__init__(self, name, latex_label, use_pymc3=use_pymc3)
self.mu = mu
self.sigma = sigma
Loading