emod_api.demographics.PreDefinedDistributions module¶
-
class
emod_api.demographics.PreDefinedDistributions.
ConstantDistribution
(distribution)¶ Bases:
object
Wrapping this class around a Distributions disables __setattr__ and makes the wrapped objects constant.
-
to_dict
()¶ Calls the to_dict() method of the wrapped distribution.
-
copy
()¶ Creates a deepcopy of the wrapped Distribution object.
-