24 #include "cheetah/rfim/iqrmcpu/test/IqrmCpuTest.h" 25 #include "cheetah/rfim/iqrmcpu/Rfim.h" 26 #include "cheetah/rfim/test_utils/RfimTester.h" 35 IqrmCpuTest::IqrmCpuTest()
40 IqrmCpuTest::~IqrmCpuTest()
44 void IqrmCpuTest::SetUp()
48 void IqrmCpuTest::TearDown()
52 template<
typename NumericalRepT>
55 typedef NumericalRepT NumericalRep;
59 using typename BaseT::BandPassHandler;
62 template<
typename NumericalRepT>
68 typedef typename BaseT::ResultType ResultType;
86 template<
typename DeviceT>
87 ResultType apply_algorithm(DeviceT&& device, DataType& data)
89 return algo()(std::forward<DeviceT>(device), data.shared_from_this());
95 template<
typename NumericalRep>
100 EXPECT_LT(m.false_positives_percentage(), 25);
101 EXPECT_LT(m.false_negatives_percentage(), 24);
105 template<
typename NumericalRep>
110 EXPECT_LT(m.false_positives_percentage(), 80);
111 EXPECT_LT(m.false_negatives_percentage(), 25);
115 template<
typename NumericalRep>
120 EXPECT_LT(m.false_positives_percentage(), 75);
121 EXPECT_LT(m.false_negatives_percentage(), 30);
125 template<
typename NumericalRep>
130 EXPECT_LT(m.false_positives_percentage(), 15);
131 EXPECT_LT(m.false_negatives_percentage(), 33);
135 template<
typename NumericalRep>
140 EXPECT_LT(m.false_positives_percentage(), 14);
141 EXPECT_LT(m.false_negatives_percentage(), 34);
145 template<
typename NumericalRep>
150 EXPECT_LT(m.false_positives_percentage(), 14);
151 EXPECT_LT(m.false_negatives_percentage(), 35);
155 template<
typename NumericalRep>
160 EXPECT_LT(m.false_positives_percentage(), 5);
161 EXPECT_LT(m.false_negatives_percentage(), 70);
167 INSTANTIATE_TYPED_TEST_CASE_P(IqrmCpu,
RfimTester, IqrmCpuTraitsTypes);
A CPU implementation of the iqrmcpu algorithm.
Some limits and constants for FLDO.
A class for analysing and storing the results of the difference between two sets of flags representin...
Collection of RFI scenarios.
Specialise to set non-standard pass/fail criteria.