TrialDesign#

class pharmpy.model.TrialDesign[source]#

Bases: Sequence, Immutable

Attributes Summary

arms

The arms

independent_variable

Independent variable for the entire trial

is_empty

Methods Summary

create(arms, independent_variable)

from_dict(d)

replace([arms, independent_variable])

replace_arm(arm)

Replace an Arm with an existing name

to_dict()

Attributes Documentation

arms#

The arms

independent_variable#

Independent variable for the entire trial

is_empty#

Methods Documentation

classmethod create(arms, independent_variable)[source]#
classmethod from_dict(d)[source]#
replace(arms=None, independent_variable=None)[source]#
replace_arm(arm)[source]#

Replace an Arm with an existing name

Parameters:

arm (Arm) – New Arm

Returns:

TrialDesign – Updated TrialDesign

to_dict()[source]#