00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #ifndef FILTER_NAN_H
00013 #define FILTER_NAN_H
00014
00015 #include <odindata/filter.h>
00016
00020 class FilterNaN : public FilterStep
00021 {
00022 JDXfloat replace;
00023
00024 STD_string label() const {return "noNaN";}
00025 STD_string description() const {return "Replaces every NaN by the given value";}
00026 bool process(Data<float,4>& data, Protocol& prot)const;
00027 FilterStep* allocate() const {return new FilterNaN();}
00028 void init();
00029 };
00030
00031 #endif