24 #ifndef SKA_CHEETAH_DATA_TIMESERIES_H 25 #define SKA_CHEETAH_DATA_TIMESERIES_H 27 #include "cheetah/data/Series.h" 28 #include "cheetah/data/Units.h" 29 #include "cheetah/data/DefaultAllocator.h" 30 #include "cheetah/utils/Architectures.h" 32 #include "panda/DataChunk.h" 46 template <typename Arch, typename ValueType, typename Alloc=typename DefaultAllocator<Arch,ValueType>::type>
48 :
public Series<Arch, ValueType, Alloc>
49 ,
public panda::DataChunk<TimeSeries<Arch, ValueType, Alloc>>
54 typedef Alloc Allocator;
63 explicit TimeSeries(Allocator
const& alloc=Allocator());
71 explicit TimeSeries(std::size_t
size, Allocator
const& alloc=Allocator());
76 template<
typename OtherArch,
typename OtherAlloc>
86 TimeSeries(TimeType
const& dt, std::size_t size=0, Allocator
const& alloc=Allocator());
104 TimeType _sampling_interval;
111 #include "cheetah/data/detail/TimeSeries.cpp" 113 #endif // SKA_CHEETAH_DATA_TIMESERIES_H TimeType const & sampling_interval() const
Retrive the sampling interval.
TimeSeries(Allocator const &alloc=Allocator())
Construct a regularly sampled time series.
Some limits and constants for FLDO.
Base class for generic data series.
Class for time series data.
std::size_t size() const
the size of the series