BasebandWriter

class BasebandWriter : public kotekan::Stage

Buffers

  • in_buf The buffer streaming data to write

    • Format: BasebandBuffer structured

    • Metadata: BasebandMetadata

Metrics

  • kotekan_baseband_writeout_in_progress Set to 1 when a frequency is being written to, 0 otherwise.

  • kotekan_baseband_writeout_active_events The number of events with any raw files still open

  • kotekan_writer_write_time_seconds The write time of the raw writer. An exponential moving average over ~10 samples.

  • kotekan_writer_bytes_total Number of bytes written to files since the start of this stage

Param root_path:

String. Location in filesystem to write to.

Param dump_timeout:

Double (default 60). Close dump files when they have been inactive this long (in seconds).

Param max_frames_per_second:

Double (default 0) Maximum throughput in frames/s at which data is taken out of the input buffer. Value of 0 or less disabled the throttling.

Public Functions

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