Skip to content

Chrono Potentiometry

This page documents the Chrono Potentiometry (CP) method.

pypalmsens.ChronoPotentiometry

Create potentiometry method parameters.

Chronopotentiometry (CP) is an electrochemical technique that requires a galvanostat instead of a potentiostat. In this method, a constant current is applied, and the resulting potential (voltage) is continuously recorded over time in a definite time interval. This technique is particularly useful for studying electrochemical reactions, kinetics, and processes under non-steady-state conditions, offering valuable insights into how the electrode potential evolves in response to the applied current.

Methods:

  • to_dict

    Return the technique instance as a new key/value dictionary mapping.

  • from_dict

    Structure technique instance from dict.

  • from_method_id

    Create new instance of appropriate technique from method ID.

Attributes:

general class-attribute instance-attribute

general: General = Field(default_factory=General)

Sets general/other settings.

multiplexer class-attribute instance-attribute

multiplexer: Multiplexer = Field(default_factory=Multiplexer)

Set the multiplexer settings.

data_processing class-attribute instance-attribute

data_processing: DataProcessing = Field(default_factory=DataProcessing)

Set the data processing settings.

measurement_triggers class-attribute instance-attribute

measurement_triggers: MeasurementTriggers = Field(default_factory=MeasurementTriggers)

Set the trigger at measurement settings.

potential_limits class-attribute instance-attribute

potential_limits: PotentialLimits = Field(default_factory=PotentialLimits)

Set the potential limit settings.

post_measurement class-attribute instance-attribute

post_measurement: PostMeasurement = Field(default_factory=PostMeasurement)

Set the post measurement settings.

pretreatment class-attribute instance-attribute

pretreatment: Pretreatment = Field(default_factory=Pretreatment)

Set the pretreatment settings.

potential_range class-attribute instance-attribute

potential_range: PotentialRange = Field(default_factory=PotentialRange)

Set the autoranging potential.

current_range class-attribute instance-attribute

current_range: CurrentRange = Field(default_factory=CurrentRange)

Set the autoranging current.

id class-attribute instance-attribute

id: Literal['pot'] = 'pot'

Unique method identifier.

current class-attribute instance-attribute

current: float = 0.0

The current to apply in the given current range.

Note that this value acts as a multiplier in the applied_current_range.

So if 10 uA is the applied_current_range and 1.5 is given as current value, the applied current will be 15 uA.

applied_current_range class-attribute instance-attribute

applied_current_range: AllowedCurrentRanges = '100mA'

Applied current range.

See pypalmsens.settings.AllowedCurrentRanges for options.

interval_time class-attribute instance-attribute

interval_time: float = 0.1

Time between two potential samples in s.

run_time class-attribute instance-attribute

run_time: float = 1.0

Total run time of the measurement in s.

record_auxiliary_input class-attribute instance-attribute

record_auxiliary_input: bool = False

Record auxiliary input.

record_cell_potential class-attribute instance-attribute

record_cell_potential: bool = False

Record cell potential.

Counter electrode vs ground.

record_we_current class-attribute instance-attribute

record_we_current: bool = False

Record working electrode current.

to_dict

to_dict() -> dict[str, Any]

Return the technique instance as a new key/value dictionary mapping.

Source code in src/pypalmsens/_methods/base.py
30
31
32
def to_dict(self) -> dict[str, Any]:
    """Return the technique instance as a new key/value dictionary mapping."""
    return self.model_dump()

from_dict classmethod

from_dict(obj: dict[str, Any]) -> BaseTechnique

Structure technique instance from dict.

Opposite of .to_dict()

Source code in src/pypalmsens/_methods/base.py
34
35
36
37
38
39
@classmethod
def from_dict(cls, obj: dict[str, Any]) -> BaseTechnique:
    """Structure technique instance from dict.

    Opposite of `.to_dict()`"""
    return cls.model_validate(obj)

from_method_id classmethod

from_method_id(id: str) -> BaseTechnique

Create new instance of appropriate technique from method ID.

Source code in src/pypalmsens/_methods/base.py
41
42
43
44
45
@classmethod
def from_method_id(cls, id: str) -> BaseTechnique:
    """Create new instance of appropriate technique from method ID."""
    new = cls._registry[id]
    return new()