24 #ifndef SKA_CHEETAH_RCPT_LOW_PACKETGENERATORCONFIG_H 25 #define SKA_CHEETAH_RCPT_LOW_PACKETGENERATORCONFIG_H 28 #include "cheetah/utils/Config.h" 29 #include "cheetah/data/Units.h" 42 typedef boost::units::quantity<ska::cheetah::data::MegaHertz, double> FrequencyType;
63 const std::chrono::microseconds&
interval()
const;
64 void interval(std::chrono::microseconds value);
74 const FrequencyType&
fch1()
const;
82 void add_options(OptionsDescriptionEasyInit& add_options)
override;
85 data::DimensionSize<data::Frequency> _number_of_channels;
86 data::DimensionSize<data::Time> _number_of_spectra;
87 FrequencyType _bandwidth;
89 std::size_t _number_of_channels_per_packet;
90 std::chrono::microseconds _interval;
97 #endif // SKA_CHEETAH_RCPT_LOW_PACKETGENERATORCONFIG_H const FrequencyType & fch1() const
returns frequency of the highest channel.
Base class for module configuration.
const std::chrono::microseconds & interval() const
time sepearation between consequetive packets in micro seconds
const FrequencyType & bandwidth() const
returns the bandwidth in Megahertz
Some limits and constants for FLDO.
const data::DimensionSize< data::Frequency > & number_of_channels() const
number of channels per chunk
const std::size_t & number_of_channels_per_packet() const
return the number of channels per packet
const data::DimensionSize< data::Time > & number_of_spectra() const
number of spectra per packet
Configuration for the packet generator to the time seperation of the packets.