Commit 04fe6428 authored by Theo Steininger's avatar Theo Steininger
Browse files

Added flat_prior.py for pymultinest.

parent 80d66566
# -*- coding: utf-8 -*-
from prior import Prior
from flat_prior import FlatPrior
# -*- coding: utf-8 -*-
from flat_prior import FlatPrior
# -*- coding: utf-8 -*-
from imagine.priors.prior import Prior
class FlatPrior(Prior):
def __call__(self, cube, ndim, nparams):
return cube
# -*- coding: utf-8 -*-
from prior import Prior
......@@ -7,5 +7,5 @@ from keepers import Loggable
class Prior(Loggable, object):
@abc.abstractmethod
def __call__(self, parameters):
def __call__(self, cube, ndim, nparams):
raise NotImplemented
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment