A class representing an experiment to apply the stepped current.
More...
#include <AisSteppedCurrentElement.h>
Inherits AisAbstractElement.
A class representing an experiment to apply the stepped current.
◆ AisSteppedCurrentElement()
AisSteppedCurrentElement::AisSteppedCurrentElement |
( |
double |
startCurrent, |
|
|
double |
endCurrent, |
|
|
double |
stepSize, |
|
|
double |
stepDuration, |
|
|
double |
samplingInterval |
|
) |
| |
|
explicit |
Constructs a Stepped Current element.
This constructor initializes the Stepped Current element with the specified parameters.
- Parameters
-
startCurrent | The initial current value in amperes. |
endCurrent | The final current value in amperes. |
stepSize | The size of each current step in amperes. |
stepDuration | The duration of each current step in seconds. |
samplingInterval | The data sampling interval value in seconds. |
◆ getApproxMaxVoltage()
double AisSteppedCurrentElement::getApproxMaxVoltage |
( |
| ) |
const |
get the value set for the expected maximum voltage.
- Returns
- the value set for the expected maximum Voltage in volt.
- Note
- if nothing was manually set, the device will auto-select the voltage range and the return value will be positive infinity.
◆ getApproxMinVoltage()
double AisSteppedCurrentElement::getApproxMinVoltage |
( |
| ) |
const |
get the value set for the expected minimum voltage.
- Returns
- the value set for the expected maximum Voltage in volt.
- Note
- if nothing was manually set, the device will auto-select the voltage range and the return value will be positive infinity.
◆ getCategory()
QStringList AisSteppedCurrentElement::getCategory |
( |
| ) |
const |
|
override |
get a list of applicable categories of the element.
- Returns
- A list of applicable categories: ("Galvanostatic Control").
◆ getEndCurrent()
double AisSteppedCurrentElement::getEndCurrent |
( |
| ) |
const |
Gets the ending current value for the stepped experiment.
- Returns
- The ending current value in amperes.
◆ getName()
QString AisSteppedCurrentElement::getName |
( |
| ) |
const |
|
override |
get the name of the element.
- Returns
- The name of the element: "SteppedCurrent".
◆ getSamplingInterval()
double AisSteppedCurrentElement::getSamplingInterval |
( |
| ) |
const |
get how frequently we are sampling the data.
- Returns
- the data sampling interval value in seconds.
◆ getStartCurrent()
double AisSteppedCurrentElement::getStartCurrent |
( |
| ) |
const |
Gets the starting current value for the stepped experiment.
- Returns
- The starting current value in amperes.
◆ getStepDuration()
double AisSteppedCurrentElement::getStepDuration |
( |
| ) |
const |
Gets the duration of each current step in the stepped experiment.
- Returns
- The duration of each current step in seconds.
◆ getStepSize()
double AisSteppedCurrentElement::getStepSize |
( |
| ) |
const |
Gets the size of each current step in the stepped experiment.
- Returns
- The size of each current step in amperes.
◆ setApproxMaxVoltage()
void AisSteppedCurrentElement::setApproxMaxVoltage |
( |
double |
approxMaxVoltage | ) |
|
set maximum voltage expected, for manual voltage range selection.
This is an optional parameter. If nothing is set, the device will auto-select the voltage range.
- Parameters
-
approxMaxVoltage | the value for the maximum current expected in V. |
◆ setApproxMinVoltage()
void AisSteppedCurrentElement::setApproxMinVoltage |
( |
double |
approxMinVoltage | ) |
|
set minimum voltage expected, for manual voltage range selection.
This is an optional parameter. If nothing is set, the device will auto-select the voltage range.
- Parameters
-
approxMaxVoltage | the value for the maximum current expected in V. |
◆ setEndCurrent()
void AisSteppedCurrentElement::setEndCurrent |
( |
double |
iEnd | ) |
|
Sets the ending current value for the stepped experiment.
- Parameters
-
iEnd | The ending current value in amperes. |
◆ setSamplingInterval()
void AisSteppedCurrentElement::setSamplingInterval |
( |
double |
samplingInterval | ) |
|
set how frequently we are sampling the data.
- Parameters
-
samplingInterval | the data sampling interval value in seconds. |
◆ setStartCurrent()
void AisSteppedCurrentElement::setStartCurrent |
( |
double |
iStart | ) |
|
Sets the starting current value for the stepped experiment.
- Parameters
-
iStart | The starting current value in amperes. |
◆ setStepDuration()
void AisSteppedCurrentElement::setStepDuration |
( |
double |
tStep | ) |
|
Sets the duration of each current step in the stepped experiment.
- Parameters
-
tStep | The duration of each current step in seconds. |
◆ setStepSize()
void AisSteppedCurrentElement::setStepSize |
( |
double |
iStep | ) |
|
Sets the size of each current step in the stepped experiment.
- Parameters
-
iStep | The size of each current step in amperes. |
- Note
- Regardless of iStep's sign, the device will determine the step direction based on the start and end current.
The documentation for this class was generated from the following file: