_update_parameter_values

_update_parameter_values(parameters: Parameters, simulation_config: SimulationConfig) Parameters[source]

Update parameter values based on the simulation configuration.

This function iterates through all parameters and updates their values based on the provided simulation configuration. It handles shape parameters, rate parameters, and IRF (Instrument Response Function) parameters.

Parameters:
  • parameters (Parameters) – The set of parameters to be updated.

  • simulation_config (SimulationConfig) – The configuration object containing the simulation settings and parameter values.

Returns:

The updated set of parameters with new values based on the simulation configuration.

Return type:

Parameters