From 7d96b1c9898ec635fd2106c0813084884aa91797 Mon Sep 17 00:00:00 2001 From: rg727 Date: Sat, 26 Feb 2022 16:12:16 +0000 Subject: [PATCH] added static images for the fisheries notebook --- docs/source/A2.1_fishgame.rst | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/docs/source/A2.1_fishgame.rst b/docs/source/A2.1_fishgame.rst index 92be56b..217c194 100644 --- a/docs/source/A2.1_fishgame.rst +++ b/docs/source/A2.1_fishgame.rst @@ -89,6 +89,31 @@ execute each gray (code) box by typing “Shift+Enter”. %matplotlib inline %config InlineBackend.print_figure_kwargs = {'bbox_inches':None} +.. parsed-literal:: + + Downloading example data for msdbook version 0.1.5... + Unzipped: /srv/conda/envs/notebook/lib/python3.7/site-packages/msdbook/data/uncertain_params_bounds.txt + Unzipped: /srv/conda/envs/notebook/lib/python3.7/site-packages/msdbook/data/sa_metric_s1.npy + Unzipped: /srv/conda/envs/notebook/lib/python3.7/site-packages/msdbook/data/sa_vary_delta.npy + Unzipped: /srv/conda/envs/notebook/lib/python3.7/site-packages/msdbook/data/sa_by_mth_s1.npy + Unzipped: /srv/conda/envs/notebook/lib/python3.7/site-packages/msdbook/data/solutions.resultfile + Unzipped: /srv/conda/envs/notebook/lib/python3.7/site-packages/msdbook/data/3704614_heatmap.npy + Unzipped: /srv/conda/envs/notebook/lib/python3.7/site-packages/msdbook/data/LHsamples_original_1000.txt + Unzipped: /srv/conda/envs/notebook/lib/python3.7/site-packages/msdbook/data/3704614_pseudo_r_scores.csv + Unzipped: /srv/conda/envs/notebook/lib/python3.7/site-packages/msdbook/data/param_values.csv + Unzipped: /srv/conda/envs/notebook/lib/python3.7/site-packages/msdbook/data/sa_by_yr_s1.npy + Unzipped: /srv/conda/envs/notebook/lib/python3.7/site-packages/msdbook/data/sa_by_mth_delta.npy + Unzipped: /srv/conda/envs/notebook/lib/python3.7/site-packages/msdbook/data/7000550_pseudo_r_scores.csv + Unzipped: /srv/conda/envs/notebook/lib/python3.7/site-packages/msdbook/data/collapse_days.csv + Unzipped: /srv/conda/envs/notebook/lib/python3.7/site-packages/msdbook/data/hymod_params_256samples.npy + Unzipped: /srv/conda/envs/notebook/lib/python3.7/site-packages/msdbook/data/sa_vary_s1.npy + Unzipped: /srv/conda/envs/notebook/lib/python3.7/site-packages/msdbook/data/7000550_heatmap.npy + Unzipped: /srv/conda/envs/notebook/lib/python3.7/site-packages/msdbook/data/7200799_heatmap.npy + Unzipped: /srv/conda/envs/notebook/lib/python3.7/site-packages/msdbook/data/sa_by_yr_delta.npy + Unzipped: /srv/conda/envs/notebook/lib/python3.7/site-packages/msdbook/data/7200799_pseudo_r_scores.csv + Unzipped: /srv/conda/envs/notebook/lib/python3.7/site-packages/msdbook/data/LeafCatch.csv + Unzipped: /srv/conda/envs/notebook/lib/python3.7/site-packages/msdbook/data/hymod_simulations_256samples.csv + Unzipped: /srv/conda/envs/notebook/lib/python3.7/site-packages/msdbook/data/Robustness.txt Step 1: Load identified solutions and explore performance --------------------------------------------------------- @@ -129,6 +154,9 @@ performance in a parallel axis plot ax, ax1 = msdbook.plot_objective_performance(objective_performance, profit_solution, robust_solution) +.. image:: _static/fishery_output_6_0.png + + The solution set from the optimization in Hadjimichael et al. (2020) are presented in a parallel axis plot where each of the five objectives (and one constraint) are represented as an axis. Each solution on the Pareto @@ -266,6 +294,8 @@ significantly misjudged. These findings are supported by the analytical condition of equilibrium stability in this system: +.. image:: _static/eqn4.png + In an unharvested system, this condition is both necessary and sufficient for the equilibrium of the two species coexisting to be stable. @@ -318,6 +348,9 @@ We first define the stability condition, as a function of :math:`b` and # generate plot ax1, ax2 = msdbook.plot_factor_performance(param_values, collapse_days, b, m, a) + +.. image:: _static/fishery_output_22_0.png + These figures show the combinations of factors that lead to success or failure in different states of the world for the profit-maximizing and