11#ifndef TPGLIBS_NAIVETHRESHOLDPROCESSOR_HPP_
12#define TPGLIBS_NAIVETHRESHOLDPROCESSOR_HPP_
34 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: Passes signals above a threshold.
naive_array_t m_threshold
Vector of thresholds to apply.
naive_array_t process(const naive_array_t &signal) override
Masks channels with signals below threshold.
void configure(const nlohmann::json &config, const int16_t *plane_numbers) override
Configures thresholds according to plane numbers.