Vespucci  1.0.0
matrixanalyzer.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 MATRIXANALYZER_H
21 #define MATRIXANALYZER_H
22 
26 {
27 public:
28  MatrixAnalyzer(QSharedPointer<VespucciWorkspace> ws, const QStringList &data_keys, bool transpose);
30 private:
31  void GetData();
32 
38  QString FindUniqueName(QString name);
39  void AddAnalysisResults(QSharedPointer<AnalysisResults> results, QStringList matrices);
40 
44  bool transpose_;
45 
49  QStringList data_keys_;
50 };
51 
52 #endif // MATRIXANALYZER_H
MatrixAnalyzer(QSharedPointer< VespucciWorkspace > ws, const QStringList &data_keys, bool transpose)
The MetaAnalyzer class This class is used to perform analysis on "pseudo-datasets". This allows us perform analysis on a concatentated spectra matrix from multiple datasets (the MultiAnalyzer derived class) or on a single matrix in a single dataset (the MatrixAnalyzer derived class). This class is not concerned with how the data_ and abscissa_ members are initialized (this is handled by GetData in derived classes).
Definition: metaanalyzer.h:33