14#ifndef TPGLIBS_NAIVERUNSUMPROCESSOR_HPP_
15#define TPGLIBS_NAIVERUNSUMPROCESSOR_HPP_
52 void configure(
const nlohmann::json& config,
const int16_t* plane_numbers)
override;
Naive typed abstract signal processor.
std::array< int16_t, 16 > naive_array_t
The naive version uses a standard array instead of __m256i.
Naive signal processor: Calculates the running sum of the signal.
naive_array_t m_scale_factor
The S factor in the model equation.
void configure(const nlohmann::json &config, const int16_t *plane_numbers) override
Configures the R factor and S factor according to plane.
naive_array_t process(const naive_array_t &signal) override
Calculate and store the running sum.
naive_array_t m_running_sum
The RS in the model equation.
naive_array_t m_memory_factor
The R factor in the model equation.