Squidstat API User Manual
|
A class representing an experiment to apply the stepped volatge. More...
#include <AisSteppedVoltageElement.h>
Inherits AisAbstractElement.
Public Member Functions | |
AisSteppedVoltageElement (double startVoltage, double endVoltage, double voltageStep, double voltageStepDuration, double samplingInterval) | |
Constructor for the AisSteppedVoltageElement element. More... | |
AisSteppedVoltageElement (const AisSteppedVoltageElement &other) | |
Copy constructor for the AisSteppedVoltageElement object. More... | |
AisSteppedVoltageElement & | operator= (const AisSteppedVoltageElement &other) |
Overloaded assignment operator for the AisSteppedVoltageElement object. More... | |
~AisSteppedVoltageElement () override | |
Destructor for the AisSteppedVoltageElement 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 | getStartVoltage () const |
Get the starting voltage for the experiment. More... | |
double | getEndVoltage () const |
Get the ending voltage for the experiment. More... | |
double | getStepSize () const |
Get the voltage step for each iteration. More... | |
double | getStepDuration () const |
Get the time step for each iteration. More... | |
double | getSamplingInterval () const |
Get the data sampling interval. More... | |
double | getApproxMaxCurrent () const |
Get the approximate maximum current. More... | |
bool | isStartVoltageVsOCP () const |
Check if the experiment starts with the open circuit potential. More... | |
bool | isEndVoltageVsOCP () const |
Check if the experiment ends with the open circuit potential. More... | |
bool | isAutoRange () const |
Check if current autoranging is enabled. More... | |
void | setStartVoltage (double vStart) |
Set the starting voltage for the experiment. More... | |
void | setEndVoltage (double vEnd) |
Set the ending voltage for the experiment. More... | |
void | setStepSize (double vStep) |
Set the voltage step for each iteration. More... | |
void | setStepDuration (double duration) |
Set the time step for each iteration. More... | |
void | setSamplingInterval (double samplingInterval) |
Set the data sampling interval. More... | |
void | setApproxMaxCurrent (double approxMaxCurrent) |
Set the approximate maximum current. More... | |
void | setStartVoltageVsOCP (bool startVsOCP) |
Set whether the experiment starts with the open circuit potential. More... | |
void | setEndVoltageVsOCP (bool endVsOCP) |
Set whether the experiment ends with the open circuit potential. More... | |
void | setCurrentAutorange () |
Enable current autoranging for the experiment. | |
A class representing an experiment to apply the stepped volatge.
This class inherits from AisAbstractElement and is designed for Stepped Voltage experiments.
|
explicit |
Constructor for the AisSteppedVoltageElement element.
This constructor initializes the AisSteppedVoltageElement element with the specified parameters.
startVoltage | The initial voltage value in volts. |
endVoltage | The final voltage value in volts. |
voltageStep | The size of each voltage step in volts. |
voltageStepDuration | The duration of each voltage step in seconds. |
samplingInterval | The data sampling interval value in seconds. |
|
explicit |
Copy constructor for the AisSteppedVoltageElement object.
other | The AisSteppedVoltageElement object to be copied. |
double AisSteppedVoltageElement::getApproxMaxCurrent | ( | ) | const |
Get the approximate maximum current.
|
override |
Get a list of applicable categories of the element.
double AisSteppedVoltageElement::getEndVoltage | ( | ) | const |
Get the ending voltage for the experiment.
|
override |
Get the name of the element.
double AisSteppedVoltageElement::getSamplingInterval | ( | ) | const |
Get the data sampling interval.
double AisSteppedVoltageElement::getStartVoltage | ( | ) | const |
Get the starting voltage for the experiment.
double AisSteppedVoltageElement::getStepDuration | ( | ) | const |
Get the time step for each iteration.
double AisSteppedVoltageElement::getStepSize | ( | ) | const |
Get the voltage step for each iteration.
bool AisSteppedVoltageElement::isAutoRange | ( | ) | const |
Check if current autoranging is enabled.
bool AisSteppedVoltageElement::isEndVoltageVsOCP | ( | ) | const |
Check if the experiment ends with the open circuit potential.
bool AisSteppedVoltageElement::isStartVoltageVsOCP | ( | ) | const |
Check if the experiment starts with the open circuit potential.
AisSteppedVoltageElement & AisSteppedVoltageElement::operator= | ( | const AisSteppedVoltageElement & | other | ) |
Overloaded assignment operator for the AisSteppedVoltageElement object.
other | The AisSteppedVoltageElement object to be assigned. |
void AisSteppedVoltageElement::setApproxMaxCurrent | ( | double | approxMaxCurrent | ) |
Set the approximate maximum current.
approxMaxCurrent | The approximate maximum current in Amps. |
void AisSteppedVoltageElement::setEndVoltage | ( | double | vEnd | ) |
Set the ending voltage for the experiment.
vEnd | The ending voltage in volts. |
void AisSteppedVoltageElement::setEndVoltageVsOCP | ( | bool | endVsOCP | ) |
Set whether the experiment ends with the open circuit potential.
endVsOCP | True to end with open circuit potential, false otherwise. |
void AisSteppedVoltageElement::setSamplingInterval | ( | double | samplingInterval | ) |
Set the data sampling interval.
samplingInterval | The data sampling interval in seconds. |
void AisSteppedVoltageElement::setStartVoltage | ( | double | vStart | ) |
Set the starting voltage for the experiment.
vStart | The starting voltage in volts. |
void AisSteppedVoltageElement::setStartVoltageVsOCP | ( | bool | startVsOCP | ) |
Set whether the experiment starts with the open circuit potential.
startVsOCP | True to start with open circuit potential, false otherwise. |
void AisSteppedVoltageElement::setStepDuration | ( | double | duration | ) |
Set the time step for each iteration.
tStep | The time step in seconds. |
void AisSteppedVoltageElement::setStepSize | ( | double | vStep | ) |
Set the voltage step for each iteration.
vStep | The voltage step in volts. |