TS++ library: time series library
seifeclass.h
Go to the documentation of this file.
1 
38 // include guard
39 #ifndef TF_SEIFECLASS_H_VERSION
40 
41 #define TF_SEIFECLASS_H_VERSION \
42  "TF_SEIFECLASS_H V1.1"
43 
44 #include<string>
45 #include<tsxx/filterbase.h>
46 
47 namespace ts {
48 
49  namespace seife {
50 
52  class LPB: public ts::filter::BasicFilter {
53  public:
54  LPB(double t0, int o):
55  Mt0(t0), Mo(o) { }
57  const bool& debug=false) const;
58  private:
59  double Mt0;
60  int Mo;
61  }; // class LPB
62 
64  class HPB: public ts::filter::BasicFilter {
65  public:
66  HPB(double t0, int o):
67  Mt0(t0), Mo(o) { }
69  const bool& debug=false) const;
70  private:
71  double Mt0;
72  int Mo;
73  }; // class HPB
74 
76  class LP2: public ts::filter::BasicFilter {
77  public:
78  LP2(double t0, double h):
79  Mt0(t0), Mh(h) { }
81  const bool& debug=false) const;
82  private:
83  double Mt0, Mh;
84  }; // class LP2
85 
87  class HP2: public ts::filter::BasicFilter {
88  public:
89  HP2(double t0, double h):
90  Mt0(t0), Mh(h) { }
92  const bool& debug=false) const;
93  private:
94  double Mt0, Mh;
95  }; // class HP2
96 
98  class BP2: public ts::filter::BasicFilter {
99  public:
100  BP2(double t0, double h):
101  Mt0(t0), Mh(h) { }
103  const bool& debug=false) const;
104  private:
105  double Mt0, Mh;
106  }; // class BP2
107 
109  class LP1: public ts::filter::BasicFilter {
110  public:
111  LP1(double t0):
112  Mt0(t0) { }
114  const bool& debug=false) const;
115  private:
116  double Mt0;
117  }; // class LP1
118 
120  class HP1: public ts::filter::BasicFilter {
121  public:
122  HP1(double t0):
123  Mt0(t0) { }
125  const bool& debug=false) const;
126  private:
127  double Mt0;
128  }; // class HP1
129 
131  class INT: public ts::filter::BasicFilter {
132  public:
133  INT(double t0):
134  Mt0(t0) { }
136  const bool& debug=false) const;
137  private:
138  double Mt0;
139  }; // class INT
140 
142  class HE1: public ts::filter::BasicFilter {
143  public:
144  HE1(double t0s, double t0):
145  Mt0s(t0s), Mt0(t0) { }
147  const bool& debug=false) const;
148  private:
149  double Mt0s, Mt0;
150  }; // class HE1
151 
153  class LE1: public ts::filter::BasicFilter {
154  public:
155  LE1(double t0s, double t0):
156  Mt0s(t0s), Mt0(t0) { }
158  const bool& debug=false) const;
159  private:
160  double Mt0s, Mt0;
161  }; // class LE1
162 
166  class HE2: public ts::filter::BasicFilter {
167  public:
168  HE2(double t0s, double hs, double t0, double h):
169  Mt0s(t0s), Mhs(hs), Mt0(t0), Mh(h) { }
171  const bool& debug=false) const;
172  private:
173  double Mt0s, Mhs;
174  double Mt0, Mh;
175  }; // class HE2
176 
180  class LE2: public ts::filter::BasicFilter {
181  public:
182  LE2(double t0s, double hs, double t0, double h):
183  Mt0s(t0s), Mhs(hs), Mt0(t0), Mh(h) { }
185  const bool& debug=false) const;
186  private:
187  double Mt0s, Mhs;
188  double Mt0, Mh;
189  }; // class LE2
190 
192  class TID: public ts::filter::BasicFilter {
193  public:
194  TID(int ni):
195  Mni(ni) { }
197  const bool& debug=false) const;
198  private:
199  int Mni;
200  }; // class TID
201 
203  class DIF: public ts::filter::BasicFilter {
204  public:
205  DIF(double t0):
206  Mt0(t0) { }
208  const bool& debug=false) const;
209  private:
210  double Mt0;
211  }; // class DIF
212 
215  public:
217  const bool& debug=false) const;
218  }; // class FIRST
219 
222  const bool& debug=false);
223 
225  void print_help(std::ostream& os);
226 
227  } // namespace seife
228 
229 } // namespace ts
230 
231 #endif // TF_SEIFECLASS_H_VERSION (includeguard)
232 
233 /* ----- END OF seifeclass.h ----- */
tfxx::Handle< BasicFilter > Tfilterhandle
handle to pass filters
Definition: filterbase.h:93
HPB(double t0, int o)
Definition: seifeclass.h:66
Ttimeseries operator()(const Ttimeseries &s, const bool &debug=false) const
Definition: seifeclass.cc:77
HP1(double t0)
Definition: seifeclass.h:122
ts::filter::Ttimeseries Ttimeseries
type of series container
Definition: filterbase.h:76
Ttimeseries operator()(const Ttimeseries &s, const bool &debug=false) const
Definition: seifeclass.cc:130
Ttimeseries operator()(const Ttimeseries &s, const bool &debug=false) const
Definition: seifeclass.cc:62
DIF(double t0)
Definition: seifeclass.h:205
LPB(double t0, int o)
Definition: seifeclass.h:54
HP2(double t0, double h)
Definition: seifeclass.h:89
Ttimeseries operator()(const Ttimeseries &s, const bool &debug=false) const
Definition: seifeclass.cc:92
LE2(double t0s, double hs, double t0, double h)
Definition: seifeclass.h:182
LP1(double t0)
Definition: seifeclass.h:111
Ttimeseries operator()(const Ttimeseries &s, const bool &debug=false) const
Definition: seifeclass.cc:125
HE1(double t0s, double t0)
Definition: seifeclass.h:144
Ttimeseries operator()(const Ttimeseries &s, const bool &debug=false) const
Definition: seifeclass.cc:120
Structure to hold the data samples of a series together with header information to form a time series...
Definition: tsxx.h:83
base class for all filter classes (prototypes)
Ttimeseries operator()(const Ttimeseries &s, const bool &debug=false) const
Definition: seifeclass.cc:67
HE2(double t0s, double hs, double t0, double h)
Definition: seifeclass.h:168
LP2(double t0, double h)
Definition: seifeclass.h:78
Ttimeseries operator()(const Ttimeseries &s, const bool &debug=false) const
Definition: seifeclass.cc:102
ts::filter::Tfilterhandle make_seife_filter(std::string s, const bool &debug)
function to generate filter class
Definition: seifeclass.cc:142
All stuff in this library will be placed within namespace ts.
Definition: anyfilter.cc:43
LE1(double t0s, double t0)
Definition: seifeclass.h:155
Ttimeseries operator()(const Ttimeseries &s, const bool &debug=false) const
Definition: seifeclass.cc:97
Ttimeseries operator()(const Ttimeseries &s, const bool &debug=false) const
Definition: seifeclass.cc:135
INT(double t0)
Definition: seifeclass.h:133
BP2(double t0, double h)
Definition: seifeclass.h:100
Ttimeseries operator()(const Ttimeseries &s, const bool &debug=false) const
Definition: seifeclass.cc:72
void print_help(std::ostream &os)
print usage information
Definition: seifeclass.cc:214
Ttimeseries operator()(const Ttimeseries &s, const bool &debug=false) const
Definition: seifeclass.cc:82
Ttimeseries operator()(const Ttimeseries &s, const bool &debug=false) const
Definition: seifeclass.cc:57
Ttimeseries operator()(const Ttimeseries &s, const bool &debug=false) const
Definition: seifeclass.cc:87
Ttimeseries operator()(const Ttimeseries &s, const bool &debug=false) const
Definition: seifeclass.cc:109