Mixed Mode
This sublmodule contains the Mixed Mode method and Stage classes.
See this link for an example how to set it up.
pypalmsens.mixed_mode
Classes:
ConstantE
Amperometric detection stage.
Functions:
-
from_stage_type – Create new instance of appropriate stage from its type.
Attributes:
-
current_limits (CurrentLimits) – Set the current limit settings.
ConstantI
Potentiometry stage.
Functions:
-
from_stage_type – Create new instance of appropriate stage from its type.
Attributes:
-
potential_limits (PotentialLimits) – Set the potential limit settings
-
current (float) – The current to apply in the given current range.
-
applied_current_range (CURRENT_RANGE) – Applied current range.
potential_limits
potential_limits: settings.PotentialLimits = attrs.field(factory=(settings.PotentialLimits))
Set the potential limit settings
current
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.
SweepE
Linear sweep detection stage.
Functions:
-
from_stage_type – Create new instance of appropriate stage from its type.
Attributes:
-
current_limits (CurrentLimits) – Set the current limit settings.
-
begin_potential (float) – Begin potential in V.
-
end_potential (float) – End potential in V.
-
step_potential (float) – Step potential in V.
OpenCircuit
Ocp stage.
Functions:
-
from_stage_type – Create new instance of appropriate stage from its type.
Attributes:
-
potential_limits (PotentialLimits) – Set the potential limit settings
Impedance
Electostatic impedance stage.
Functions:
-
from_stage_type – Create new instance of appropriate stage from its type.
Attributes:
-
dc_potential (float) – DC potential in V.
-
ac_potential (float) – AC potential in V RMS.
-
min_sampling_time (float) – Minimum sampling time in s.
-
max_equilibration_time (float) – Max equilibration time in s.
min_sampling_time
min_sampling_time: float = 0.5
Minimum sampling time in s.
The instrument will measure at leas 2 sine waves. The sampling time will be automatically adjusted when necessary.
MixedMode
Create mixed mode method parameters.
Functions:
-
to_dict – Return the technique instance as a new key/value dictionary mapping.
-
from_method_id – Create new instance of appropriate technique from method ID.
Attributes:
-
current_range (CurrentRange) – Set the autoranging current.
-
pretreatment (Pretreatment) – Set the pretreatment settings.
-
post_measurement (PostMeasurement) – Set the post measurement settings.
-
data_processing (DataProcessing) – Set the data processing settings.
-
interval_time (float) – Interval time in s.
-
stages (link:#list[link:#pypalmsens._methods.mixed_mode.BaseStage]) – List of stages to run through.
current_range
current_range: settings.CurrentRange = attrs.field(factory=(settings.CurrentRange), converter=current_converter)
Set the autoranging current.
pretreatment
pretreatment: settings.Pretreatment = attrs.field(factory=(settings.Pretreatment))
Set the pretreatment settings.
post_measurement
post_measurement: settings.PostMeasurement = attrs.field(factory=(settings.PostMeasurement))
Set the post measurement settings.
data_processing
data_processing: settings.DataProcessing = attrs.field(factory=(settings.DataProcessing))
Set the data processing settings.