astrotypes
0.0
|
A template class representing values associated with a time and frequecny such as Stokes values or voltages. More...
#include <src/cpp/pss/astrotypes/types/TimeFrequency.h>
Public Member Functions | |
TimeFrequency () | |
TimeFrequency (DimensionSize< units::Time >, DimensionSize< units::Frequency >) | |
TimeFrequency (DimensionSize< units::Frequency >, DimensionSize< units::Time >) | |
template<typename FrequencyTimeType , typename Enable = typename std::enable_if< has_exact_dimensions<FrequencyTimeType, units::Frequency, units::Time>::value>::type> | |
TimeFrequency (FrequencyTimeType const &) | |
The transpose constructor. More... | |
~TimeFrequency () | |
![]() | |
TimeFreqCommon () | |
TimeFreqCommon (TimeFreqCommon const &) | |
TimeFreqCommon (MultiArray< Alloc, T, TimeFreqCommon, units::Time, units::Frequency >const &t) | |
TimeFreqCommon (MultiArray< Alloc, T, TimeFreqCommon, units::Time, units::Frequency > &&t) | |
Channel | channel (std::size_t channel_number) |
retrun a single channel across all time samples More... | |
ConstChannel | channel (std::size_t channel_number) const |
Spectra | spectrum (std::size_t offset) |
return a single spectrum from the specified offset More... | |
ConstSpectra | spectrum (std::size_t offset) const |
std::size_t | number_of_channels () const |
return the number of channels in the data structure More... | |
std::size_t | number_of_spectra () const |
return the number of spectra in the data structure More... | |
![]() | |
MultiArray (DimensionSize< Dim > size, DimensionSize< Dims >...sizes) | |
MultiArray (MultiArray const &)=default | |
copy operator needs to be called explicitly as this is an expensive operation More... | |
MultiArray (DimensionType const &) | |
initialise and transpose from a group with different memory ordering More... | |
iterator | begin () |
iterators acting over he entire data structure More... | |
const_iterator | begin () const |
iterator | end () |
const_iterator | end () const |
const_iterator | cbegin () const |
const_iterator | cend () const |
ReducedDimensionSliceType | operator[] (DimensionIndex< units::Time > index) |
take a slice of width 1 data at the specified index of the first dimension More... | |
ConstReducedDimensionSliceType | operator[] (DimensionIndex< units::Time > index) const |
std::enable_if< has_dimension< MultiArray, Dim >::value &&!std::is_same< Dim, units::Time >::value, typename OperatorSliceType< Dim >::type >::type | operator[] (DimensionIndex< Dim > const &) |
std::enable_if< has_dimension< MultiArray, Dim >::value &&!std::is_same< Dim, units::Time >::value, typename ConstOperatorSliceType< Dim >::type >::type | operator[] (DimensionIndex< Dim > const &) const |
std::enable_if< std::is_same< Dim, units::Time >::value, DimensionSize< units::Time > >::type | size () const |
return a slice of the specified dimension spanning the index_range provided More... | |
std::enable_if<!std::is_same< Dim, units::Time >::value, DimensionSize< Dim > >::type | size () const |
std::enable_if< std::is_same< Dim, units::Time >::value, DimensionSize< units::Time > >::type | dimension () const |
std::enable_if<!std::is_same< Dim, units::Time >::value, DimensionSize< Dim > >::type | dimension () const |
std::size_t | data_size () const |
the total size of data in all dimensions More... | |
bool | operator== (MultiArray const &) const |
compare data in the two arrays More... | |
bool | equal_size (MultiArray const &) const |
return true if the sizes of each dimension are equivalent More... | |
Additional Inherited Members | |
![]() | |
MultiArray (typename std::enable_if< arg_helper< units::Time, Dims...>::value, bool >::type disable_resize_tag, DimensionSize< Dims > const &...) | |
MultiArray (typename std::enable_if< has_dimensions< DimensionType, units::Time, OtherDimensions...>::value, bool >::type disable_transpose_tag, DimensionType const &d) | |
std::enable_if<!arg_helper< units::Time, Dimension, Dims...>::value, void >::type | do_resize (std::size_t total, DimensionSize< Dimension > size, DimensionSize< Dims >...sizes) |
std::enable_if<!arg_helper< units::Time, Dimension, Dims...>::value, void >::type | do_resize (std::size_t total, DimensionSize< Dimension > size, DimensionSize< Dims >...sizes, T const &value) |
std::enable_if< arg_helper< units::Time, Dimension, Dims...>::value, void >::type | do_resize (std::size_t total, DimensionSize< Dimension > size, DimensionSize< Dims >...sizes) |
std::enable_if< arg_helper< units::Time, Dimension, Dims...>::value, void >::type | do_resize (std::size_t total, DimensionSize< Dimension > size, DimensionSize< Dims >...sizes, T const &value) |
void | do_resize (std::size_t total) |
void | do_resize (std::size_t total, T const &value) |
void | do_transpose (SelfSlice &, OtherSlice const &) |
A template class representing values associated with a time and frequecny such as Stokes values or voltages.
Stored as a contiguous block af complete spectrum.
Definition at line 113 of file TimeFrequency.h.
typedef BaseT::Channel pss::astrotypes::TimeFrequency< T, Alloc >::Channel |
Definition at line 119 of file TimeFrequency.h.
typedef BaseT::ConstChannel pss::astrotypes::TimeFrequency< T, Alloc >::ConstChannel |
Definition at line 120 of file TimeFrequency.h.
typedef BaseT::ConstSpectra pss::astrotypes::TimeFrequency< T, Alloc >::ConstSpectra |
Definition at line 122 of file TimeFrequency.h.
typedef BaseT::Spectra pss::astrotypes::TimeFrequency< T, Alloc >::Spectra |
Definition at line 121 of file TimeFrequency.h.
pss::astrotypes::TimeFrequency< T, Alloc >::TimeFrequency | ( | ) |
Definition at line 29 of file TimeFrequency.cpp.
pss::astrotypes::TimeFrequency< T, Alloc >::TimeFrequency | ( | DimensionSize< units::Time > | time_size, |
DimensionSize< units::Frequency > | freq_size | ||
) |
Definition at line 35 of file TimeFrequency.cpp.
pss::astrotypes::TimeFrequency< T, Alloc >::TimeFrequency | ( | DimensionSize< units::Frequency > | freq_size, |
DimensionSize< units::Time > | time_size | ||
) |
Definition at line 41 of file TimeFrequency.cpp.
pss::astrotypes::TimeFrequency< T, Alloc >::TimeFrequency | ( | FrequencyTimeType const & | ft | ) |
The transpose constructor.
copy data from a FrequencyTime object
Definition at line 48 of file TimeFrequency.cpp.
pss::astrotypes::TimeFrequency< T, Alloc >::~TimeFrequency | ( | ) |
Definition at line 54 of file TimeFrequency.cpp.