InputSubset

class InputSubset : public kotekan::Stage

kotekan::Stage that extracts a subset of the inputs.

The difference between this stage and the only_inputs option of prodSubset is that this will also subset the num_elements sized parts of the frames, such as gains and eigenvectors.

Buffers

  • in_buf The kotekan buffer from which the visibilities are read, can be any size.

    • Format: VisBuffer structured

    • Metadata: VisMetadata

  • out_buf The kotekan buffer which will be fed the subset of visibilities.

    • Format: VisBuffer structured

    • Metadata: VisMetadata

Author

Richard Shaw

Param inputs:

List of ints. The channel IDs for the inputs to extract.

Public Functions

InputSubset(kotekan::Config &config, const std::string &unique_name, kotekan::bufferContainer &buffer_container)

Constructor. Loads config options.

virtual void main_thread() override

Primary loop: extracts inputs and passes them on to output buffer.