24 #ifndef SKA_CHEETAH_CHANNEL_MASK_FLAGGEDCHANNELS_H 25 #define SKA_CHEETAH_CHANNEL_MASK_FLAGGEDCHANNELS_H 27 #include "cheetah/data/TimeFrequency.h" 28 #include "pss/astrotypes/multiarray/DimensionSpan.h" 33 namespace channel_mask {
48 void insert(pss::astrotypes::DimensionSpan<data::Frequency>
const& span);
53 template<
typename TimeFrequencyType>
54 std::vector<typename TimeFrequencyType::SliceType>
flagged_channels(TimeFrequencyType& tf_data)
const;
57 std::vector<pss::astrotypes::DimensionSpan<data::Frequency>> _channel_ranges;
64 #include "detail/FlaggedChannels.cpp" 66 #endif // SKA_CHEETAH_CHANNEL_MASK_FLAGGEDCHANNELS_H void insert(pss::astrotypes::DimensionSpan< data::Frequency > const &span)
insert the span into the glagged list in the appropriate place.
extracts slices from TimeFrequecy blocks corresponding to flagged channels
Some limits and constants for FLDO.
std::vector< typename TimeFrequencyType::SliceType > flagged_channels(TimeFrequencyType &tf_data) const
extract slices from the data corresponding to the flagged values