freqSplit

class freqSplit : public kotekan::Stage

Separate a VisBuffer stream into two by selecting frequencies in the upper and lower half of the band.

This task takes data coming out of a VisBuffer stream and separates it into two streams. It selects which frames to copy to which buffer by assigning frequencies in the upper and lower half of the CHIME band to different buffer streams.

Todo:

Generalise to arbitary frequency splits.

Buffers

  • in_buf The buffer to be split

    • Format: VisBuffer structured

    • Metadata: VisMetadata

  • out_bufs The two buffers containing the respective upper or lower band frequencies

    • Format: VisBuffer structured

    • Metadata: VisMetadata

Author

Mateus Fandino

Param split_freq:

Double. Frequency to split the incoming buffer at. Lower frequencies got to the first output buffer, equal and higher frequencies go to the second. Default 512.

Public Functions

freqSplit(kotekan::Config &config, const std::string &unique_name, kotekan::bufferContainer &buffer_container)
virtual void main_thread() override