visDrop

class visDrop : public kotekan::Stage

Drops frames based on given criteria (for testing) without telling the datasetManager.

For now, frames can be droppen only based on their frequency ID. TODO: Add more options.

Param freq:

Vector of Uint32. Frequency IDs of frames that should be dropped. By default none.

Param frac_lost:

Float. If > 0, instead of dropping the frame, subtract this fraction of FPGA samples from total.

Param frac_rfi:

Float. Set VisFrameView.rfi_total to this value. Must be <= frac_lost.

Public Functions

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