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

Add get_return_period and get_return_level #65

Merged
merged 1 commit into from
Jun 21, 2024

Commits on Jun 21, 2024

  1. Add get_return_period and get_return_level

    Rename `return_period` => `get_return_period` (useful variable name). `get_return_period` and `get_return_level` work for muti-dim data and for stationionary or nonstationary GEV parameters. The latter will just have an extra dimension that depends on a covariate. Also add corresponding unit tests.
    
    Add `unpack_gev_params`, which is pretty much `shape, loc, scale = params` but works if params has other dimensions or is nonstationary (returns shape, loc, scale as a function of a covariate).
    stellema committed Jun 21, 2024
    Configuration menu
    Copy the full SHA
    83e6637 View commit details
    Browse the repository at this point in the history