ODIN
odindata
filter_detrend.h
1
/***************************************************************************
2
filter_detrend.h - description
3
-------------------
4
begin : Sun May 17 2009
5
copyright : (C) 2000-2021 by Thies Jochimsen
6
email : thies@jochimsen.de
7
***************************************************************************/
8
9
/***************************************************************************
10
* *
11
* This program is free software; you can redistribute it and/or modify *
12
* it under the terms of the GNU General Public License as published by *
13
* the Free Software Foundation; either version 2 of the License, or *
14
* (at your option) any later version. *
15
* *
16
***************************************************************************/
17
18
#ifndef FILTER_DETREND_H
19
#define FILTER_DETREND_H
20
21
#include <odindata/filter_step.h>
22
23
class
FilterDeTrend :
public
FilterStep
{
24
25
LDRint
nlow;
26
LDRbool
zeromean;
27
28
STD_string
label
()
const
{
return
"detrend"
;}
29
STD_string
description
()
const
{
return
"Remove slow drift over time"
;}
30
bool
process
(
Data<float,4>
& data,
Protocol
& prot)
const
;
31
FilterStep
*
allocate
()
const
{
return
new
FilterDeTrend();}
32
void
init
();
33
};
34
35
#endif
Data
Definition:
odindata/data.h:148
FilterStep
Definition:
filter_step.h:31
FilterStep::process
virtual bool process(Data< float, 4 > &data, Protocol &prot) const
LDRbool
Definition:
ldrtypes.h:108
LDRnumber< int >
Protocol
Protocol proxy.
Definition:
protocol.h:33
Step< FilterStep >::allocate
virtual FilterStep * allocate() const=0
Step< FilterStep >::description
virtual STD_string description() const=0
Step< FilterStep >::init
virtual void init()=0
Step< FilterStep >::label
virtual STD_string label() const=0
Generated on Fri Oct 15 2021 11:36:54 for ODIN by
1.9.1