samsam.logprior.moduniform#

samsam.logprior.moduniform(x, y, a=0.0, b=1.0)#

Uniform distribution for the module \(\sqrt{x^2+y^2}\) over an interval \([a,b[\).

Parameters:
xfloat

Value of the abscissa.

yfloat

Value of the ordinate.

afloat

Interval lower bound.

bfloat

Interval upper bound.

Returns:
lpfloat

Log-probability of x.