Vespucci  1.0.0
univariatedata.h
Go to the documentation of this file.
1 /*******************************************************************************
2  Copyright (C) 2014-2016 Wright State University - All Rights Reserved
3  Daniel P. Foose - Maintainer/Lead Developer
4 
5  This file is part of Vespucci.
6 
7  Vespucci is free software: you can redistribute it and/or modify
8  it under the terms of the GNU General Public License as published by
9  the Free Software Foundation, either version 3 of the License, or
10  (at your option) any later version.
11 
12  Vespucci is distributed in the hope that it will be useful,
13  but WITHOUT ANY WARRANTY; without even the implied warranty of
14  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  GNU General Public License for more details.
16 
17  You should have received a copy of the GNU General Public License
18  along with Vespucci. If not, see <http://www.gnu.org/licenses/>.
19 *******************************************************************************/
20 #ifndef UNIVARIATEDATA_H
21 #define UNIVARIATEDATA_H
22 #include "Global/enums.h"
26 {
27 public:
28  UnivariateData(QString name);
29  UnivariateData(QString name, vec control);
30 
31  void Apply(double left_bound, double right_bound,
32  uword bound_window, const mat &spectra, const vec &abscissa);
33  void Apply(QString peak_shape,
34  double left_bound,
35  double right_bound,
36  const mat &spectra,
37  const vec &abscissa);
38  void Apply(double first_left_bound, double first_right_bound,
39  double second_left_bound, double second_right_bound,
40  uword bound_window, const mat &spectra, const vec &abscissa);
41  void ApplyCorrelation(const mat &spectra, const vec &control);
42  void Calibrate(const vec &x, const vec &y, uword column);
43 
44 };
45 
46 #endif // UNIVARIATEDATA_H
void Calibrate(const vec &x, const vec &y, uword column)
UnivariateData::Calibrate.
void ApplyCorrelation(const mat &spectra, const vec &control)
const QString name() const
void Apply(double left_bound, double right_bound, uword bound_window, const mat &spectra, const vec &abscissa)
UnivariateData(QString name)
The AnalysisResults class A container for a mat object that allows a mat to be copied to a heap-alloc...