has_first_order_absorption#

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

Check if ode system describes a first order absorption

Currently defined as the central compartment having a unidirectional input flow from another compartment (such as depot or transit)

Parameters:

model (Model) – Pharmpy model

Returns:

Bool (True if model has first order absorption)