amici.parameter_mapping.ParameterMappingForCondition
- class amici.parameter_mapping.ParameterMappingForCondition(map_sim_var=None, scale_map_sim_var=None, map_preeq_fix=None, scale_map_preeq_fix=None, map_sim_fix=None, scale_map_sim_fix=None)[source]
Parameter mapping for condition.
Contains mappings for free parameters, fixed parameters, and fixed preequilibration parameters, both for parameters and scales.
In the scale mappings, for each simulation parameter the scale on which the value is passed (and potentially gradients are to be returned) is given. In the parameter mappings, for each simulation parameter a corresponding optimization parameter (or a numeric value) is given.
If a mapping is not passed, the parameter mappings are assumed to be empty, and if a scale mapping is not passed, all scales are set to linear.
- Parameters
map_sim_var (
typing.Optional
[typing.Dict
[str
,typing.Union
[str
,numbers.Number
]]]) – Mapping for free simulation parameters.scale_map_sim_var (
typing.Optional
[typing.Dict
[str
,str
]]) – Scales for free simulation parameters.map_preeq_fix (
typing.Optional
[typing.Dict
[str
,typing.Union
[str
,numbers.Number
]]]) – Mapping for fixed preequilibration parameters.scale_map_preeq_fix (
typing.Optional
[typing.Dict
[str
,str
]]) – Scales for fixed preequilibration parameters.map_sim_fix (
typing.Optional
[typing.Dict
[str
,typing.Union
[str
,numbers.Number
]]]) – Mapping for fixed simulation parameters.scale_map_sim_fix (
typing.Optional
[typing.Dict
[str
,str
]]) – Scales for fixed simulation parameters.
- __init__(map_sim_var=None, scale_map_sim_var=None, map_preeq_fix=None, scale_map_preeq_fix=None, map_sim_fix=None, scale_map_sim_fix=None)[source]
Methods Summary
__init__
([map_sim_var, scale_map_sim_var, ...])Attributes
free_symbols
Get IDs of all (symbolic) parameters present in this mapping
Methods