Class for implementing spectral dereddening.
More...
#include <cheetah/dred/Dred.h>
|
typedef panda::AlgorithmTuple< cuda::Dred< T > > | Implementations |
|
|
| Dred (Config const &config) |
| Construct a new Dred instance. More...
|
|
| Dred (Dred const &)=delete |
|
| Dred (Dred &&)=default |
|
template<typename Arch , typename Alloc , typename... Args> |
void | process (panda::PoolResource< Arch > &resource, data::FrequencySeries< Arch, typename data::ComplexTypeTraits< Arch, T >::type, Alloc >const &input, data::FrequencySeries< Arch, typename data::ComplexTypeTraits< Arch, T >::type, Alloc > &output, data::AccelerationType maximum_acceleration, Args &&... args) |
| Deredden a complex frequency series. More...
|
|
template<typename T>
class ska::cheetah::dred::Dred< T >
Class for implementing spectral dereddening.
- Template Parameters
-
T | The base value type of the data to be dereddened |
Definition at line 46 of file Dred.h.
◆ Dred()
Construct a new Dred instance.
- Parameters
-
config | A Dred configuration object |
Definition at line 32 of file Dred.cpp.
34 , _implementations(cuda::Dred<T>(config.cuda_config(), _config))
◆ process()
template<typename T >
template<typename Arch , typename Alloc , typename... Args>
void ska::cheetah::dred::Dred< T >::process |
( |
panda::PoolResource< Arch > & |
resource, |
|
|
data::FrequencySeries< Arch, typename data::ComplexTypeTraits< Arch, T >::type, Alloc >const & |
input, |
|
|
data::FrequencySeries< Arch, typename data::ComplexTypeTraits< Arch, T >::type, Alloc > & |
output, |
|
|
data::AccelerationType |
maximum_acceleration, |
|
|
Args &&... |
args |
|
) |
| |
Deredden a complex frequency series.
This method forwards to the relevant implementation based on the Arch parameter and the types of the arguments passed.
- Parameters
-
| resource | The resource to process on |
| input | The frequency series to be dereddened |
| output | The output for the dereddened frequency series |
[in] | maximum_acceleration | The maximum acceleration (use to calculate the median filter window size at each frequency) |
[in] | args | Additional arguments to be passed to implementation |
- Template Parameters
-
Arch | The architectiure to be processed on |
Alloc | The allocator type of the input and output |
Args | The types of any additional arguments |
Definition at line 45 of file Dred.cpp.
51 auto& algo = _implementations.template get<Arch>();
52 algo.template
process<Alloc,Args...>(resource,input,output,maximum_acceleration,std::forward<Args>(args)...);
void process(panda::PoolResource< Arch > &resource, data::FrequencySeries< Arch, typename data::ComplexTypeTraits< Arch, T >::type, Alloc >const &input, data::FrequencySeries< Arch, typename data::ComplexTypeTraits< Arch, T >::type, Alloc > &output, data::AccelerationType maximum_acceleration, Args &&... args)
Deredden a complex frequency series.
The documentation for this class was generated from the following files: