|
| streaming_writer () |
|
virtual | ~streaming_writer () |
|
| mv_accessible (unsigned, file_num) |
|
| mv_accessible (unsigned, bit_depth) |
|
| mv_accessible (unsigned, data_type_size) |
|
| mv_accessible (unsigned, sample_size) |
|
| mv_accessible (unsigned, record_size) |
|
| mv_accessible (unsigned, acq_rate) |
|
| mv_accessible (double, v_offset) |
|
| mv_accessible (double, v_range) |
|
| mv_accessible (double, center_freq) |
|
| mv_accessible (double, freq_range) |
|
virtual void | prepare_to_write (monarch_wrap_ptr a_mw_ptr, header_wrap_ptr a_hw_ptr) |
|
virtual void | initialize () |
|
virtual void | execute (midge::diptera *a_midge=nullptr) |
|
virtual void | finalize () |
|
| egg_writer () |
|
virtual | ~egg_writer () |
|
A consumer to that writes all time ROACH packets to an egg file.
- Author
- N. S. Oblath
Parameter setting is not thread-safe. Executing is thread-safe.
Node type: "streaming-writer"
Available configuration values:
- "device": node – digitizer parameters
- "bit-depth": uint – bit depth of each sample
- "data-type-size": uint – number of bytes in each sample (or component of a sample for sample-size > 1)
- "sample-size": uint – number of components in each sample (1 for real sampling; 2 for IQ sampling)
- "record-size": uint – number of samples in each record
- "acq-rate": uint – acquisition rate in MHz
- "v-offset": double – voltage offset for ADC calibration
- "v-range": double – voltage range for ADC calibration
- "center-freq": double – the center frequency of the data being digitized in Hz
- "freq-range": double – the frequency window (bandwidth) of the data being digitized in Hz
ADC calibration: analog (V) = digital * gain + v-offset gain = v-range / # of digital levels
Input Stream:
Output Streams: (none)
Definition at line 52 of file streaming_writer.hh.