Skip to content
Snippets Groups Projects
Commit fba3f446 authored by Gregory Ashton's avatar Gregory Ashton
Browse files

Add comment on confusing part of gaussian like

parent f4fb22f1
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -73,6 +73,8 @@ class GaussianLikelihood(tupak.Likelihood):
self.sigma = sigma
self.N = len(x)
self.function = function
# These lines of code infer the parameters from the provided function
parameters = inspect.getargspec(function).args
parameters.pop(0)
self.parameters = dict.fromkeys(parameters)
......
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