Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
cody2 authored May 15, 2023
1 parent 3884490 commit 8c4cc64
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
10 changes: 8 additions & 2 deletions N803_collector_2.m
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
% collector.m - collects outputs from model calibration and UQ
% N803_collector_2.m - collects outputs from model calibration and UQ
addpath Data

% This script will load the MCMC parameter samples or MSLS parameter sets,
% solve the ODE model, and store the results.

% To replicate the main text ONLY, first run 'main_shared_2_calibration.m'.
% Then edit this file per instructions on line 171.

%% ========================================================================
% INPUTS
% ========================================================================
Expand Down Expand Up @@ -165,8 +168,11 @@

disp('Collecting...') ;

% To replicate main text results only, replace n = 1:24 on line 175 with
% n = [ 1,2,19:24 ]

% For each model...
for n = 22:24
for n = 1:24

disp(C(n).Scenario) ;

Expand Down
7 changes: 7 additions & 0 deletions N803_plotter_2.m
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
% This script will generate all figure panels using the model outputs saved
% by 'collector.m' and using custom plotting function 'gridplot.m'.

% To replicate the main text ONLY, first run 'main_shared_2_calibration.m'.
% Then run 'N803_collector_2' per instructions on line 7 of that file.
% Then edit this file per instructions on line 28.

%% ========================================================================
% BODY
% ========================================================================
Expand All @@ -21,6 +25,9 @@
Color([6,18:26 ]) = { [ 0 1 2 ]/2.4 } ;
Color([3,4,7:16]) = { [ 1 1 1 ]/5 } ;

% To produce main text figures, replace Fig = 3:.5:22 on line 33 with ...
% Fig = 3:.5:11

% Loop through 'Fig' and create each figure
% NOTE: 'for' indent is removed
for Fig = 3:.5:22
Expand Down

0 comments on commit 8c4cc64

Please sign in to comment.