Loading...
Searching...
No Matches
AisMottSchottkyElement.h
1#pragma once
2
3#include "AisAbstractElement.h"
4#include "AisSquidstatGlobal.h"
5#include <QString>
6
7class MottSchottkyElement;
8
29class SQUIDSTATLIBRARY_EXPORT AisMottSchottkyElement final : public AisAbstractElement {
30public:
31
44 explicit AisMottSchottkyElement(double startingPotential, double endingPotential, double voltageStep,
45 double startFrequency, double endFrequency,
46 double stepsPerDecade, double amplitude, unsigned int minCycles, double stepQuietTime);
47
59 [[deprecated("Use the constructor with the stepQuietTime parameter instead.")]]
60 explicit AisMottSchottkyElement(double startingPotential, double endingPotential, double voltageStep,
61 double startFrequency, double endFrequency, double stepsPerDecade,
62 double amplitude, unsigned int minCycles);
63
64
65
71
78
83
88 QString getName() const override;
89
94 QStringList getCategory() const override;
95
96 // Getter and Setter methods
97
102 double getStartingPotential() const;
103
108 void setStartingPotential(double startingPotential);
109
114 double getEndingPotential() const;
115
120 void setEndingPotential(double endingPotential);
121
126 double getVoltageStep() const;
127
132 void setVoltageStep(double voltageStep);
133
138 double getStartFrequency() const;
139
144 void setStartFrequency(double startFrequency);
145
150 double getEndFrequency() const;
151
156 void setEndFrequency(double endFrequency);
157
162 double getStepsPerDecade() const;
163
168 void setStepsPerDecade(double stepsPerDecade);
169
174 double getAmplitude() const;
175
180 void setAmplitude(double amplitude);
181
186 unsigned int getMinCycles() const;
187
192 void setMinCycles(unsigned int minCycles);
193
198 double getQuietTime() const;
199
204 void setQuietTime(double quietTime);
205
211
216 void setQuietTimeSampInterval(double quietTimeSampInterval);
217
222 double getStepQuietTime() const;
223
228 void setStepQuietTime(double stepQuietTime);
229
235
240 void setStepQuietSampInterval(double stepQuietTimeSampInterval);
241
247
252 void setStartVoltageVsOCP(bool startVsOCP);
253
258 bool isEndVoltageVsOCP() const;
259
264 void setEndVoltageVsOCP(bool endVsOCP);
265
266private:
267 std::shared_ptr<MottSchottkyElement> m_dataDerived;
268};
This class performs Mott-Schottky analysis on the working electrode for a specified range of potentia...
Definition AisMottSchottkyElement.h:29
bool isStartVoltageVsOCP() const
Check if the starting voltage is measured versus the open circuit potential (OCP).
QString getName() const override
Get the name of the experiment element.
void setStartingPotential(double startingPotential)
Set the starting potential for the experiment.
void setQuietTime(double quietTime)
Set the quiet time before starting the EIS measurement.
unsigned int getMinCycles() const
Get the minimum number of cycles per frequency step.
void setStepQuietTime(double stepQuietTime)
Set the quiet time after each potential step before starting the EIS measurement.
~AisMottSchottkyElement() override
Destructor for the AisMottSchottkyElement object.
AisMottSchottkyElement(double startingPotential, double endingPotential, double voltageStep, double startFrequency, double endFrequency, double stepsPerDecade, double amplitude, unsigned int minCycles)
Constructor for the Mott-Schottky experiment element.
void setMinCycles(unsigned int minCycles)
Set the minimum number of cycles per frequency step.
double getEndingPotential() const
Get the ending potential for the experiment.
void setEndFrequency(double endFrequency)
Set the ending frequency for the EIS measurement.
void setEndingPotential(double endingPotential)
Set the ending potential for the experiment.
void setStartFrequency(double startFrequency)
Set the starting frequency for the EIS measurement.
AisMottSchottkyElement(const AisMottSchottkyElement &other)
Copy constructor for the AisMottSchottkyElement object.
double getVoltageStep() const
Get the voltage step size between each potential.
void setStartVoltageVsOCP(bool startVsOCP)
Set whether the starting voltage is measured versus the open circuit potential (OCP).
void setStepsPerDecade(double stepsPerDecade)
Set the number of frequency steps per decade.
AisMottSchottkyElement(double startingPotential, double endingPotential, double voltageStep, double startFrequency, double endFrequency, double stepsPerDecade, double amplitude, unsigned int minCycles, double stepQuietTime)
Constructor for the Mott-Schottky experiment element.
double getStepsPerDecade() const
Get the number of frequency steps per decade.
double getStepQuietTime() const
Get the quiet time after each potential step before starting the EIS measurement.
void setAmplitude(double amplitude)
Set the amplitude of the AC signal used in the EIS measurement.
double getQuietTime() const
Get the quiet time before starting the EIS measurement.
void setEndVoltageVsOCP(bool endVsOCP)
Set whether the ending voltage is measured versus the open circuit potential (OCP).
AisMottSchottkyElement & operator=(const AisMottSchottkyElement &other)
Assignment operator for the AisMottSchottkyElement object.
double getStartFrequency() const
Get the starting frequency for the EIS measurement.
bool isEndVoltageVsOCP() const
Check if the ending voltage is measured versus the open circuit potential (OCP).
void setVoltageStep(double voltageStep)
Set the voltage step size between each potential.
void setQuietTimeSampInterval(double quietTimeSampInterval)
Set the sampling interval during the quiet time.
double getQuietTimeSampInterval() const
Get the sampling interval during the quiet time.
double getEndFrequency() const
Get the ending frequency for the EIS measurement.
double getStartingPotential() const
Get the starting potential for the experiment.
void setStepQuietSampInterval(double stepQuietTimeSampInterval)
Set the sampling interval during the quiet time after each potential step.
QStringList getCategory() const override
Get a list of applicable categories of the experiment element.
double getAmplitude() const
Get the amplitude of the AC signal used in the EIS measurement.
double getStepQuietSampInterval() const
Get the sampling interval during the quiet time after each potential step.