Squidstat API User Manual
|
This experiment holds the working electrode at a baseline potential during the quiet time, then applies a train of pulses, which increase in amplitude until the final potential is reached. More...
#include <AisNormalPulseVoltammetryElement.h>
Inherits AisAbstractElement.
Public Member Functions | |
AisNormalPulseVoltammetryElement (double startVoltage, double endVoltage, double voltageStep, double pulseWidth, double pulsePeriod) | |
the normal-pulse-voltammetry element constructor More... | |
AisNormalPulseVoltammetryElement (const AisNormalPulseVoltammetryElement &) | |
copy constructor for the AisNormalPulseVoltammetryElement object. | |
AisNormalPulseVoltammetryElement & | operator= (const AisNormalPulseVoltammetryElement &) |
overload equal to operator for the AisNormalPulseVoltammetryElement 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. More... | |
double | getPulseWidth () const |
get the value set for the pulse width More... | |
void | setPulseWidth (double pulseWidth) |
set the value in seconds for pulse width. More... | |
double | getPulsePeriod () const |
get the value set for the pulse period. More... | |
void | setPulsePeriod (double pulsePeriod) |
set the value for the pulse period. 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 a baseline potential during the quiet time, then applies a train of pulses, which increase in amplitude until the final potential is reached.
The potential step is the magnitude of this incremental increase. The pulse width is the amount of time between the rising and falling edge of a pulse. The pulse period is the amount of time between the beginning of one pulse and the beginning of the next.
Advanced control of data output for pulse experiments can be performed using the class
|
explicit |
the normal-pulse-voltammetry 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. |
pulseWidth | the value for the pulse width in seconds. |
pulsePeriod | the value for the pulse period in seconds. |
double AisNormalPulseVoltammetryElement::getAlphaFactor | ( | ) | const |
Get the value set for the alpha factor.
double AisNormalPulseVoltammetryElement::getApproxMaxCurrent | ( | ) | const |
get the value set for the expected maximum current.
|
override |
get a list of applicable categories of the element.
double AisNormalPulseVoltammetryElement::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 AisNormalPulseVoltammetryElement::getPulsePeriod | ( | ) | const |
get the value set for the pulse period.
double AisNormalPulseVoltammetryElement::getPulseWidth | ( | ) | const |
get the value set for the pulse width
double AisNormalPulseVoltammetryElement::getQuietTime | ( | ) | const |
Gets the quiet time duration.
double AisNormalPulseVoltammetryElement::getQuietTimeSamplingInterval | ( | ) | const |
gets the quiet time sampling interval.
double AisNormalPulseVoltammetryElement::getStartVoltage | ( | ) | const |
get the value set for the start voltage.
double AisNormalPulseVoltammetryElement::getVStep | ( | ) | const |
get the value set for the voltage step.
bool AisNormalPulseVoltammetryElement::isAutoRange | ( | ) | const |
tells whether the current range is set to auto-select or not.
bool AisNormalPulseVoltammetryElement::isEndVoltageVsOCP | ( | ) | const |
tells whether the end voltage is set with respect to the open circuit voltage or the reference terminal.
bool AisNormalPulseVoltammetryElement::isStartVoltageVsOCP | ( | ) | const |
tells whether the start voltage is set against the open-circuit voltage or the reference terminal.
void AisNormalPulseVoltammetryElement::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 AisNormalPulseVoltammetryElement::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 AisNormalPulseVoltammetryElement::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 AisNormalPulseVoltammetryElement::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 AisNormalPulseVoltammetryElement::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 AisNormalPulseVoltammetryElement::setPulsePeriod | ( | double | pulsePeriod | ) |
set the value for the pulse period.
The pulse period is the time spent between the starts of two consecutive pulses.
pulsePeriod | the value to set for the pulse period in seconds. |
void AisNormalPulseVoltammetryElement::setPulseWidth | ( | double | pulseWidth | ) |
set the value in seconds for pulse width.
The pulse width is the value in seconds for the time spent at the same voltage set for the pulse height.
pulseWidth | the value to set for the pulse width in seconds. |
void AisNormalPulseVoltammetryElement::setQuietTime | ( | double | quietTime | ) |
Sets the quiet time duration.
quietTime | The quiet time duration to set in seconds. |
void AisNormalPulseVoltammetryElement::setQuietTimeSamplingInterval | ( | double | quietTimeSamplingInterval | ) |
Sets the quiet time sampling interval.
quietTimeSamplingInterval | The quiet time sampling interval to set in seconds. |
void AisNormalPulseVoltammetryElement::setStartVoltage | ( | double | startVoltage | ) |
set the value for the start voltage.
startVoltage | the value of the start voltage in volts |
void AisNormalPulseVoltammetryElement::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 AisNormalPulseVoltammetryElement::setVStep | ( | double | vStep | ) |
set the value for the voltage step.
The voltage step is the voltage difference between the heights of two consecutive pulses.
vStep | the value for the voltage step in volts. |