function outvalue =partransform_unbounded(par)
% function outvalue =partransform_unbounded(par)
% transforms parameters with bounded support into parameters with unbounded
% support by using either exp() or logistic transformation;

% for parameters with support [LB Inf): log(x-LB)
% for parameters with support [LB UB]: log((UB-x)./(x-LB));
%
% written by Johannes Pfeifer and Benjamin Born

outvalue(1,1)   = log((1-par(1))./par(1));

outvalue(2,1)   = log((1-par(2))./par(2));
outvalue(3,1)   = log((1-par(3))./par(3));


outvalue(4,1)   = log((1-par(4))./par(4));

outvalue(5,1)   = log((1-par(5))./par(5));



outvalue(6,1)   = log(par(6)-1.5);
outvalue(7,1)  = log(par(7));


