BeamExtract

class BeamExtract : public kotekan::Stage

Stage for extracting one beam from the beamformer output and putting it into a new frame.

Assumes that the number of polarizations is 2

Buffers

  • in_buf The GPU beamformer output buffer

    • Format: Array of 4+4-bit number with the format of [time][beam][pol]

    • Metadata: chimeMetadata

  • out_buf The extracted single beam output buffer

    • Format: Array of 4+4-bit numbers with format [time][pol]

    • Metadata: BeamMetadata

Author

Andre Renard

Param num_beams:

Int. The total number of beams in the output.

Param num_pol:

Int. Must be set to 2 to use this stage

Param extract_beam:

Int. The beam number to extract from the input set of beams; zero based.

Param samples_per_data_set:

Int. Number of time samples in a data set

Public Functions

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