<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="1.13.2" xml:lang="en-US">
  <compounddef id="page_digital" kind="page">
    <compoundname>page_digital</compoundname>
    <title>Digital Modulation</title>
    <briefdescription>
    </briefdescription>
    <detaileddescription>
<sect1 id="page_digital_1digtial_introduction">
<title>Introduction</title><para>This is the gr-digital package. It contains all of the digital modulation blocks, utilities, and examples. To use the digital blocks, the Python namespaces is in gnuradio.digital, which would be normally imported as:</para>
<para><programlisting><codeline><highlight class="normal">from<sp/><ref refid="namespacegnuradio" kindref="compound">gnuradio</ref><sp/></highlight><highlight class="keyword">import</highlight><highlight class="normal"><sp/>digital</highlight></codeline>
</programlisting></para>
<para>See the Doxygen documentation for details about the blocks available in this package.</para>
<para>A quick listing of the details can be found in Python after importing by using:</para>
<para><programlisting><codeline><highlight class="normal">help(digital)</highlight></codeline>
</programlisting></para>
</sect1>
<sect1 id="page_digital_1digital_constellations">
<title>Constellation Objects</title><para>GNU Radio supports the creation and use of Constellation objects for many of its digital communications needs. We define these constellations with a set of constellation points in complex space and the symbol mappings to those points. For a constellation that has 4 symbols, it then has log2(4) = 2 bits/symbol. We define this constellation with:</para>
<para><preformatted>
    constel_points = [c0, c1, c2, c3]
    symbols = [s0, s1, s2, s3]
</preformatted></para>
<para>In this case: <formula id="28">$c_i \in C$</formula> and  <formula id="29">$s_i \in [00, 01, 10,
11]$</formula>. Also, the mapping is a 1-to-1 for the items in both lists, so the symbol <formula id="30">$s_0$</formula> is positioned in complex space at the point <formula id="31">$c_0$</formula>.</para>
<para>In the code itself, the symbols are referred to as the &apos;pre_diff_code&apos; since this is the mapping before the application of differential modulation, if used.</para>
<para>The constellation object classes are defined in <ref refid="constellation_8h" kindref="compound">constellation.h</ref>. There is a hierarchy of classes for different purposes and which represent special classes of constellations. The all derive from the virtual class <ref refid="classgr_1_1digital_1_1constellation" kindref="compound">gr::digital::constellation</ref>. All constellations we will make are based on classes derived from this base:</para>
<para><preformatted>
<ref refid="classgr_1_1digital_1_1constellation" kindref="compound">gr::digital::constellation</ref>
    --&gt; <ref refid="classgr_1_1digital_1_1constellation__calcdist" kindref="compound">gr::digital::constellation_calcdist</ref>
    --&gt; <ref refid="classgr_1_1digital_1_1constellation__sector" kindref="compound">gr::digital::constellation_sector</ref>
        --&gt; <ref refid="classgr_1_1digital_1_1constellation__rect" kindref="compound">gr::digital::constellation_rect</ref>
            --&gt; <ref refid="classgr_1_1digital_1_1constellation__expl__rect" kindref="compound">gr::digital::constellation_expl_rect</ref>
        --&gt; <ref refid="classgr_1_1digital_1_1constellation__psk" kindref="compound">gr::digital::constellation_psk</ref>
    --&gt; <ref refid="classgr_1_1digital_1_1constellation__bpsk" kindref="compound">gr::digital::constellation_bpsk</ref>
    --&gt; <ref refid="classgr_1_1digital_1_1constellation__qpsk" kindref="compound">gr::digital::constellation_qpsk</ref>
    --&gt; <ref refid="classgr_1_1digital_1_1constellation__dqpsk" kindref="compound">gr::digital::constellation_dqpsk</ref>
    --&gt; <ref refid="classgr_1_1digital_1_1constellation__8psk" kindref="compound">gr::digital::constellation_8psk</ref>
</preformatted></para>
<para>Each constellation class has a set of attributes and functions useful for manipulating the constellations and for converting symbols to and from complex points. One of the more important functions is the <ref refid="classgr_1_1digital_1_1constellation_1aecc0c3b7b1042efe9100937988f7902b" kindref="member">gr::digital::constellation::decision_maker</ref> function that takes in a sample in complex space and returns the symbol that it maps to. How this calculation is performed generally distinguishes the constellation classes from each other.</para>
<para>The <ref refid="classgr_1_1digital_1_1constellation__calcdist" kindref="compound">gr::digital::constellation_calcdist</ref> is the most generic constellation class we can create. This takes in the constellation points, symbol mapping, a rotational symmetry, and the number of dimensions. The decision_maker function takes in a complex sample x and calculates the Euclidean distance between x and each point in the constellation map of the object. The constellation point that has the minimum Euclidean distance to x is selected as the best match. The decision_maker will then return the symbol value that matches to this selected constellation point.</para>
<para>We then have a concept of a constellation with a well-defined concept of sectors in the <ref refid="classgr_1_1digital_1_1constellation__sector" kindref="compound">gr::digital::constellation_sector</ref>. This is farther refined if we know that the constellation is rectangular and can use the <ref refid="classgr_1_1digital_1_1constellation__rect" kindref="compound">gr::digital::constellation_rect</ref> class. These classes have an overloaded decision_maker function that is specific to how the sectors are defined in the constructor. Essentially, the decision making math for this class is less costly than calculating the Euclidean distance for each point in the space. So if we can sectorize our constellation, using this class will be computationally cheaper.</para>
<para>Finally, we have a set of pre-defined, hard-coded constellations for BPSK (<ref refid="classgr_1_1digital_1_1constellation__bpsk" kindref="compound">gr::digital::constellation_bpsk</ref>), QPSK (<ref refid="classgr_1_1digital_1_1constellation__qpsk" kindref="compound">gr::digital::constellation_qpsk</ref>), DQPSK (<ref refid="classgr_1_1digital_1_1constellation__dqpsk" kindref="compound">gr::digital::constellation_dqpsk</ref>), and 8PSK (<ref refid="classgr_1_1digital_1_1constellation__8psk" kindref="compound">gr::digital::constellation_8psk</ref>). These derive directly from <ref refid="classgr_1_1digital_1_1constellation" kindref="compound">gr::digital::constellation</ref> and specifically overload the decision_maker function. We have very simple metrics for calculating decisions for each of these constellations. For BPSK, we simply slice on the real axis. Samples are based solely on whether the real part of the complex symbol x is greater than or less than 0. Similar, simple, decision makers are defined for the others.</para>
<para>Note that these specific constellations for the PSK modulations are defined for only one mapping of the constellation points to the symbols. Each is Gray coded, but for a specific Gray coding that is hard-coded into the class.</para>
<sect2 id="page_digital_1digital_grc_constellations">
<title>Constellation Objects in GRC</title><para>GRC provides two constellation representations that we can use to more easily define and interact with constellation objects. These are located in the &apos;Modulators&apos; category as &apos;Constellation Object&apos; and &apos;Constellation Rect. Object&apos;. These allow us to easily specify the constellation points, symbol list, and other properties of the constellation objects. They return the base() of the object, so the variable&apos;s ID can be used directly with blocks that accept constellation objects.</para>
<para>These constellation blocks also allow us to specify the soft decision LUT if using the constellation object for soft decision outputs. The input can either be &apos;None&apos; (default), a list of the soft bits that were generated externally or by another function, or &apos;auto&apos; where the block will automatically calculate the soft decisions based on the constellation points and symbol map.</para>
</sect2>
</sect1>
<sect1 id="page_digital_1digital_python_helpers">
<title>Python Constellation Helper Functions</title><para>A series of helper functions are defined in Python to create different, common constellations. There are various functions that have various levels of complexity in their definitions.</para>
<sect2 id="page_digital_1digital_python_helpers_psk">
<title>PSK Python Helpers</title><para>There are two modules imported directly into gnuradio.digital. The first is gr-digital/python/digital/psk.py and the second is gr-digital/python/digital/psk_constellations.py. The gr-digital/python/digital/psk.py module defines the following constellations:</para>
<para><preformatted>
    psk_constellation(m, mod_code, differential)
</preformatted></para>
<para>This function defines a PSK modulation of order &apos;m&apos; (that is, there are m number of constellation points / symbols). The &apos;mod_code&apos; is either mod_codes.GRAY_CODE or mode_codes.NO_CODE to set the symbol mapping up as either Gray coded or not. The &apos;differential&apos; argument is either True to use differential coding or False for non-differential coding.</para>
<para>This function creates and returns a constellation object that can then be used by any block that takes a constellation (<ref refid="classgr_1_1digital_1_1constellation__decoder__cb" kindref="compound">gr::digital::constellation_decoder_cb</ref>, <ref refid="classgr_1_1digital_1_1constellation__receiver__cb" kindref="compound">gr::digital::constellation_receiver_cb</ref>, <ref refid="classgr_1_1digital_1_1constellation__soft__decoder__cf" kindref="compound">gr::digital::constellation_soft_decoder_cf</ref>, or gr::digital::lms_dd_equalizer_cc).</para>
<para>The gr-digital/python/digital/psk.py module holds functions similar to digital.psk_constellation.</para>
<para>There is another Python file full of helper functions to create different constellations. This is found in the gr-digital/python/digital/psk_constellation.py file. This file provides functions that build the vectors of constellation points and symbol mappings that can be used to create a constellation object. These are particularly helpful when using the Constellation Obj. and Constellation Rect. GUI elements in GRC.</para>
<para>The gr-digital/python/digital/psk_constellation.py file has extensive documentation that describes the naming scheme used for the different constellations that will not be repeated here. The main thing to understand is that these functions define constellations of the same order with different Gray code mappings. The function names are:</para>
<para><preformatted>
    (const_points, symbol_map) = psk_M_0xk_&lt;permutation&gt;()
</preformatted></para>
<para>Where M is the order of the modulation (2 for BPSK, 4 for QPSK, etc.), and k and &lt;permutation&gt; define a particular encoding for the Gray code mapping used. The documentation in the file explains how these two concepts define the Gray code mapping.</para>
<para>These functions are also simply named &quot;psk_M_n&quot; when n is an integer from 0 to N-1 for however many mappings are defined for that modulation. Not all modulations are fully defined, and the value for n has no other meaning except as a counter.</para>
<para>The functions return a tuple of lists. The first list in the tuple is the list of complex constellation points and the second list contains the symbols mapped to those points. These lists can then be passed to a constellation class directly to create a constellation of any Gray code mapping needed.</para>
<para>While not all Gray code mappings of the modulations are defined, there is a generator function to automatically build any rotation of a basis constellation:</para>
<para><preformatted>
    (const_points, symbol_map) = \
        constellation_map_generator(basis_cpoints, basis_symbols, k, pi)
</preformatted></para>
<para>We provide a basis constellation map and symbol map as the fundamental rotation of the constellation points. This function uses the k and pi inputs (see the discussion in psk_constellation.py for what these mean) to return a new rotation of the constellation&apos;s symbols. If the basis symbols are Gray coded than the output symbols will also be Gray coded. Note that this algorithm specifically depends on the constellation in complex space to be square to preserve the Gray code property.</para>
</sect2>
<sect2 id="page_digital_1digital_python_helpers_qam">
<title>QAM Python Helpers</title><para>Similar to defining PSK modulations, GNU Radio also has helpers for some QAM modulations, found in gr-digital/python/digital/qam.py and gr-digital/python/digital/qam_constellations.py. Similar functions to what has been described for PSK exist here:</para>
<para><preformatted>
    qam_constellation(constellation_points, differential, mod_code,
                      large_ampls_to_corners)
</preformatted></para>
<para>The parameters to these functions is the same as for the PSK equivalents. The new argument &apos;large_ampls_to_corner&apos; is defined in the documentation as:</para>
<para><preformatted>
    large_ampls_to_corners:  If this is set to True then when the
        constellation is making decisions, points that are far outside
        the constellation are mapped to the closest corner rather than
        the closet constellation point.  This can help with phase
        locking.
</preformatted></para>
<para>Similarly, gr-digital/python/digital/qam_constellations.py defines a of QAM constellation functions that return a tuple containing the constellation points and the symbol mappings. The naming scheme is defined in depth in the module itself and is similar to the equivalent set of PSK functions.</para>
<para>Currently, only a subset of 16QAM symbol mappings are defined, but we can use of the constellation_map_generator function described in the previous section to define more mapping rotations for and square QAM modulation.</para>
</sect2>
</sect1>
<sect1 id="page_digital_1digital_generic_mod_demod">
<title>The Generic Modulator/Demodulator</title><para>Hierarchical Blocks</para>
<para>This module is deprecated and will be removed in GNU Radio 3.9.</para>
<para>Since digital modulation and demodulation are complex functions, the different parts can be done by different existing GNU Radio blocks. We have combined these into a generic modulator and generic demodulator hierarchical blocks to make access and use much easier. This file can be found as gr-digital/python/digital/generic_mod_demod.py.</para>
<sect2 id="page_digital_1digital_generic_mod">
<title>Generic Modulator</title><para>The modulator constructor looks like:</para>
<para><preformatted>
    digital.generic_mod(constellation, differential, samples_per_symbol,
                        pre_diff_code, excess_bw, verbose, log)
</preformatted></para>
<para>The &apos;constellation&apos; arg is a constellation object as defined above in <ref refid="page_digital_1digital_constellations" kindref="member">Constellation Objects</ref> and can represent any constellation mapping. The &apos;differential&apos; arg is a bool to turn differential coding on/off. The block also performs pulse shaping and interpolates the pulse-shaped filter to some number of &apos;samples_per_symbol&apos;. The pulse shaping is a root raised cosine filter defined by the excess bandwidth (or alpha) parameter called &apos;excess_bw.&apos;</para>
<para>We can also turn on a verbose mode to output information to the user. The &apos;log&apos; parameter toggles logging data on/off. When logging is turned on, it stores every stage of the modulation to a different file so that each stage can be independently analyzed.</para>
</sect2>
<sect2 id="page_digital_1digital_generic_demod">
<title>Generic Demodulator</title><para>The demodulator looks like:</para>
<para><preformatted>
    digital.generic_demod(constellation, differential, samples_per_symbol,
                          pre_diff_code, excess_bw, freq_bw, timing_bw,
                          phase_bw, verbose, log)
</preformatted></para>
<para>The additional parameters to the demodulator are the loop bandwidths for the different signal recovery loops used internally. There are separate loops for frequency acquisition, timing acquisition, and fine frequency / phase acquisition, controlled in tern by each of the three &apos;X_bw&apos; arguments. Otherwise, the arguments are the same as the modulator.</para>
</sect2>
<sect2 id="page_digital_1digital_generic_guts">
<title>Guts of the Modulator and Demodulator</title><para>The generic modulator looks like the following:</para>
<para><preformatted>
    blocks.packed_to_unpacked_bb: takes in packed bytes
    digital.map_bb: maps baseband symbols to the pre-differential encoding
    digital.diff_encoder_bb: differentially encode symbols
    digital.chunks_to_symbols_bc: convert symbols to complex samples
    filter.pfb_arb_resampler_ccf: perform upsampling to samps/symbol and pulse shape
</preformatted></para>
<para>The mapping and chunks-to-symbols stages are done using the information provided by the constellation object.</para>
<para>Note that the modulator takes in packed bytes, which means that all 8 bits per byte are used and unpacked into k bits per symbol.</para>
<para>The generic demodulator looks like the following:</para>
<para><preformatted>
    digital.fll_band_edge_cc: Performs coarse frequency correction
    digital.pfb_clock_sync_ccf: Matched filtering and timing recovery
    digital.constellation_receiver_cb: Phase tracking and decision making (hard bits)
    digital.diff_decoder_bb: Differential decoding
    digital.map_bb: Map to pre-differential symbols
    blocks.unpack_k_bits_bb: Unpack k bits/symbol to a stream of bits
</preformatted></para>
<para>This block outputs unpacked bits, so each output item represents a single bit of data. A block like &apos;pack_k_bits&apos; can be used following this to convert the data back into bytes.</para>
</sect2>
</sect1>
<sect1 id="page_digital_1digital_constellation_modulator">
<title>Constellation Modulator</title><para>The Constellation Modulator, Constellation Receiver, and Constellation Decoder can all take Constellation Objects to define what they are meant to transmit and receive.</para>
<para>The gr::digital::constellation_modulator block takes as a parameter the reference to the constellation object. The block is very generic in that the mapping from bits to symbols is done based on the constellation object passed to it. The modulator block requires packed bits as the input stream (that is, all 8 bits of the stream contain information).</para>
<para>The other parameters of this block include a setting as to whether or not to differentially encode the symbols, the number of samples per symbols, and the excess bandwidth of the transmitted pulse-shaped signal.</para>
<para>We can set up the transmitter using the constellation modulator block and use the same constellation object at the receiver so we know the same constellation settings are being used.</para>
</sect1>
<sect1 id="page_digital_1digital_softbits">
<title>Support for Soft Decisions</title><para>To support soft decisions of the receivers instead of the current hard decisions, the constellation objects also accept a soft decision look-up table (LUT) or can be told to generate a LUT based on the constellation points and symbol map.</para>
<para>All constellation objects can accept a new LUT using the <ref refid="classgr_1_1digital_1_1constellation_1a7b4f20eff157d285470bb11c2a1dccc3" kindref="member">gr::digital::constellation::set_soft_dec_lut</ref> function. This function takes in a LUT, which is a vector of floating point tuples (in C++ it is just a vector&lt;vector&lt;float&gt;&gt;) and a precision value that specifies how accurate the LUT is to a given number of bits.</para>
<para>The constellation objects also have two functions to calculate the soft decisions from their constellation and symbol map. The <ref refid="classgr_1_1digital_1_1constellation_1a74a667ed707806d4b8c48da9192a9b55" kindref="member">gr::digital::constellation::calc_soft_dec</ref> takes a complex number (and optional noise power) and returns the soft decisions as a list of floats. This function is used internally in the <ref refid="classgr_1_1digital_1_1constellation_1a0b02f601aa6eb655ea10dcc3fb2fe59e" kindref="member">gr::digital::constellation::gen_soft_dec_lut</ref>, which takes in the LUT&apos;s precision (as a number of bits) and an optional noise power estimate, if known. This function calculates the soft decisions itself. These functions are very expensive because each constellation point is taken into account during the calculation. We provide the <ref refid="classgr_1_1digital_1_1constellation_1a7b4f20eff157d285470bb11c2a1dccc3" kindref="member">gr::digital::constellation::set_soft_dec_lut</ref> in order to allow users to use one of the many known approximations to more quickly generate the soft decision LUT.</para>
<para>The <ref refid="classgr_1_1digital_1_1constellation_1a74a667ed707806d4b8c48da9192a9b55" kindref="member">gr::digital::constellation::calc_soft_dec</ref> function could be used instead of drawing directly from a LUT, which is probably only important if the noise floor or channel estimates are likely to change and we want to account for this in the decisions. The basic implementation of the soft decision calculation is the full calculation based on the distance between the sample and all points in the constellation space. If using this function for real-time decisions, a new object should inherit from the <ref refid="classgr_1_1digital_1_1constellation" kindref="compound">gr::digital::constellation</ref> class (or whichever child class is being used) and redefine this function with a faster approximation calculation.</para>
<para>Note: If no soft decision LUT is defined but <ref refid="classgr_1_1digital_1_1constellation_1aa948902b44d0d822537e9c2184e71013" kindref="member">gr::digital::constellation::soft_decision_maker</ref> is called then the full calculation from <ref refid="classgr_1_1digital_1_1constellation_1a74a667ed707806d4b8c48da9192a9b55" kindref="member">gr::digital::constellation::calc_soft_dec</ref> is used by default.</para>
<para>The LUT is a list of tuples, where each index of the list is some quantized (to some number of bits of precision) point in the constellation space. At each index, there is a tuple of <emphasis>k</emphasis> soft bit values for a constellation with <emphasis>k</emphasis> bits/symbol.</para>
<para>To help with this, the file gr-digital/python/digital/soft_dec_lut_gen.py can be used to create these tables. The function digital.soft_dec_table_generator(generator,
precision) function generates a LUT based on some generator function and the number of bits of precision required. This file contains documentation explaining the system better. Or the digital.soft_dec_table(constel, symbols, prec, npwr=1) can be used which takes in the constellation map and symbols to do the full raw calculation of the softbits as opposed to a generator function.</para>
<para>To further aid the LUT creation, the digital module also defines a number of functions that can be used as soft decision generators for the soft_dec_table function. These functions are found in psk_constellations.py and qam_constellations.py. These files were already mentioned as they contain a set of functions that return tuples of constellation points and Gray-mapped symbols for different modulations. But these files contain a second set of functions prefixed by &apos;sd_&apos; which are soft decision LUT generator functions Each LUT generator takes in a complex value and returns the tuple of soft decisions for that point in complex space. To aid with this, soft_dec_lut_gen.py defines a &apos;calc_from_table&apos; function that takes in a complex sample, the precision of the table, and the LUT itself and returns the tuple of soft decisions in the LUT that is closest to the given symbol. Each of these functions can be found directly from the &apos;digital&apos; Python module.</para>
<para>The LUTs are defined from min to max constellation points in both the real and imaginary axes. That means that signals coming in outside of these bounds are clipped to 1. So there is no added certainty for values beyond these bounds.</para>
<para>The <ref refid="classgr_1_1digital_1_1constellation__soft__decoder__cf" kindref="compound">gr::digital::constellation_soft_decoder_cf</ref> block takes in a constellation object where a soft decision LUT is defined. It takes in complex samples and produces a stream of floats of soft decisions. The soft decision outputs are not grouped together, it is just a stream of floats. So this block acts as an interpolator that takes in 1 complex sample and return <emphasis>k</emphasis> float for <emphasis>k</emphasis> bits per symbol.</para>
<sect2 id="page_digital_1soft_dec_api">
<title>Review of the Soft Decision API/Functions</title><para>Files of interest: <itemizedlist>
<listitem><para>psk_constellations.py: PSK constellations and soft decision generators </para>
</listitem>
<listitem><para>qam_constellations.py: QAM constellations and soft decision generators </para>
</listitem>
<listitem><para>soft_dec_lut_gen.py: Functions to build soft decision LUTs and test them </para>
</listitem>
<listitem><para>test_soft_decisions.py: A script that generates a random complex sample and calculates the soft decisions using various methods. Plots the sample against the full constellation. Requires matplotlib installed.</para>
</listitem>
</itemizedlist>
Functions: <itemizedlist>
<listitem><para>digital.sd_psk_2_*: Returns (constellation, symbol_map) lists for different rotations for BPSK. </para>
</listitem>
<listitem><para>digital.sd_psk_4_*: Returns (constellation, symbol_map) lists for different rotations for QPSK. </para>
</listitem>
<listitem><para>digital.sd_qam_16_*: Returns (constellation, symbol_map) lists for different rotations for 16QAM. </para>
</listitem>
<listitem><para>digital.soft_dec_table_generator: Takes in a generator function (like the digital.sd_XXX above) and creates a LUT to a specific precision. </para>
</listitem>
<listitem><para>digital.soft_dec_table: Takes in a constellation/symbol map and uses digital.calc_soft_dec to generate a LUT to a specific precision. </para>
</listitem>
<listitem><para>digital.calc_soft_dec: Takes a complex sample and calculates the soft decisions for a given constellation/symbol mapping. </para>
</listitem>
<listitem><para>digital.calc_soft_dec_from_table: Given a sample and a LUT, returns the soft decisions of the LUT for the nearest point to the sample.</para>
</listitem>
</itemizedlist>
C++ Interface: <itemizedlist>
<listitem><para><ref refid="classgr_1_1digital_1_1constellation_1a0b02f601aa6eb655ea10dcc3fb2fe59e" kindref="member">gr::digital::constellation::gen_soft_dec_lut</ref>: uses calc_soft_dec to internally generate a soft decision LUT. </para>
</listitem>
<listitem><para><ref refid="classgr_1_1digital_1_1constellation_1a74a667ed707806d4b8c48da9192a9b55" kindref="member">gr::digital::constellation::calc_soft_dec</ref>: calculates the soft decisions for a given sample from the full constellation/symbol map. </para>
</listitem>
<listitem><para><ref refid="classgr_1_1digital_1_1constellation_1a7b4f20eff157d285470bb11c2a1dccc3" kindref="member">gr::digital::constellation::set_soft_dec_lut</ref>: Set the soft decision LUT from an externally-calculated LUT. </para>
</listitem>
<listitem><para><ref refid="classgr_1_1digital_1_1constellation_1aed3fc00c8961b573c11b2171c012ec83" kindref="member">gr::digital::constellation::set_npwr</ref>: Set the noise power to use for calculating soft decisions </para>
</listitem>
<listitem><para><ref refid="classgr_1_1digital_1_1constellation_1a1bc7a672bd0e59f6fca46f93ae28c05c" kindref="member">gr::digital::constellation::has_soft_dec_lut</ref>: has the LUT been set/generated or not. </para>
</listitem>
<listitem><para><ref refid="classgr_1_1digital_1_1constellation_1aa948902b44d0d822537e9c2184e71013" kindref="member">gr::digital::constellation::soft_decision_maker</ref>: Used by gr::digital::constellation_soft_decoder to convert samples to soft decisions. If a LUT is defined, uses it; else, uses calc_soft_dec. </para>
</listitem>
</itemizedlist>
</para>
</sect2>
</sect1>
    </detaileddescription>
    <location file="gr-digital/docs/digital.dox"/>
  </compounddef>
</doxygen>
