parameters: (mod_code=_def_mod_code)
return_statement: return digital.constellation_qpsk()
docstring: Creates a QPSK constellation.
docstring_summary: Creates a QPSK constellation.
docstring_tokens: Creates a QPSK constellation .
function: def qpsk_constellation(mod_code=_def_mod_code):
      """
      Creates a QPSK constellation.
      """
      if mod_code != mod_codes.GRAY_CODE:
          raise ValueError(
              "This QPSK mod/demod works only for gray-coded constellations.")
      return digital.constellation_qpsk()
function_tokens: def qpsk_constellation ( mod_code = _def_mod_code ) : if mod_code != mod_codes . GRAY_CODE : raise ValueError ( "This QPSK mod/demod works only for gray-coded constellations." ) return digital . constellation_qpsk ( )