Exemplo n.º 1
0
SmoothFilter::SmoothFilter(ApplicationWindow *parent, Graph *g, const QString& curveTitle,
                             double start, double end, int m)
: Filter(parent, g)
{
	setDataFromCurve(curveTitle, start, end);
    init(m);
}
Exemplo n.º 2
0
FFTFilter::FFTFilter(ApplicationWindow *parent, Graph *g, const QString& curveTitle, int m)
  : Filter(parent, g)
{
  d_sort_data=true;
  setDataFromCurve(curveTitle);
  init(m);
}
ExponentialFit::ExponentialFit(ApplicationWindow *parent, Graph *g, const QString& curveTitle, bool expGrowth)
: Fit(parent, g),
  is_exp_growth(expGrowth)
{
	init();
	setDataFromCurve(curveTitle);
}
Exemplo n.º 4
0
Differentiation::Differentiation(ApplicationWindow *parent, Graph *g,
                                 const QString &curveTitle, double start,
                                 double end)
    : Filter(parent, g) {
  init();
  setDataFromCurve(curveTitle, start, end);
}
Interpolation::Interpolation(ApplicationWindow *parent, Graph *g, const QString& curveTitle,
                             double start, double end, int m)
: Filter(parent, g)
{
	init(m);
	setDataFromCurve(curveTitle, start, end);
}
Exemplo n.º 6
0
void Filter::setInterval(double from, double to)
{
	if (!d_curve){
		QMessageBox::critical((ApplicationWindow *)parent(), tr("QtiPlot") + " - " + tr("Error"),
				tr("Please assign a curve first!"));
		return;
	}
	setDataFromCurve (d_curve->title().text(), from, to);
}
Exemplo n.º 7
0
LogisticFit::LogisticFit(ApplicationWindow *parent, Graph *g, const QString& curveTitle, double start, double end)
: Fit(parent, g)
{
	init();
	setDataFromCurve(curveTitle, start, end);
}
Exemplo n.º 8
0
GaussFit::GaussFit(ApplicationWindow *parent, Graph *g, const QString& curveTitle, double start, double end)
: MultiPeakFit(parent, g, MultiPeakFit::Gauss, 1)
{
	init();
	setDataFromCurve(curveTitle, start, end);
}
Exemplo n.º 9
0
Integration::Integration(ApplicationWindow *parent, QwtPlotCurve *c, double start, double end)
: Filter(parent, c)
{
	init();
	setDataFromCurve(c, start, end);
}
Exemplo n.º 10
0
LogisticFit::LogisticFit(ApplicationWindow *parent, Graph *g, const QString& curveTitle)
: Fit(parent, g)
{
	init();
	setDataFromCurve(curveTitle);
}
Exemplo n.º 11
0
LinearFit::LinearFit(ApplicationWindow *parent, QwtPlotCurve *c)
: Fit(parent, c)
{
	init();
	setDataFromCurve(c);
}
Exemplo n.º 12
0
Integration::Integration(ApplicationWindow *parent, QwtPlotCurve *c)
: Filter(parent, c)
{
	init();
	setDataFromCurve(c);
}
Exemplo n.º 13
0
PolynomialFit::PolynomialFit(ApplicationWindow *parent, Graph *g, QString& curveTitle, double start, double end, int order, bool legend)
: Fit(parent, g), d_order(order), show_legend(legend)
{
	init();
	setDataFromCurve(curveTitle, start, end);
}
Exemplo n.º 14
0
GaussFit::GaussFit(ApplicationWindow *parent, QwtPlotCurve *c, double start, double end)
: MultiPeakFit(parent, c, MultiPeakFit::Gauss, 1)
{
	init();
	setDataFromCurve(c, start, end);
}
Exemplo n.º 15
0
LinearFit::LinearFit(ApplicationWindow *parent, QwtPlotCurve *c, double start, double end)
: Fit(parent, c)
{
	init();
	setDataFromCurve(c, start, end);
}
Exemplo n.º 16
0
LorentzFit::LorentzFit(ApplicationWindow *parent, Graph *g, const QString& curveTitle)
: MultiPeakFit(parent, g, MultiPeakFit::Lorentz, 1)
{
	init();
	setDataFromCurve(curveTitle);
}
Exemplo n.º 17
0
PolynomialFit::PolynomialFit(ApplicationWindow *parent, QwtPlotCurve *c, double start, double end, int order, bool legend)
: Fit(parent, c), d_order(order), show_legend(legend)
{
	init();
	setDataFromCurve(c, start, end);
}
Exemplo n.º 18
0
FFT::FFT(ApplicationWindow *parent, Graph *g, const QString& curveTitle)
: Filter(parent, g)
{
	init();
    setDataFromCurve(curveTitle);
}
Exemplo n.º 19
0
GaussFit::GaussFit(ApplicationWindow *parent, QwtPlotCurve *c)
: MultiPeakFit(parent, c, MultiPeakFit::Gauss, 1)
{
	init();
	setDataFromCurve(c);
}