get_model_code#
- pharmpy.modeling.get_model_code(model)[source]#
Get the model code of the underlying model language
- Parameters:
model (Model) – Pharmpy model
- Returns:
str – Model code
Examples
>>> from pharmpy.modeling import get_model_code, load_example_model >>> model = load_example_model("pheno") >>> get_model_code(model)