24 #include "cheetah/data/ExtendedTimeFrequency.h" 25 #include "cheetah/data/TimeFrequency.h" 31 template<
typename TimeFrequencyT>
32 ExtendedTimeFrequency<TimeFrequencyT>::ExtendedTimeFrequency(std::shared_ptr<TimeFrequencyT>
const& data)
37 template<
typename TimeFrequencyT>
38 ExtendedTimeFrequency<TimeFrequencyT>::~ExtendedTimeFrequency()
42 template<
typename TimeFrequencyT>
43 ExtendedTimeFrequency<TimeFrequencyT>::operator
typename ExtendedTimeFrequency<TimeFrequencyT>::Type
const&()
const 48 template<
typename TimeFrequencyT>
55 template<
typename TimeFrequencyT>
62 template<
typename TimeFrequencyT>
69 template<
typename TimeFrequencyT>
73 return this->
get().sample_interval();
76 template<
typename TimeFrequencyT>
80 return this->
get().sample_interval(interval);
83 template<
typename TimeFrequencyT>
87 return this->
get().channel_frequencies();
90 template<
typename TimeFrequencyT>
94 return this->
get().low_high_frequencies();
97 template<
typename TimeFrequencyT>
101 this->
get().set_channel_frequencies_const_width(start, delta);
104 template<
typename TimeFrequencyT>
108 this->
get().set_channel(channel_number, value);
115 typedef typename T::TimeFrequencyType type;
116 inline static type& extract(T& t) {
return static_cast<type&
>(t); }
117 inline static type
const& extract(T
const& t) {
return static_cast<type const&
>(t); }
std::pair< FrequencyType, FrequencyType > low_high_frequencies() const
Some limits and constants for FLDO.
Mjd const & start_time() const
void set_channel(unsigned channel_number, NumericalRep const &value)
sets the value of the specified channel to the provided value across all time samples ...
std::vector< FrequencyType > const & channel_frequencies() const
void set_channel_frequencies_const_width(FrequencyType const &start, FrequencyType const &delta)
Set the frequency index based on evenly spaced channels.
TimePointType const & start_time() const
get the start time of first spectrum
TimeType sample_interval() const