Last change
on this file since 2736 was 1932, checked in by WataruKawasaki, 14 years ago |
New Development: No
JIRA Issue: No
Ready for Test: Yes
Interface Changes: No
What Interface Changed:
Test Programs:
Put in Release Notes: No
Module(s): poly_baseline()
Description: Malte's changes.
|
File size:
1.6 KB
|
Line | |
---|
1 | //
|
---|
2 | // C++ Interface: STFitEntry
|
---|
3 | //
|
---|
4 | // Description:
|
---|
5 | //
|
---|
6 | //
|
---|
7 | // Author: Malte Marquarding <Malte.Marquarding@csiro.au>, (C) 2006
|
---|
8 | //
|
---|
9 | // Copyright: See COPYING file that comes with this distribution
|
---|
10 | //
|
---|
11 | //
|
---|
12 | #ifndef ASAPSTFITENTRY_H
|
---|
13 | #define ASAPSTFITENTRY_H
|
---|
14 |
|
---|
15 | #include <vector>
|
---|
16 | #include <string>
|
---|
17 |
|
---|
18 | namespace asap {
|
---|
19 |
|
---|
20 | /**
|
---|
21 | This is a helper object for transporting Fit parameters
|
---|
22 |
|
---|
23 | @author Malte Marquarding
|
---|
24 | */
|
---|
25 | class STFitEntry{
|
---|
26 | public:
|
---|
27 | STFitEntry();
|
---|
28 | STFitEntry(const STFitEntry& other);
|
---|
29 |
|
---|
30 | STFitEntry& operator=(const STFitEntry& other);
|
---|
31 |
|
---|
32 | ~STFitEntry();
|
---|
33 |
|
---|
34 | void setFunctions(const std::vector<std::string>& f)
|
---|
35 | { functions_ = f; }
|
---|
36 | void setComponents(const std::vector<int>& c)
|
---|
37 | { components_ = c; }
|
---|
38 | void setParameters(const std::vector<float>& p)
|
---|
39 | { parameters_ = p; }
|
---|
40 | void setErrors(const std::vector<float>& p)
|
---|
41 | { errors_ = p; }
|
---|
42 | void setParmasks(const std::vector<bool>& m)
|
---|
43 | { parmasks_ = m; }
|
---|
44 | void setFrameinfo(const std::vector<std::string>& f)
|
---|
45 | { frameinfo_ = f; }
|
---|
46 | std::vector<std::string> getFunctions() const { return functions_; }
|
---|
47 | std::vector<int> getComponents() const { return components_; }
|
---|
48 | std::vector<float> getParameters() const { return parameters_; }
|
---|
49 | std::vector<float> getErrors() const { return errors_; }
|
---|
50 | std::vector<bool> getParmasks() const { return parmasks_; }
|
---|
51 | std::vector<std::string> getFrameinfo() const { return frameinfo_; }
|
---|
52 |
|
---|
53 | private:
|
---|
54 |
|
---|
55 | std::vector<std::string> functions_;
|
---|
56 | std::vector<int> components_;
|
---|
57 | std::vector<float> parameters_;
|
---|
58 | std::vector<float> errors_;
|
---|
59 | std::vector<bool> parmasks_;
|
---|
60 | std::vector<std::string> frameinfo_;
|
---|
61 | };
|
---|
62 |
|
---|
63 | }
|
---|
64 |
|
---|
65 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.