parent
b5cbc397a6
commit
1839529288
|
@ -28,6 +28,7 @@ classdef dprior < handle
|
|||
p11 = []; % Prior median
|
||||
lb = []; % Truncated prior lower bound.
|
||||
ub = []; % Truncated prior upper bound.
|
||||
name = {}; % Name of the parameter
|
||||
iduniform = []; % Index for the uniform priors.
|
||||
idgaussian = []; % Index for the gaussian priors.
|
||||
idgamma = []; % Index for the gamma priors.
|
||||
|
@ -87,6 +88,9 @@ classdef dprior < handle
|
|||
if isfield(BayesInfo, 'p11')
|
||||
o.p11 = BayesInfo.p11;
|
||||
end
|
||||
if isfield(BayesInfo, 'name')
|
||||
o.name = BayesInfo.name;
|
||||
end
|
||||
bounds = prior_bounds(BayesInfo, PriorTrunc);
|
||||
o.lb = bounds.lb;
|
||||
o.ub = bounds.ub;
|
||||
|
|
Loading…
Reference in New Issue