17 m_start_period = config[
"start_period"];
#define REGISTER_AVXPROCESSOR_CREATOR(processor_name, processor_class)
Factory registration macro.
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 accumulation limit according to plane number.
__m256i process(const __m256i &signal) override
Estimate the pedestal using the given signal and subtract.
__m256i m_pedestal
Vector of estimated pedestals for each channel.
virtual __m256i process(const __m256i &signal) override
Simple signal pass-through on __m256i type.