get_pd_parameters#

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

Retrieves PD parameters in pharmpy.model.Model.

Parameters:

model (Model) – Pharmpy model to retrieve the PD parameters from

Returns:

list[str] – A list of the PD parameter names of the given model

Example

>>> from pharmpy.modeling import *
>>> model = load_example_model("pheno")
>>> model = set_direct_effect(model, "linear")
>>> get_pd_parameters(model)
['B', 'SLOPE']