@pexdoc.pcontracts.contract(wave=Waveform)<EOL>def wfloat(wave):
pexdoc.exh.addex(<EOL>TypeError,<EOL>"<STR_LIT>",<EOL>wave._dep_vector.dtype.name.startswith("<STR_LIT>"),<EOL>)<EOL>ret = copy.copy(wave)<EOL>ret._dep_vector = ret._dep_vector.astype(np.float)<EOL>return ret<EOL>
r"""
    Convert a waveform's dependent variable vector to float.

    :param wave: Waveform
    :type  wave: :py:class:`peng.eng.Waveform`

    :rtype: :py:class:`peng.eng.Waveform`

    .. [[[cog cog.out(exobj_eng.get_sphinx_autodoc()) ]]]
    .. Auto-generated exceptions documentation for
    .. peng.wave_functions.wfloat

    :raises:
     * RuntimeError (Argument \`wave\` is not valid)

     * TypeError (Cannot convert complex to float)

    .. [[[end]]]