has_linear_odes#

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

Check if model has a linear ODE system

Parameters:

model (Model) – Pharmpy model

Returns:

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

See also

has_odes

has_linear_odes_with_real_eigenvalues

Examples

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