예제 #1
0
def Rayleigh(scale=1, shift=0):
    """
Rayleigh distribution

Parameters
----------
scale :  float, Dist
    Scaling parameter
shift :  float, Dist
    Location parameter
    """
    dist = co.chi(2)*scale + shift
    dist.addattr(str="Rayleigh(%s,%s)"%(scale, shift))
    return dist
예제 #2
0
def Rayleigh(scale=1, shift=0):
    """
Rayleigh distribution

Parameters
----------
scale :  float, Dist
    Scaling parameter
shift :  float, Dist
    Location parameter
    """
    dist = co.chi(2) * scale + shift
    dist.addattr(str="Rayleigh(%s,%s)" % (scale, shift))
    return dist
예제 #3
0
def Maxwell(scale=1, shift=0):
    """
Maxwell-Boltzmann distribution
Chi distribution with 3 degrees of freedom

Parameters
----------
scale :  float, Dist
    Scaling parameter
shift :  float, Dist
    Location parameter
    """
    dist = co.chi(3)*scale + shift
    dist.addattr(str="Maxwell(%s,%s)"%(scale, shift))
    return dist
예제 #4
0
def Maxwell(scale=1, shift=0):
    """
Maxwell-Boltzmann distribution
Chi distribution with 3 degrees of freedom

Parameters
----------
scale :  float, Dist
    Scaling parameter
shift :  float, Dist
    Location parameter
    """
    dist = co.chi(3) * scale + shift
    dist.addattr(str="Maxwell(%s,%s)" % (scale, shift))
    return dist
예제 #5
0
def Chi(df=1, scale=1, shift=0):
    """
Chi distribution

Parameters
----------
df :  float, Dist
    Degrees of freedom
scale :  float, Dist
    Scaling parameter
shift :  float, Dist
    Location parameter
    """
    dist = co.chi(df)*scale + shift
    dist.addattr(str="Chi(%s,%s,%s)"%(df, scale, shift))
    return dist
예제 #6
0
def Chi(df=1, scale=1, shift=0):
    """
Chi distribution

Parameters
----------
df :  float, Dist
    Degrees of freedom
scale :  float, Dist
    Scaling parameter
shift :  float, Dist
    Location parameter
    """
    dist = co.chi(df) * scale + shift
    dist.addattr(str="Chi(%s,%s,%s)" % (df, scale, shift))
    return dist