1 #ifndef SKA_CHEETAH_SUM_THRESHOLD_RFIM_H 2 #define SKA_CHEETAH_SUM_THRESHOLD_RFIM_H 4 #include "cheetah/rfim/sum_threshold/Config.h" 5 #include "cheetah/data/TimeFrequency.h" 6 #include "cheetah/rfim/RfimBase.h" 7 #include "cheetah/data/RfimFlaggedData.h" 12 namespace sum_threshold {
22 template<
typename RfimTraits>
23 class Rfim :
public RfimBase<Rfim<RfimTraits>, typename RfimTraits::Policy>
28 typedef typename RfimTraits::Policy Policy;
29 typedef typename PolicyInfo<Policy>::AdapterType DataAdapter;
33 typedef cheetah::Cpu Architecture;
39 using BaseT::operator();
42 template<
typename DataType>
43 void operator()(DataType& data, DataAdapter& adpater);
54 #include "detail/Rfim.cpp" 56 #endif // SKA_CHEETAH_SUM_THRESHOLD_RFIM_H Wrap a Rfim flaggeing style detector and adjust the data according to the flags and a specific policy...
std::conditional< std::is_same< void, AdapterDataReturnType >::value, DataArgumentType, AdapterDataReturnType >::type ReturnType
the data type the policy will return
A CPU implementation of the sum_threshold algorithm.
Some limits and constants for FLDO.