amici.parameter_mapping.ParameterMapping¶
-
class
amici.parameter_mapping.
ParameterMapping
(parameter_mappings=None)[source]¶ Parameter mapping for multiple conditions.
This can be used like a list of
ParameterMappingForCondition
s.- Parameters
parameter_mappings (
typing.Optional
[typing.List
[amici.parameter_mapping.ParameterMappingForCondition
]]) – List of parameter mappings for specific conditions.
-
__init__
(parameter_mappings=None)[source] Initialize self. See help(type(self)) for accurate signature.
Methods Summary
__init__
([parameter_mappings])Initialize self.
append
(parameter_mapping_for_condition)Append a condition specific parameter mapping.
count
(value)index
(value, [start, [stop]])Raises ValueError if the value is not present.
Methods
-
__init__
(parameter_mappings=None)[source]¶ Initialize self. See help(type(self)) for accurate signature.
-
count
(value) → integer – return number of occurrences of value¶
-
index
(value[, start[, stop]]) → integer – return first index of value.¶ Raises ValueError if the value is not present.
Supporting start and stop arguments is optional, but recommended.