25 #ifndef SKA_CHEETAH_DATA_CUDA_TIMEFREQUENCY_H 26 #define SKA_CHEETAH_DATA_CUDA_TIMEFREQUENCY_H 28 #include "cheetah/data/TimeFrequency.h" 29 #include "panda/arch/nvidia/DeviceMemory.h" 37 template <
typename NumericalT>
38 class TimeFrequency<Cuda, NumericalT> :
public TimeFrequencyCommon<TimeFrequency<Cuda, NumericalT>>
40 typedef TimeFrequencyCommon<TimeFrequency<Cuda, NumericalT>> CommonBase;
41 typedef panda::DeviceMemory<Cuda, NumericalT> ContainerType;
48 typedef NumericalT NumericalRep;
50 typedef typename CommonBase::FrequencyType FrequencyType;
51 typedef typename CommonBase::TimeType TimeType;
52 typedef typename CommonBase::TimePointType TimePointType;
54 typedef typename ContainerType::Iterator Iterator;
55 typedef typename ContainerType::ConstIterator ConstIterator;
60 template<
typename OtherArch,
typename OtherNumericalT>
61 TimeFrequency(TimeFrequency<OtherArch, OtherNumericalT>
const& tf);
63 template<
typename OtherArch>
64 TimeFrequency(TimeFrequency<OtherArch, NumericalT>
const& tf);
66 template <
typename OtherNumericalT>
67 TimeFrequency(FrequencyTime<Cuda, OtherNumericalT>
const& ft);
69 template <
typename OtherNumericalT>
76 ConstIterator begin()
const;
77 ConstIterator cbegin()
const;
83 ConstIterator end()
const;
84 ConstIterator cend()
const;
98 std::size_t _number_of_channels;
99 std::size_t _number_of_spectra;
106 #include "cheetah/data/cuda/detail/TimeFrequency.cpp" 108 #endif // ENABLE_CUDA 109 #endif // SKA_CHEETAH_DATA_CUDA_TIMEFREQUENCY_H
Some limits and constants for FLDO.
NumericalT DataType
the underlying data storage type for the amplitude of the signal
std::size_t number_of_channels() const
std::size_t number_of_spectra() const