12#ifndef TPGLIBS_AVXFIXEDPEDESTALSUBTRACTPROCESSOR_HPP_
13#define TPGLIBS_AVXFIXEDPEDESTALSUBTRACTPROCESSOR_HPP_
31 __m256i
process(
const __m256i& signal)
override;
38 void configure(
const nlohmann::json& config,
const int16_t* plane_numbers)
override;
AVX signal processor: Fixes the estimated pedestal after a configured amount of time.
__m256i process(const __m256i &signal) override
Estimates the pedestal for some time and subtracts.
uint16_t m_start_period
Configured number of samples to use before fixing.
uint16_t m_num_time_steps
Counted number of samples.
void configure(const nlohmann::json &config, const int16_t *plane_numbers) override
Configure the number of startup samples to use before fixing.
AVX signal processor: Estimates the pedestal and subtracts.