BadInputFlag

class BadInputFlag : public kotekan::Stage

searches for bad inputs that aren’t marked in the flags field.

Buffers

  • in_buf The buffer from which the visibilities are checked, must be a full triangle.

    • Format: VisBuffer structured

    • Metadata: VisMetadata

  • out_buf The kotekan buffer which will be fed the output.

    • Format: VisBuffer structured

    • Metadata: VisMetadata

Metrics

  • kotekan_badinputflag_frames_total The number of frames found with unmarked bad inputs. The metrics are labelled with which input is bad, and why (Infinite weight, NaN weight).

Author

Richard Shaw

Warning

This will only work correctly if the full correlation triangle is passed in as input.

Public Functions

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

Constructor. Loads config options. Defines subset of products.

virtual void main_thread() override

Primary loop: sorts products and passes them on to output buffer.