Squidstat API User Manual
|
This experiment holds the working electrode at the starting potential during the quiet time. Then it applies a train of square pulses superimposed on a staircase waveform with a uniform potential step magnitude. More...
#include <AisSquareWaveVoltammetryElement.h>
Inherits AisAbstractElement.
Public Member Functions | |
AisSquareWaveVoltammetryElement (double startVoltage, double endVoltage, double voltageStep, double pulseAmp, double pulseFrequency) | |
the square wave element constructor More... | |
AisSquareWaveVoltammetryElement (const AisSquareWaveVoltammetryElement &) | |
copy constructor for the AisSquareWaveVoltammetryElement object. | |
AisSquareWaveVoltammetryElement & | operator= (const AisSquareWaveVoltammetryElement &) |
overload equal to operator for the AisSquareWaveVoltammetryElement object. | |
QString | getName () const override |
get the name of the element. More... | |
QStringList | getCategory () const override |
get a list of applicable categories of the element. More... | |
double | getQuietTime () const |
Gets the quiet time duration. More... | |
void | setQuietTime (double quietTime) |
Sets the quiet time duration. More... | |
double | getQuietTimeSamplingInterval () const |
gets the quiet time sampling interval. More... | |
void | setQuietTimeSamplingInterval (double quietTimeSamplingInterval) |
Sets the quiet time sampling interval. More... | |
double | getStartVoltage () const |
get the value set for the start voltage. More... | |
void | setStartVoltage (double startVoltage) |
set the value for the start voltage. More... | |
bool | isStartVoltageVsOCP () const |
tells whether the start voltage is set against the open-circuit voltage or the reference terminal. More... | |
void | setStartVoltageVsOCP (bool startVoltageVsOcp) |
set whether to reference the start voltage against the open-circuit voltage or the reference terminal. More... | |
double | getEndVoltage () const |
get the value set for the ending potential value. More... | |
void | setEndVoltage (double endVoltage) |
set the ending potential value. More... | |
bool | isEndVoltageVsOCP () const |
tells whether the end voltage is set with respect to the open circuit voltage or the reference terminal. More... | |
void | setEndVoltageVsOCP (bool endVoltageVsOcp) |
set whether to reference the end voltage against the open-circuit voltage or the reference terminal. More... | |
double | getVStep () const |
get the value set for the voltage step. More... | |
void | setVStep (double vStep) |
set the value for the voltage step. The voltage step is added to the value of the starting potential of the previous pulse to start the new pulse. More... | |
double | getPulseAmp () const |
get the value set for the pulse amplitude. More... | |
void | setPulseAmp (double pulseAmp) |
set the value for the pulse amplitude. More... | |
double | getPulseFreq () const |
get the value set for the pulse frequency. More... | |
void | setPulseFreq (double pulseFreq) |
set the value for the pulse frequency. More... | |
bool | isAutoRange () const |
tells whether the current range is set to auto-select or not. More... | |
void | setAutoRange () |
set to auto-select the current range. More... | |
double | getApproxMaxCurrent () const |
get the value set for the expected maximum current. More... | |
void | setApproxMaxCurrent (double approxMaxCurrent) |
set maximum current expected, for manual current range selection. More... | |
double | getAlphaFactor () const |
Get the value set for the alpha factor. More... | |
void | setAlphaFactor (double alphaFactor) |
alpha factor controls the percentage of data sampled during a given interval. Data will be averaged over the last n% of the sampling interval. More... | |
This experiment holds the working electrode at the starting potential during the quiet time. Then it applies a train of square pulses superimposed on a staircase waveform with a uniform potential step magnitude.
The potential continues to step until the final potential is reached. Each square pulse consists of a forward pulse and a reverse pulse of equal in amplitude but opposite in direction. Frequency is the inverse of the total duration of a square pulse. Current responses are sampled at two points, one at the end of the forward pulse (if) and another at the end of the reverse pulse (ir). The difference in current sampled at these two points is plotted against the potential of the corresponding staircase tread.
Advanced control of data output for pulse experiments can be performed using the class
|
explicit |
the square wave element constructor
startVoltage | the value of the starting potential in volts |
endVoltage | the value of the ending potential in volts |
voltageStep | the value set for the voltage step in volts. |
pulseAmp | the value for the pulse amplitude in volts. |
pulseFrequency | the value for the pulse frequency in Hz. |
double AisSquareWaveVoltammetryElement::getAlphaFactor | ( | ) | const |
Get the value set for the alpha factor.
double AisSquareWaveVoltammetryElement::getApproxMaxCurrent | ( | ) | const |
get the value set for the expected maximum current.
|
override |
get a list of applicable categories of the element.
double AisSquareWaveVoltammetryElement::getEndVoltage | ( | ) | const |
get the value set for the ending potential value.
This is the value of the voltage at which the experiment will stop.
|
override |
get the name of the element.
double AisSquareWaveVoltammetryElement::getPulseAmp | ( | ) | const |
get the value set for the pulse amplitude.
double AisSquareWaveVoltammetryElement::getPulseFreq | ( | ) | const |
get the value set for the pulse frequency.
double AisSquareWaveVoltammetryElement::getQuietTime | ( | ) | const |
Gets the quiet time duration.
double AisSquareWaveVoltammetryElement::getQuietTimeSamplingInterval | ( | ) | const |
gets the quiet time sampling interval.
double AisSquareWaveVoltammetryElement::getStartVoltage | ( | ) | const |
get the value set for the start voltage.
double AisSquareWaveVoltammetryElement::getVStep | ( | ) | const |
get the value set for the voltage step.
bool AisSquareWaveVoltammetryElement::isAutoRange | ( | ) | const |
tells whether the current range is set to auto-select or not.
bool AisSquareWaveVoltammetryElement::isEndVoltageVsOCP | ( | ) | const |
tells whether the end voltage is set with respect to the open circuit voltage or the reference terminal.
bool AisSquareWaveVoltammetryElement::isStartVoltageVsOCP | ( | ) | const |
tells whether the start voltage is set against the open-circuit voltage or the reference terminal.
void AisSquareWaveVoltammetryElement::setAlphaFactor | ( | double | alphaFactor | ) |
alpha factor controls the percentage of data sampled during a given interval. Data will be averaged over the last n% of the sampling interval.
This is an optional parameter. If nothing is set, the device will use the default value of 75.
alphaFactor | the value for the alphaFactor ranges from 0 to 100. |
void AisSquareWaveVoltammetryElement::setApproxMaxCurrent | ( | double | approxMaxCurrent | ) |
set maximum current expected, for manual current range selection.
This is an optional parameter. If nothing is set, the device will auto-select the current range.
approxMaxCurrent | the value for the maximum current expected in Amps. |
void AisSquareWaveVoltammetryElement::setAutoRange | ( | ) |
set to auto-select the current range.
This option is set by default. There is no need to call this function to auto-select if the range was not manually set.
void AisSquareWaveVoltammetryElement::setEndVoltage | ( | double | endVoltage | ) |
set the ending potential value.
This is the value of the voltage at which the experiment will stop.
endVoltage | the value to set for the ending potential in volts. |
void AisSquareWaveVoltammetryElement::setEndVoltageVsOCP | ( | bool | endVoltageVsOcp | ) |
set whether to reference the end voltage against the open-circuit voltage or the reference terminal.
The reference terminal is for you to connect to any reference point you like. Connect it to the working electrode to reference ground.
endVoltageVsOcp | true to set the end voltage to be referenced against the open-circuit voltage and false if set against the reference terminal. |
void AisSquareWaveVoltammetryElement::setPulseAmp | ( | double | pulseAmp | ) |
set the value for the pulse amplitude.
The voltage pulse goes up in hight by the given amplitude in addition to the starting potential (of the previous pulse). It then goes back down twice the amplitude to end up one amplitude below the starting potential (of the previous pulse).
pulseAmp | the value to set for the pulse amplitude in volts. |
void AisSquareWaveVoltammetryElement::setPulseFreq | ( | double | pulseFreq | ) |
set the value for the pulse frequency.
pulseFreq | the value to set for the pulse frequency in Hz. |
void AisSquareWaveVoltammetryElement::setQuietTime | ( | double | quietTime | ) |
Sets the quiet time duration.
quietTime | The quiet time duration to set in seconds. |
void AisSquareWaveVoltammetryElement::setQuietTimeSamplingInterval | ( | double | quietTimeSamplingInterval | ) |
Sets the quiet time sampling interval.
quietTimeSamplingInterval | The quiet time sampling interval to set in seconds. |
void AisSquareWaveVoltammetryElement::setStartVoltage | ( | double | startVoltage | ) |
set the value for the start voltage.
startVoltage | the value of the start voltage in volts |
void AisSquareWaveVoltammetryElement::setStartVoltageVsOCP | ( | bool | startVoltageVsOcp | ) |
set whether to reference the start voltage against the open-circuit voltage or the reference terminal.
The reference terminal is for you to connect to any reference point you like. Connect it to the working electrode to reference ground.
startVoltageVsOcp | true to if the start voltage is set to reference the open-circuit voltage and false if set against the reference terminal. |
void AisSquareWaveVoltammetryElement::setVStep | ( | double | vStep | ) |
set the value for the voltage step. The voltage step is added to the value of the starting potential of the previous pulse to start the new pulse.
vStep | the value for the voltage step in volts. |