baselineCompression

class baselineCompression : public kotekan::Stage

Compress visibility data by stacking together equivalent baselines.

This task takes a stream of uncompressed visibility data and performs a (weighted) average over the equivalent baselines.

Buffers

  • in_bufs The input uncompressed data.

    • Format: VisBuffer structured.

    • Metadata: VisMetadata

  • out_buf The merged and transformed buffer

    • Format: VisBuffer structured

    • Metadata: VisMetadata

Metrics

  • kotekan_baselinecompression_residuals The variance of the residuals.

  • kotekan_baselinecompression_time_seconds The time elapsed to process one frame.

  • kotekan_baselinecompression_frame_total Number of frames seen by each thread.

Author

Richard Shaw

Note

This task requires there to be an inputState and prodState registered for the incoming dataset.

Param stack_type:

String. Type of stacking to apply to the data. Look at documentation of stack_X functions for details.

Param exclude_inputs:

List of ints. Extra inputs to exclude from stack.

Public Functions

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