feat: RunningQuality - running SQI

This commit is contained in:
2026-03-09 18:38:21 +01:00
parent fe300dabd3
commit 95d1fee44d
4 changed files with 209 additions and 3 deletions

View File

@@ -17,7 +17,7 @@ static std::vector<double> make_ones(size_t sw) {
SsfFilter::SsfFilter(size_t upslope_width) :
sw(upslope_width),
// Filt(N, shift, offset, taps)
f_delta_u(2, 0, 0, std::vector {1.0, -1.0}),
f_delta_u(2, 0, 0, std::vector<double> {1.0, -1.0}),
f_window(upslope_width, 0, 0, make_ones(upslope_width))
{}
double SsfFilter::filter(double val) {