Last change
on this file since 2260 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
|
Rev | Line | |
---|
[955] | 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();
|
---|
[972] | 28 | STFitEntry(const STFitEntry& other);
|
---|
| 29 |
|
---|
[1932] | 30 | STFitEntry& operator=(const STFitEntry& other);
|
---|
| 31 |
|
---|
[955] | 32 | ~STFitEntry();
|
---|
[972] | 33 |
|
---|
[955] | 34 | void setFunctions(const std::vector<std::string>& f)
|
---|
| 35 | { functions_ = f; }
|
---|
| 36 | void setComponents(const std::vector<int>& c)
|
---|
| 37 | { components_ = c; }
|
---|
[1932] | 38 | void setParameters(const std::vector<float>& p)
|
---|
[955] | 39 | { parameters_ = p; }
|
---|
[1932] | 40 | void setErrors(const std::vector<float>& p)
|
---|
| 41 | { errors_ = p; }
|
---|
[955] | 42 | void setParmasks(const std::vector<bool>& m)
|
---|
| 43 | { parmasks_ = m; }
|
---|
| 44 | void setFrameinfo(const std::vector<std::string>& f)
|
---|
| 45 | { frameinfo_ = f; }
|
---|
[960] | 46 | std::vector<std::string> getFunctions() const { return functions_; }
|
---|
| 47 | std::vector<int> getComponents() const { return components_; }
|
---|
[1932] | 48 | std::vector<float> getParameters() const { return parameters_; }
|
---|
| 49 | std::vector<float> getErrors() const { return errors_; }
|
---|
[960] | 50 | std::vector<bool> getParmasks() const { return parmasks_; }
|
---|
| 51 | std::vector<std::string> getFrameinfo() const { return frameinfo_; }
|
---|
[955] | 52 |
|
---|
| 53 | private:
|
---|
[1932] | 54 |
|
---|
[960] | 55 | std::vector<std::string> functions_;
|
---|
| 56 | std::vector<int> components_;
|
---|
[1932] | 57 | std::vector<float> parameters_;
|
---|
| 58 | std::vector<float> errors_;
|
---|
[960] | 59 | std::vector<bool> parmasks_;
|
---|
| 60 | std::vector<std::string> frameinfo_;
|
---|
[955] | 61 | };
|
---|
| 62 |
|
---|
| 63 | }
|
---|
| 64 |
|
---|
| 65 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.