Basic Queries

Timeseries

Extrema

EasyModelAnalysis.get_min_tFunction
get_min_t(prob, sym)
get_min_t(sol, sym)

Returns (t,min) where t is the timepoint where sym reaches its minimum min in the interval prob.tspan.

source
EasyModelAnalysis.get_max_tFunction
get_max_t(prob, sym)
get_max_t(sol, sym)

Returns (t,max) where t is the timepoint where sym reaches its maximum max in the interval prob.tspan.

source
EasyModelAnalysis.plot_extremaFunction
plot_extrema(prob, sym)

Plots the solution of the observable sym along with showcasing time points where it obtains its maximum and minimum values.

source
EasyModelAnalysis.phaseplot_extremaFunction
phaseplot_extrema(prob, sym, plotsyms)

Plots the phase plot solution of the observable sym along with showcasing time points where it obtains its maximum and minimum values. plotsyms should be given as the tuple of symbols for the observables that define the axis of the phase plot.

source

Forecasting

EasyModelAnalysis.get_uncertainty_forecastFunction
get_uncertainty_forecast(prob, sym, t, uncertainp, samples)

Get the ensemble of time-series of state sym evaluated at times t for solutions with uncertain parameters specified according to the distributions in uncertainp. The distributions are specified in the form [sym1 => dist1, sym2 => dist2] where dist is a Distributions.jl distribution. Samples is the number of trajectories to run.

source
EasyModelAnalysis.get_uncertainty_forecast_quantilesFunction

getuncertaintyforecast_quantiles(prob, sym, t, uncertainp, samples, quants = (0.05, 0.95))

Get the ensemble of time-series of state sym evaluated at times t for solutions with uncertain parameters specified according to the distributions in uncertainp. The distributions are specified in the form [sym1 => dist1, sym2 => dist2] where dist is a Distributions.jl distribution. Samples is the number of trajectories to run.

Returns a tuple of arrays for the quantiles quants which defaults to the 95% confidence intervals.

source