Loading...
Searching...
No Matches
AisStaircasePotentialVoltammetryElement.h
1#pragma once
2
3#include "AisAbstractElement.h"
4#include "AisSquidstatGlobal.h"
5#include <QString>
6
7class StaircasePotentialVoltammetryElement;
8
20class SQUIDSTATLIBRARY_EXPORT AisStaircasePotentialVoltammetryElement final : public AisAbstractElement {
21public:
33 double firstVoltageLimit,
34 double secondVoltageLimit,
35 double endVoltage,
36 double stepSize,
37 double stepDuration,
38 double samplingInterval);
39
45
52
57
62 QString getName() const override;
63
68 QStringList getCategory() const override;
69
74 double getQuietTime() const;
75
80 void setQuietTime(double quietTime);
81
87
92 void setQuietTimeSamplingInterval(double quietTimeSamplingInterval);
93
98 double getStartVoltage() const;
99
104 void setStartVoltage(double startVoltage);
105
111
116 void setStartVoltageVsOCP(bool startVsOCP);
117
122 double getEndVoltage() const;
123
128 void setEndVoltage(double endVoltage);
129
134 bool isEndVoltageVsOCP() const;
135
140 void setEndVoltageVsOCP(bool endVsOCP);
141
146 double getFirstVoltageLimit() const;
147
152 void setFirstVoltageLimit(double firstVoltageLimit);
153
159
164 void setFirstVoltageLimitVsOCP(bool firstVoltageLimitVsOCP);
165
170 double getSecondVoltageLimit() const;
171
176 void setSecondVoltageLimit(double secondVoltageLimit);
177
183
188 void setSecondVoltageLimitVsOCP(bool secondVoltageLimitVsOCP);
189
194 double getStepSize() const;
195
200 void setStepSize(double stepSize);
201
206 double getStepDuration() const;
207
212 void setStepDuration(double stepDuration);
213
218 double getSamplingInterval() const;
219
224 void setSamplingInterval(double samplingInterval);
225
230 bool isAutorange() const;
231
236
241 double getApproxMaxCurrent() const;
242
247 void setApproxMaxCurrent(double approxMaxCurrent);
248
253 unsigned int getNumberOfCycles();
254
259 void setNumberOfCycles(unsigned int cycles);
260
261private:
262 std::shared_ptr<StaircasePotentialVoltammetryElement> m_dataDerived;
263};
AisStaircasePotentialVoltammetryElement class represents an element for staircase potential voltammet...
Definition AisStaircasePotentialVoltammetryElement.h:20
void setAutorange()
Enables autorange for the experiment.
double getQuietTime() const
Gets the quiet time duration.
AisStaircasePotentialVoltammetryElement & operator=(const AisStaircasePotentialVoltammetryElement &other)
Assignment operator for AisStaircasePotentialVoltammetryElement.
bool isFirstVoltageLimitVsOCP() const
Checks if the first voltage limit is with respect to the open circuit mode.
AisStaircasePotentialVoltammetryElement(const AisStaircasePotentialVoltammetryElement &other)
Copy constructor for AisStaircasePotentialVoltammetryElement.
void setSecondVoltageLimit(double secondVoltageLimit)
Sets the second voltage limit.
double getSecondVoltageLimit() const
Gets the second voltage limit.
void setQuietTime(double quietTime)
Sets the quiet time duration.
bool isEndVoltageVsOCP() const
Checks if the ending voltage is with respect to the open circuit mode.
bool isSecondVoltageLimitVsOCP() const
Checks if the second voltage limit is with respect to the open circuit mode.
QStringList getCategory() const override
Gets the category of the element.
void setApproxMaxCurrent(double approxMaxCurrent)
Sets the approximate maximum current.
void setQuietTimeSamplingInterval(double quietTimeSamplingInterval)
Sets the quiet time sampling interval.
double getEndVoltage() const
Gets the ending voltage.
bool isStartVoltageVsOCP() const
Checks if the starting voltage is with respect to the open circuit mode.
AisStaircasePotentialVoltammetryElement(double startVoltage, double firstVoltageLimit, double secondVoltageLimit, double endVoltage, double stepSize, double stepDuration, double samplingInterval)
Constructs an AisStaircasePotentialVoltammetryElement with specified parameters.
double getStepSize() const
Gets the potential step size.
void setStepDuration(double stepDuration)
Sets the potential step duration.
void setSamplingInterval(double samplingInterval)
Sets the potential sampling interval.
void setEndVoltageVsOCP(bool endVsOCP)
Sets whether the ending voltage is with respect to the open circuit mode.
void setFirstVoltageLimitVsOCP(bool firstVoltageLimitVsOCP)
Sets whether the first voltage limit is with respect to the open circuit mode.
void setStartVoltageVsOCP(bool startVsOCP)
Sets whether the starting voltage is with respect to the open circuit mode.
double getQuietTimeSamplingInterval() const
gets the quiet time sampling interval.
void setSecondVoltageLimitVsOCP(bool secondVoltageLimitVsOCP)
Sets whether the second voltage limit is with respect to the open circuit mode.
unsigned int getNumberOfCycles()
get the value set for the number of cycles
void setNumberOfCycles(unsigned int cycles)
set the number of cycles to oscillate between the first voltage-limit and the second voltage-limit.
void setFirstVoltageLimit(double firstVoltageLimit)
Sets the first voltage limit.
void setEndVoltage(double endVoltage)
Sets the ending voltage.
void setStepSize(double stepSize)
Sets the potential step size.
~AisStaircasePotentialVoltammetryElement() override
Destructor for AisStaircasePotentialVoltammetryElement.
bool isAutorange() const
Checks if the experiment should autorange the current.
double getFirstVoltageLimit() const
Gets the first voltage limit.
double getApproxMaxCurrent() const
Gets the approximate maximum current.
QString getName() const override
Gets the name of the element.
void setStartVoltage(double startVoltage)
Sets the starting voltage.
double getStepDuration() const
Gets the potential step duration.
double getStartVoltage() const
Gets the starting voltage.
double getSamplingInterval() const
Gets the potential sampling interval.