25 #ifndef CANVASCURVE_H_
26 #define CANVASCURVE_H_
62 QString
getToolTip(
double x,
double y ,
const QString& xUnit,
const QString& yUnit )
const;
66 void scaleYValues(
const QString& oldDisplayUnits,
const QString& yUnitDisplay,
const QString& xUnits );
67 double convertValue(
double value,
double freqValue,
const QString& oldDisplayUnits,
const QString& yUnitDisplay,
75 void storeData(
const QString& oldUnits );
casacore::Vector< float > getYValues() const
void getMinMax(casacore::Double &xmin, casacore::Double &xmax, casacore::Double &ymin, casacore::Double &ymax, bool plotError) const
casacore::SpectralCoordinate spectralCoordinate
std::pair< double, double > getRangeFor(double xMin, double xMax, casacore::Bool &exists)
casacore::Vector< float > getXValues() const
void setLegend(const QString &legend)
casacore::Vector< float > getErrorValues() const
double getMaxError() const
void scaleYValues(const QString &oldDisplayUnits, const QString &yUnitDisplay, const QString &xUnits)
void setColor(QColor color)
QString getToolTip(double x, double y, const QString &xUnit, const QString &yUnit) const
QString getLegend() const
void setYValues(const casacore::Vector< float > &yValues)
bool Bool
Define the standard types used by Casacore.
double convertValue(double value, double freqValue, const QString &oldDisplayUnits, const QString &yUnitDisplay, const QString &xUnits, casacore::SpectralCoordinate &coord)
void storeData(const QString &oldUnits)
double calculateRelativeError(double minValue, double maxValue) const
std::vector< double > ErrorData
Interconvert pixel and frequency values.
void calculateRelativeErrors(double &errorX, double &errorY) const
ABSTRACT CLASSES Abstract class for colors Any implementation of color should be able to provide a hexadecimal form of the color(i.e.,"000000"for black) and
LatticeExprNode value(const LatticeExprNode &expr)
This function returns the value of the expression without a mask.
std::vector< double > CurveData
void setErrorValues(const casacore::Vector< float > &errorValues)