Skip to content

Podde1/A-quantitative-model-for-human-neurovascular-coupling-with-translated-mechanisms-from-animals

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Readme

OBS, the acronym DATASTUDY includes DREW/Uhlirova/Desjardins/Shmuel/Huber data and will be used to avoid repeating descriptions

To execute the code, the following is required

Furthermore, to run the optimization (OptDATASTUDY) the MEIGO toolbox in needed: https://bitbucket.org/jrbanga_/meigo64/src/master/

Before being able to run the code, SetUp.m must be exectuted, to generate the executable model simulation files (this requires the AMICI toolbox) and add needed folders to MATLAB path.

The following scripts are included: SetUp.m - calls GenerateModels.m to generates the executable model files, sets up MATLAB path and add a new folder named "mex and sim files".

GenerateModels.m - is called by SetUp.m and is the file that generates the executable model files and store the executable model files "mex and sim files/".

PlotArticleFigures.m - plots all model estimation figures from the manusscript (Figure 3,5,6,7,S2,S4).

OptDATASTUDY - ESS Optimization sctipt for each data set.

MCMC_DATASTUDY - Rampart algorithm for each data set.

Costfunctions/ - Model evaluation function for Chi2 to every data set.

Datamatrixes/ - Contain files with raw data from each study. Not froamted in the right way to be directly used.

functions/ - functions used by various scripts. Needs to be on path. functions/optsetupfunction - loads best objectivefunction, datastructure, simulation constants, end time for stimulation and parameters for each study by user input [1-Drew, 2-Uhlirova, 3-Desjardins, 4-Shmuel, 5-Huber, 6-DrewTimeVariant].

GenerateData/ - functions that create data field structure (Data) containing the experimental data to each data set/study from the raw data in /Datamatrixes

MCMC/ - functions called during MCMCDATASTUDY is stored here (GenerateUncertaintyDATASTUDY and SimulateDATASTUDYAll). Also, the results from the MCMC run is directed here.

Model files (_syms)/ - includes .m files ending with _syms --> model structure information that is used to build the executable model files.

OptimizedParameters/ - best parameter sets found.

Plotfunctions/ - the script that generates the figures presented in the manusscript is stored here.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published