has_zero_order_absorption#

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

Check if ode system describes a zero order absorption

currently defined as having Infusion dose with rate not in dataset

Parameters:

model (Model) – Pharmpy model

Returns:

bool – Whether the model has zero order absorption or not

Examples

>>> from pharmpy.modeling import *
>>> model = load_example_model("pheno")
>>> has_zero_order_absorption(model)
False