Skip to content
Snippets Groups Projects
Commit 5253ba86 authored by Moritz Huebner's avatar Moritz Huebner Committed by Gregory Ashton
Browse files

Fix gaussian example

parent 0b4b35b9
No related branches found
No related tags found
No related merge requests found
......@@ -31,9 +31,9 @@ class SimpleGaussianLikelihood(bilby.Likelihood):
data: array_like
The data to analyse
"""
bilby.Likelihood.__init__(parameters={'mu': None, 'sigma': None})
self.data = data
self.N = len(data)
self.parameters = {'mu': None, 'sigma': None}
def log_likelihood(self):
mu = self.parameters['mu']
......
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