Skip to content

Chrono Coulometry

This page documents the Chrono Coulometry (CC) method.

pypalmsens.ChronoCoulometry

Create chrono coulometry method parameters.

Chronoamperometry (CA) and Chronocoulometry (CC) have the same potential waveform but in CC, the charge is monitored as a function of time (instead of the current). The charge is determined by integrating the 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.

data_processing class-attribute instance-attribute

data_processing: DataProcessing = Field(default_factory=DataProcessing)

Set the data processing settings.

charge_limits class-attribute instance-attribute

charge_limits: ChargeLimits = Field(default_factory=ChargeLimits)

Set the charge limit settings.

current_limits class-attribute instance-attribute

current_limits: CurrentLimits = Field(default_factory=CurrentLimits)

Set the current 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.

current_range class-attribute instance-attribute

current_range: CurrentRange = Field(default_factory=CurrentRange)

Set the autoranging current.

id class-attribute instance-attribute

id: Literal['cc'] = 'cc'

Unique method identifier.

equilibration_time class-attribute instance-attribute

equilibration_time: float = 0.0

Equilibration time in s.

interval_time class-attribute instance-attribute

interval_time: float = 0.1

The time between two samples in s.

step1_potential class-attribute instance-attribute

step1_potential: float = 0.5

Potential applied during first step in V.

step1_run_time class-attribute instance-attribute

step1_run_time: float = 5.0

Run time for the first step.

The minimum and maximum duration of a measurement: 5 * interval_time to 1,000,000 seconds (ca. 278 hours).

step2_potential class-attribute instance-attribute

step2_potential: float = 0.5

Potential applied during second step in V.

step2_run_time class-attribute instance-attribute

step2_run_time: float = 5.0

Run time for the second step.

The minimum and maximum duration of a measurement: 5 * interval_time to 1,000,000 seconds (ca. 278 hours).

bandwidth class-attribute instance-attribute

bandwidth: None | float = None

Override bandwidth on MethodSCRIPT devices if set.

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_potential class-attribute instance-attribute

record_we_potential: bool = False

Record applied working electrode potential.

Reference electrode vs ground.

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()