Skip to content

Commit

Permalink
added static images for the fisheries notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
rg727 committed Feb 26, 2022
1 parent f410822 commit 7d96b1c
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions docs/source/A2.1_fishgame.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
---------------------------------------------------------
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 7d96b1c

Please sign in to comment.