-
Notifications
You must be signed in to change notification settings - Fork 28
What are the most important functions in d2d?
Summary of the most frequently used methods, functions and configuration options. For full description of the available functionality as well as for further configuration options, we refer to the comments in the matlab functions (e.g. help arPrint
) as well to the configuration struct ar.config
.
The parameter values are stored in ar.p
and their labels in ar.pLabel
. Calling arPrint
gives a summary. arSetPars
can be used to change parameter values, set linear or logarithmic scale and define if a parameter should be fitted or not. arSetParsPattern
does the same for a group of parameters with a name pattern.
If the steady state cannot be calculated pre-equillibration can be done using arSteadyState
.
In case of a simulation study arSimuData
can be used.
arPlot
and arPlot2
give the current data together with the best fit. The waterfall plot after a multi start fit can be shown with arPlotChi2s
. Using arPlotter
different plot options are available using a graphical interface. The fluxes can be found there by plotting v, the dynamics of the states by plotting x and y gives the observables. arPlotMulti
gives the fit results for different parameter sets in one plot and can be used after a multi start.
A general, first fit can be started with arFit
, arFitLHS(number of fits)
does a multi start. There clicking stop fits will finish the current fit and stop the procedure afterwards, so the current results are not lost. Using arMergeFits
different fits and multi starts can be merged, e.g. after calculating on a cluster. Lower and upper bounds for parameters can be set in ar.ub
and ar.lb
. Numerical issues can usually be addressed by changing integrator settings in ar.config
, this sometimes is a trial and error procedure.
After a best fit is found, the calculation of profiles has to be initialized with arPLEInit
. Calling ple
calculates profiles for all fitted parameters, plePlot
shows each profile in a single plot and the parameter dependencies underneath, plePlotMulti
gives all profiles in one plot. If the calculation of the profile broke up too early pleExtend
can be called for that parameter to extend the profile to one or both sides.
arSave
save the current fits, the settings and the parameter values, thus the whole workspace. This can be loaded again by using arLoad
. arLoadPars
Loads the parameters and parameter settings from a file, but matches this to the currently loaded model by parameter names.
- Installation and system requirements
- Setting up models
- First steps
- Advanced events and pre-equilibration
- Computation of integration-based prediction bands
- How is the architecture of the code and the most important commands?
- What are the most important fields of the global variable ar?
- What are the most important functions?
- Optimization algorithms available in the d2d-framework
- Objective function, likelhood and chi-square in the d2d framework
- How to set up priors?
- How to set up steady state constraints?
- How do I restart the solver upon a step input?
- How to deal with integrator tolerances?
- How to implement a bolus injection?
- How to implement washing and an injection?
- How to implement a moment ODE model?
- How to run PLE calculations on a Cluster?