mrpy.fitting.fit_sample.normal_prior¶
-
mrpy.fitting.fit_sample.
normal_prior
(p, mean, sd)¶ A normal prior on each parameter.
Parameters: p : list
Values of the parameters
mean : list
Values of the prior mean
sd : list
Values of the prior standard deviations. Set to inf if uniform prior required on a single parameter.
Returns: ll :
The likelihood of the parameters given the priors
jac :
The jacobian of the likelihood.