charge_quantity_CE.__init__

charge_quantity_CE.__init__(id_elec=None, dt_res=0.0001)[source]

Initialize a cost evaluator proportional to injected charge.

Parameters:
  • id_elec (int | list[int] | None, optional) – Electrode identifiers included in the charge computation.

  • dt_res (float, optional) – Temporal resolution used for resampling before integration.