calculate_eta_gradient_expression#
- pharmpy.modeling.calculate_eta_gradient_expression(model)[source]#
Calculate the symbolic expression for the eta 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_eta_gradient_expression >>> model = load_example_model("pheno_linear") >>> calculate_eta_gradient_expression(model) [D_ETA1, D_ETA2]
See also
calculate_epsilon_gradient_expression
Epsilon gradient