Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return period method #94

Open
MAfarrag opened this issue Aug 17, 2024 · 0 comments
Open

Return period method #94

MAfarrag opened this issue Aug 17, 2024 · 0 comments

Comments

@MAfarrag
Copy link
Member

Is your feature request related to a problem? Please describe.
create a return period method for each distribution using the sf method in the scipy distributions, rather than the method i implemented with my own calculations.

return_period = 1 / genextreme.sf(700, shape, loc=loc, scale=scale)
print(f"Return Period for flow of 700 units: {return_period} years")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant