qse  0.5.4
qsedataflow.cpp
Go to the documentation of this file.
1 #include "qsedataflow.h"
2 
3 #include "qsefilereader.h"
4 // #include "qseaveragerrole.h"
5 // #include "qseaverager.h"
6 #include "qsedataset.h"
7 #include "qseinputfile.h"
8 #include "qsedatadeglitcher.h"
9 #include "qsenormalizer.h"
10 #include "qseedgealigner.h"
11 #include "qsescanaverager.h"
12 
13 // #include <QMainWindow>
14 // #include <QTableView>
15 // #include "qsegraphscansmodel.h"
16 
17 QseDataFlow::QseDataFlow(QObject *parent)
18  : QObject(parent),
19  m_InputReader(NULL),
20  m_InputData(NULL),
21  m_Deglitcher(NULL),
22  m_DeglitchedData(NULL),
23  m_Normalizer(NULL),
24  m_NormalizedData(NULL),
25  m_EdgeAligner(NULL),
26  m_AlignedData(NULL),
27  m_ScanAverager(NULL),
28  m_AveragedData(NULL)
29 {
30  m_InputReader = new QseFileReader("input", this);
32 
33 // m_DeglitchedData = new QseDataSet("deglitched", this);
34 // m_Deglitcher = new QseDataDeglitcher(m_InputData,
35 // m_DeglitchedData,
36 // "deglitcher",
37 // this);
38 
39  m_NormalizedData = new QseDataSet("norm", this);
42  "normalizer",
43  this);
44 
45 // m_AlignedData = new QseDataSet("aligned", this);
46 // m_EdgeAligner = new QseEdgeAligner(m_NormalizedData,
47 // m_AlignedData,
48 // "aligner",
49 // this);
50 
51  m_AveragedData = new QseDataSet("avg", this);
54  "averager",
55  this);
56 
57 // QMainWindow *test = new QMainWindow(NULL);
58 
59 // QTableView *table = new QTableView(test);
60 
61 // test -> setCentralWidget(table);
62 
63 // QseGraphScansModel *model = new QseGraphScansModel(m_InputData, table, this);
64 
65 // table -> setModel(model);
66 
67 // test -> show();
68 }
69 
71 {
72  delete m_InputReader;
73 }
QseNormalizer * m_Normalizer
Definition: qsedataflow.h:35
QseInputFile * m_InputData
Definition: qsedataflow.h:32
QseDataSet * m_NormalizedData
Definition: qsedataflow.h:36
QseInputFile * inputFile()
QseFileReader * m_InputReader
Definition: qsedataflow.h:31
QseDataFlow(QObject *parent=0)
Definition: qsedataflow.cpp:17
QseDataSet * m_AveragedData
Definition: qsedataflow.h:40
QseScanAverager * m_ScanAverager
Definition: qsedataflow.h:39