def weibull(x, alpha, beta, kappa, delta):
    'Weibull model\n    http://www.pisces-conservation.com/growthhelp/index.html?morgan_mercer_floden.htm\n\n    Parameters\n    ----------\n    x : int\n    alpha : float\n    beta : float\n    kappa : float\n    delta : float\n\n    Returns\n    -------\n    float\n        alpha - (alpha - beta) * np.exp(-(kappa * x)**delta)\n    '
    return (alpha - ((alpha - beta) * np.exp((- ((kappa * x) ** delta)))))
Weibull model
http://www.pisces-conservation.com/growthhelp/index.html?morgan_mercer_floden.htm

Parameters
----------
x : int
alpha : float
beta : float
kappa : float
delta : float

Returns
-------
float
    alpha - (alpha - beta) * np.exp(-(kappa * x)**delta)
def weibull(x, alpha, beta, kappa, delta):
    'Weibull model\n    http://www.pisces-conservation.com/growthhelp/index.html?morgan_mercer_floden.htm\n\n    Parameters\n    ----------\n    x : int\n    alpha : float\n    beta : float\n    kappa : float\n    delta : float\n\n    Returns\n    -------\n    float\n        alpha - (alpha - beta) * np.exp(-(kappa * x)**delta)\n    '
    return (alpha - ((alpha - beta) * np.exp((- ((kappa * x) ** delta)))))