You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
template<typename T, typename I = unsigned long>
71
+
template<typename T, typename I = unsigned long
72
+
std::size_t A = 0>
72
73
struct HampelFilterVisitor;
73
74
74
75
// -------------------------------------
@@ -85,13 +86,18 @@
85
86
explicit
86
87
HampelFilterVisitor(std::size_t window_size,
87
88
hampel_type ht = hampel_type::median,
88
-
T num_of_std = 3);
89
+
T num_of_std = 3,
90
+
bool populate_idxs = false);
89
91
</PRE>
90
92
</I>
93
+
If <I>populate_idxs</I> is true, the input data column will be unchanged. Instead, a vector of indices to datapoints affected will be populated and can be accessed by calling <I>get_idxs()</I>.<BR><BR>
94
+
<I>get_result()</I> returns number of data points affected<BR>
95
+
<I>get_idxs()</I> returns a std::vector of indices of datapoints affected<BR>
91
96
</td>
92
97
<tdwidth="30%">
93
98
<B>T</B>: Column data type.<BR>
94
-
<B>I</B>: Index type.
99
+
<B>I</B>: Index type.<BR>
100
+
<B>A</B>: Memory alignment boundary for vectors. Default is system default alignment<BR>
0 commit comments