Loading...
Searching...
No Matches
AisDCCurrentSweepElement.h
1#pragma once
2
3#include "AisAbstractElement.h"
4#include "AisSquidstatGlobal.h"
5#include <QString>
6
7class DCCurrentSweepElement;
8
20class SQUIDSTATLIBRARY_EXPORT AisDCCurrentSweepElement : public AisAbstractElement {
21public:
30 double startCurrent,
31 double endCurrent,
32 double scanRate,
33 double samplingInterval
34
35 );
44
46
51 QString getName() const override;
52
57 QStringList getCategory() const override;
58
63 double getQuietTime() const;
64
69 void setQuietTime(double quietTime);
70
76
81 void setQuietTimeSamplingInterval(double quietTimeSamplingInterval);
82
87 double getStartingCurrent() const;
88
93 void setStartingCurrent(double startingCurrent);
94
99 double getEndingCurrent() const;
100
105 void setEndingCurrent(double endingCurrent);
106
112 double getScanRate() const;
113
120 void setScanRate(double scanRate);
121
126 double getSamplingInterval() const;
127
132 void setSamplingInterval(double samplingInterval);
133
140 double getMaxVoltage() const;
141
150 void setMaxVoltage(double maxVoltage);
151
157 double getMinVoltage() const;
158
167 void setMinVoltage(double minVoltage);
168
175 double getAlphaFactor() const;
176
184 void setAlphaFactor(double alphaFactor);
185
186private:
187 std::shared_ptr<DCCurrentSweepElement> m_dataDerived;
188};
this experiment performs a DC current sweep from the starting current to the ending current which pro...
Definition AisDCCurrentSweepElement.h:20
void setScanRate(double scanRate)
set the value for the current scan rate.
double getScanRate() const
get the value set for the scan rate.
void setEndingCurrent(double endingCurrent)
set the value for the ending current.
double getStartingCurrent() const
get the value set for the starting current.
void setStartingCurrent(double startingCurrent)
set the value for the starting current.
void setAlphaFactor(double alphaFactor)
alpha factor controls the percentage of data sampled during a given interval. Data will be averaged o...
AisDCCurrentSweepElement(const AisDCCurrentSweepElement &)
copy constructor for the AisDCCurrentSweepElement object.
double getEndingCurrent() const
get the value set for the ending current.
double getQuietTimeSamplingInterval() const
gets the quiet time sampling interval.
double getMaxVoltage() const
get the value set for the maximum voltage. The experiment will end when it reaches this value.
void setSamplingInterval(double samplingInterval)
set how frequently we are sampling the data.
double getMinVoltage() const
get the value set minimum for the voltage in volts.
double getAlphaFactor() const
Get the value set for the alpha factor.
double getSamplingInterval() const
get how frequently we are sampling the data.
AisDCCurrentSweepElement & operator=(const AisDCCurrentSweepElement &)
overload equal to operator for the AisDCCurrentSweepElement object.
void setQuietTime(double quietTime)
Sets the quiet time duration.
void setMaxVoltage(double maxVoltage)
set a maximum voltage to stop the experiment.
QStringList getCategory() const override
get a list of applicable categories of the element.
void setMinVoltage(double minVoltage)
set a minimum voltage to stop the experiment.
double getQuietTime() const
Gets the quiet time duration.
void setQuietTimeSamplingInterval(double quietTimeSamplingInterval)
Sets the quiet time sampling interval.
AisDCCurrentSweepElement(double startCurrent, double endCurrent, double scanRate, double samplingInterval)
the DC current sweep element.
QString getName() const override
get the name of the element.