Ask a Question | Search DSPSR: |
Home
|
Public Types |
Public Member Functions |
Static Public Attributes |
Protected Member Functions |
Protected Attributes |
List of all members
dsp::BitTable Class Reference Look-up table for converting N-bit digitized to floating point numbers. More...
Inheritance diagram for dsp::BitTable:
Detailed DescriptionLook-up table for converting N-bit digitized to floating point numbers. Member Function Documentation◆ extract()
Extract the ith sample from byte. Each byte is treated as unique_values consecutive values, from most significant bit to least significant bit, or vice versa (depending on order).
Reimplemented in dsp::EmerlinTwoBitTable, dsp::CODIFTwoBitTable, and dsp::VDIFTwoBitTable. ◆ generate()
Generate a look-up table for conversion to floating point.
Referenced by dsp::TwoBitFour::get_lookup_block(). ◆ set_effective_nbit()
Set the effective number of bits. For example, a digitizer may set 8-bit thresholds to effect a 6-bit digitizer, leaving head room for RFI ◆ set_zero_is_a_threshold()
Set to true if zero is a threshold; set to false if zero is a value. If zero is a threshold, then there are an equal number of +ve and -ve states and no representation of the value 0; e.g. in signed 8-bit values, the range [-128,127] is shifted by +0.5 to [-127.5,127.5] and there is no zero, only -0.5 and +0.5 on either side of it. If zero is a value, then [-128,127] remains [-128,127] and zero remains zero. The documentation for this class was generated from the following files:
Generated using doxygen 1.8.17
|