Cheetah - SKA - PSS - Prototype Time Domain Search Pipeline
|
A class for performing harmonic summing. More...
#include <cheetah/hrms/Hrms.h>
Public Member Functions | |
Hrms (Config const &config) | |
Construct a new Hrms object. More... | |
Hrms (Hrms const &)=delete | |
Hrms (Hrms &&)=default | |
template<typename Arch , typename T , typename Alloc , typename... Args> | |
void | process (panda::PoolResource< Arch > &resource, data::PowerSeries< Arch, T, Alloc > const &input, std::vector< data::PowerSeries< Arch, T, Alloc >> &output, Args &&... args) |
Perform harmonic summing on a frequency series. More... | |
ska::cheetah::hrms::Hrms::Hrms | ( | Config const & | config | ) |
void ska::cheetah::hrms::Hrms::process | ( | panda::PoolResource< Arch > & | resource, |
data::PowerSeries< Arch, T, Alloc > const & | input, | ||
std::vector< data::PowerSeries< Arch, T, Alloc >> & | output, | ||
Args &&... | args | ||
) |
Perform harmonic summing on a frequency series.
This is a forwarding call that will pass its arguments onto the first implementation that provides a matching method. The implementation must ensure that the correct size and metadata is set on each of the output FrequencySeries before performing the sum.
[in] | resource | A panda::PoolResource instance specifying the resource to process on |
[in] | input | The FrequencySeries instance on which harmonic summing will be performed |
[out] | output | A FrequencySeries instance for each harmonic sum that is performed |
args | Additional arguments to be passed to the implementation |
Arch | The cheetah architecture type |
T | The value type of the input and output FrequencySeries |
Alloc | The allocator type of the input and output FrequencySeries |
Args | The types of additional arguments to be forwarded |
Definition at line 33 of file Hrms.cpp.