Cyclic Polarization
This page documents the Cyclic Polarization (CP) method.
Short name
Cyclic Polarization has the same short name CP as Chrono Potentiometry.
pypalmsens.corrosion.CyclicPolarization
Create cyclic polarization method parameters.
The method is equivalent to Cyclic Voltammetry.
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:
-
material(Material) –Stores material settings for corrosion measurements.
-
general(General) –Sets general/other settings.
-
data_processing(DataProcessing) –Set the data processing settings.
-
measurement_triggers(MeasurementTriggers) –Set the trigger at measurement settings.
-
equilibrion_triggers(EquilibrationTriggers) –Set the trigger at equilibration settings.
-
ir_drop_compensation(IrDropCompensation) –Set the iR drop compensation settings.
-
current_limits(CurrentLimits) –Set the current limit settings.
-
post_measurement(PostMeasurement) –Set the post measurement settings.
-
bipot(BiPot) –Set the bipot settings.
-
versus_ocp(VersusOCP) –Set the versus OCP settings.
-
pretreatment(Pretreatment) –Set the pretreatment settings.
-
current_range(CurrentRange) –Set the autoranging current.
-
equilibration_time(float) –Equilibration time in s.
-
begin_potential(float) –Potential where the scan starts and stops at in V.
-
vertex1_potential(float) –First potential where direction reverses in V.
-
vertex2_potential(float) –Second potential where direction reverses. V.
-
step_potential(float) –Potential step size in V.
-
scanrate(float) –Scan rate in V/s.
-
n_scans(int) –Number of repetitions for this scan.
-
enable_bipot_current(bool) –Enable bipot current.
-
record_auxiliary_input(bool) –Record auxiliary input.
-
record_cell_potential(bool) –Record cell potential.
-
record_we_potential(bool) –Record applied working electrode potential.
-
id(Literal['cp']) –Unique method identifier.
material
class-attribute
instance-attribute
Stores material settings for corrosion measurements.
general
class-attribute
instance-attribute
Sets general/other 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.
equilibrion_triggers
class-attribute
instance-attribute
equilibrion_triggers: EquilibrationTriggers = Field(default_factory=EquilibrationTriggers)
Set the trigger at equilibration settings.
ir_drop_compensation
class-attribute
instance-attribute
ir_drop_compensation: IrDropCompensation = Field(default_factory=IrDropCompensation)
Set the iR drop compensation 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.
bipot
class-attribute
instance-attribute
Set the bipot settings.
versus_ocp
class-attribute
instance-attribute
Set the versus OCP 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.
equilibration_time
class-attribute
instance-attribute
equilibration_time: float = 0.0
Equilibration time in s.
begin_potential
class-attribute
instance-attribute
begin_potential: float = -0.5
Potential where the scan starts and stops at in V.
vertex1_potential
class-attribute
instance-attribute
vertex1_potential: float = 0.5
First potential where direction reverses in V.
vertex2_potential
class-attribute
instance-attribute
vertex2_potential: float = -0.5
Second potential where direction reverses. V.
step_potential
class-attribute
instance-attribute
step_potential: float = 0.1
Potential step size in V.
scanrate
class-attribute
instance-attribute
scanrate: float = 1.0
Scan rate in V/s.
The applicable range depends on the value of step_potential.
enable_bipot_current
class-attribute
instance-attribute
enable_bipot_current: bool = False
Enable bipot current.
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
Return the technique instance as a new key/value dictionary mapping.
Source code in src/pypalmsens/_methods/base.py
31 32 33 | |
from_dict
classmethod
Structure technique instance from dict.
Opposite of .to_dict()
Source code in src/pypalmsens/_methods/base.py
35 36 37 38 39 40 | |
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
42 43 44 45 46 | |