Cheetah - SKA - PSS - Prototype Time Domain Search Pipeline
|
Public Types | |
typedef NumericalT | DataType |
the underlying data storage type for the amplitude of the signal | |
typedef NumericalT | NumericalRep |
typedef Arch | Architecture |
typedef CommonBaseT::FrequencyType | FrequencyType |
typedef CommonBaseT::TimeType | TimeType |
typedef CommonBaseT::TimePointType | TimePointType |
typedef BaseT::iterator | Iterator |
typedef BaseT::const_iterator | ConstIterator |
typedef BaseT::Spectra | Spectra |
Iterator class for accessing each time sample. More... | |
typedef BaseT::ConstSpectra | ConstSpectra |
typedef BaseT::Channel | Channel |
typedef BaseT::ConstChannel | ConstChannel |
![]() | |
typedef boost::units::quantity< MegaHertz, double > | FrequencyType |
typedef boost::units::quantity< boost::units::si::time, double > | TimeType |
typedef cheetah::utils::ModifiedJulianClock::time_point | TimePointType |
Public Member Functions | |
TimeFrequency () | |
TimeFrequency (DimensionSize< Time > number_of_spectra, DimensionSize< Frequency > number_of_channels) | |
TimeFrequency (DimensionSize< Frequency > number_of_channels, DimensionSize< Time > number_of_spectra) | |
template<class OtherArch , typename OtherNumericalT > | |
TimeFrequency (const TimeFrequency< OtherArch, OtherNumericalT > &tf) | |
template<typename OtherNumericalT > | |
TimeFrequency (FrequencyTime< Cpu, OtherNumericalT > const &ft) | |
template<class OtherArch , typename OtherNumericalT > | |
TimeFrequency (FrequencyTime< OtherArch, OtherNumericalT > const &ft) | |
std::size_t | number_of_channels () const |
std::size_t | number_of_spectra () const |
void | set_channel (unsigned channel_number, DataType const &value) |
sets the value of the specified channel to the provided value across all time samples | |
bool | operator== (TimeFrequency const &) const |
return true if equivalent data | |
template<typename NumericalT > | |
TimeFrequency (TimeFrequency< Cuda, NumericalT > const &tf) | |
template<typename OtherArch > | |
TimeFrequency (TimeFrequency< OtherArch, NumericalT > const &tf) | |
template<typename OtherNumericalT > | |
TimeFrequency (FrequencyTime< Cuda, OtherNumericalT > const &ft) | |
![]() | |
TimeFrequencyCommon (TimeFrequencyCommon< OtherDerivedType > const &tfc) | |
TimePointType const & | start_time () const |
TimePointType | start_time (std::size_t offset) const |
void | start_time (TimePointType const &start_time) |
Set the start time of the instance. More... | |
TimePointType | end_time () const |
TimeType | sample_interval () const |
void | sample_interval (TimeType dt) |
std::vector< FrequencyType > const & | channel_frequencies () const |
std::pair< FrequencyType, FrequencyType > | low_high_frequencies () const |
void | set_channel_frequencies_const_width (FrequencyType const &start, FrequencyType const &delta) |
Set the frequency index based on evenly spaced channels. More... | |
void | set_channel_frequencies (InputIterator begin, InputIterator const end) |
TimeFrequencyMetadata const & | metadata () const |
void | metadata (TimeFrequencyMetadata const &metadata) |
set the metadata | |
Definition at line 44 of file FrequencyTime.h.
typedef BaseT::Spectra ska::cheetah::data::TimeFrequency< Arch, NumericalT >::Spectra |
Iterator class for accessing each time sample.
note the iterator has its own begin() and end() methods to generate iterators over the frequency channels of the sample
Definition at line 112 of file TimeFrequency.h.
ska::cheetah::data::TimeFrequency< Arch, NumericalT >::TimeFrequency | ( | ) |
Construct an empty TimeFrequency object
Definition at line 34 of file TimeFrequency.cpp.
ska::cheetah::data::TimeFrequency< Arch, NumericalT >::TimeFrequency | ( | DimensionSize< Time > | number_of_spectra, |
DimensionSize< Frequency > | number_of_channels | ||
) |
Construct a defined size TimeFrequency object
Definition at line 40 of file TimeFrequency.cpp.
std::size_t ska::cheetah::data::TimeFrequency< Arch, NumericalT >::number_of_channels | ( | ) | const |
Definition at line 129 of file TimeFrequency.cpp.
std::size_t ska::cheetah::data::TimeFrequency< Arch, NumericalT >::number_of_spectra | ( | ) | const |
Definition at line 135 of file TimeFrequency.cpp.