25 #ifndef SKA_CHEETAH_DATA_CUDA_FREQUENCYTIME_H 26 #define SKA_CHEETAH_DATA_CUDA_FREQUENCYTIME_H 28 #include "cheetah/data/cuda/TimeFrequency.h" 29 #include "cheetah/data/FrequencyTime.h" 30 #include "panda/arch/nvidia/DeviceMemory.h" 39 template <
typename NumericalT>
40 class FrequencyTime<Cuda, NumericalT> :
public TimeFrequencyCommon<FrequencyTime<Cuda, NumericalT>>
42 typedef TimeFrequencyCommon<FrequencyTime<Cuda, NumericalT>> CommonBase;
43 typedef panda::DeviceMemory<Cuda, NumericalT> ContainerType;
50 typedef NumericalT NumericalRep;
52 typedef typename CommonBase::FrequencyType FrequencyType;
53 typedef typename CommonBase::TimeType TimeType;
54 typedef typename CommonBase::TimePointType TimePointType;
56 typedef typename ContainerType::Iterator Iterator;
57 typedef typename ContainerType::ConstIterator ConstIterator;
62 template<
typename OtherArch,
typename OtherNumericalT>
63 FrequencyTime(FrequencyTime<OtherArch, OtherNumericalT>
const& ft);
65 template <
typename OtherNumericalT>
66 FrequencyTime(TimeFrequency<Cuda, OtherNumericalT>
const& tf);
68 template <
typename OtherNumericalT>
75 ConstIterator begin()
const;
76 ConstIterator cbegin()
const;
82 ConstIterator end()
const;
83 ConstIterator cend()
const;
88 std::size_t number_of_channels()
const;
93 std::size_t number_of_spectra()
const;
97 std::size_t _number_of_channels;
98 std::size_t _number_of_spectra;
106 #include "cheetah/data/cuda/detail/FrequencyTime.cpp" 108 #endif // ENABLE_CUDA 109 #endif // SKA_CHEETAH_DATA_CUDA_FREQUENCYTIME_H
NumericalT DataType
the underlying data storage type for the amplitude of the signal
Some limits and constants for FLDO.