filter.h 1.23 KB
Newer Older
thomas.forbriger's avatar
thomas.forbriger committed
1
/*! \file filter.h
2
 * \brief some time series filter classes (prototypes)
thomas.forbriger's avatar
thomas.forbriger committed
3
4
5
 * 
 * ----------------------------------------------------------------------------
 * 
thomas.forbriger's avatar
thomas.forbriger committed
6
 * $Id: filter.h,v 1.8 2005-07-05 11:26:38 tforb Exp $
thomas.forbriger's avatar
thomas.forbriger committed
7
 * \author Thomas Forbriger
8
 * \date 05/07/2005
thomas.forbriger's avatar
thomas.forbriger committed
9
 * 
10
 * some time series filter classes (prototypes)
thomas.forbriger's avatar
thomas.forbriger committed
11
12
13
14
 * 
 * Copyright (c) 2005 by Thomas Forbriger (BFO Schiltach) 
 * 
 * REVISIONS and CHANGES 
15
 *  - 05/07/2005   V1.0   Thomas Forbriger
thomas.forbriger's avatar
thomas.forbriger committed
16
17
18
19
20
21
22
23
24
25
 * 
 * ============================================================================
 */

// include guard
#ifndef TF_FILTER_H_VERSION

#define TF_FILTER_H_VERSION \
  "TF_FILTER_H   V1.0   "
#define TF_FILTER_H_CVSID \
thomas.forbriger's avatar
thomas.forbriger committed
26
  "$Id: filter.h,v 1.8 2005-07-05 11:26:38 tforb Exp $"
27

thomas.forbriger's avatar
thomas.forbriger committed
28
#include<tsxx/filterbase.h>
thomas.forbriger's avatar
thomas.forbriger committed
29

thomas.forbriger's avatar
thomas.forbriger committed
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
namespace ts {

  namespace filter {

    //! remove trend
    class Trend: public ts::filter::BasicFilter {
      public:
        Ttimeseries operator()(const Ttimeseries& s) const;
    }; // class Trend

    //! remove average
    class Average: public ts::filter::BasicFilter {
      public:
        Ttimeseries operator()(const Ttimeseries& s) const;
    }; // class Average

  } // namespace filter

} // namespace ts
thomas.forbriger's avatar
thomas.forbriger committed
49

thomas.forbriger's avatar
thomas.forbriger committed
50
51
52
#endif // TF_FILTER_H_VERSION (includeguard)

/* ----- END OF filter.h ----- */