is_linearized#
- pharmpy.modeling.is_linearized(model)[source]#
Determine if a model is linearized
- Parameters:
model (Model) – Pharmpy model
- Returns:
bool – True if model has been linearized and False otherwise
Example
>>> from pharmpy.modeling import load_example_model, is_linearized >>> model1 = load_example_model("pheno") >>> is_linearized(model1) False >>> model2 = load_example_model("pheno_linear") >>> is_linearized(model2) True