VariabilityHierarchy#

class pharmpy.model.VariabilityHierarchy(levels=())[source]#

Bases: Immutable

Description of a variability hierarchy

Attributes Summary

levels

Dictionary of variability level name to numerical level

names

Names of all variability levels

Methods Summary

create([levels])

from_dict(d)

replace(**kwargs)

Replace properties and create a new VariabilityHierarchy object

to_dict()

Attributes Documentation

levels#

Dictionary of variability level name to numerical level

names#

Names of all variability levels

Methods Documentation

classmethod create(levels=None)[source]#
classmethod from_dict(d)[source]#
replace(**kwargs)[source]#

Replace properties and create a new VariabilityHierarchy object

to_dict()[source]#