Is your feature request related to a problem? Please describe.
- the below function calculates parameter of the Weibul distribution based on the lmoments.
def weibull(lmoments):
if len(lmoments) < 3:
print("Insufficient L-Moments: Need 3")
return
if lmoments[1] <= 0 or lmoments[2] >= 1 or lmoments[2] <= -lmoments.lmrgum([0, 1], 3)[2]:
print(LMOMENTS_INVALID_ERROR)
return
pg = Lmoments.GEV([-lmoments[0], lmoments[1], -lmoments[2]])
delta = 1 / pg[2]
beta = pg[1] / pg[2]
out = [-pg[0] - beta, beta, delta]
return (out)
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
Is your feature request related to a problem? Please describe.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.