calculate_ucp_scale#

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

Calculate a scale for unconstrained parameters for a model

The UCPScale object can be used to calculate unconstrained parameters back into the normal parameter space.

Parameters:

model (Model) – Model for which to calculate an ucp scale

Returns:

UCPScale – A scale object

See also

calculate_parameters_from_ucp

Calculate parameters from ucp:s

Example

>>> from pharmpy.modeling import *
>>> model = load_example_model("pheno")
>>> scale = calculate_ucp_scale(model)