has_linear_odes_with_real_eigenvalues#

pharmpy.modeling.has_linear_odes_with_real_eigenvalues(model)[source]#

Check if model has a linear ode system with real eigenvalues

Parameters:

model (Model) – Pharmpy model

Returns:

bool – True if model has an ODE system that is linear

See also

has_odes

has_linear_odes

Examples

>>> from pharmpy.modeling import has_linear_odes_with_real_eigenvalues, load_example_model
>>> model = load_example_model("pheno")
>>> has_linear_odes_with_real_eigenvalues(model)
True