calculate_epsilon_gradient_expression#

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

Calculate the symbolic expression for the epsilon gradient

This function currently only support models without ODE systems

Parameters:

model (Model) – Pharmpy model object

Returns:

Expression – Symbolic expression

Examples

>>> from pharmpy.modeling import load_example_model, calculate_epsilon_gradient_expression
>>> model = load_example_model("pheno_linear")
>>> calculate_epsilon_gradient_expression(model)
[D_EPS1 + D_EPSETA1_1*(ETA_1 - OETA1) + D_EPSETA1_2*(ETA_2 - OETA2)]

See also

calculate_eta_gradient_expression

Eta gradient