def __str__(self):
        """
        Return a string with a detailed description of the object's contents.

        For example:

            >>> from __future__ import print_function
            >>> import numpy as np
            >>> import peng
            >>> obj = peng.Waveform(
            ...     np.array([1, 2, 3]),
            ...     np.array([4, 5, 6]),
            ...     'test'
            ... )
            >>> print(obj)
            Waveform: test
            Independent variable: [ 1, 2, 3 ]
            Dependent variable: [ 4, 5, 6 ]
            Independent variable scale: LINEAR
            Dependent variable scale: LINEAR
            Independent variable units: (None)
            Dependent variable units: (None)
            Interpolating function: CONTINUOUS
        """
        ret = ""
        ret += "Waveform: {0}\n".format(self._dep_name)
        ret += (
            "Independent variable: "
            + pprint_vector(
                vector=self._indep_vector, width=80 - 22, limit=True, indent=22
            )
            + "\n"
        )
        ret += (
            "Dependent variable: "
            + pprint_vector(
                vector=self._dep_vector, width=80 - 20, limit=True, indent=20
            )
            + "\n"
        )
        ret += "Independent variable scale: {0}\n".format(self._indep_scale)
        ret += "Dependent variable scale: {0}\n".format(self._dep_scale)
        ret += "Independent variable units: {0}\n".format(
            self._indep_units if self._indep_units else "(None)"
        )
        ret += "Dependent variable units: {0}\n".format(
            self._dep_units if self._dep_units else "(None)"
        )
        ret += "Interpolating function: {0}".format(self._interp)
        return ret
def __str__ ( self ) : ret = "" ret += "Waveform: {0}\n" . format ( self . _dep_name ) ret += ( "Independent variable: " + pprint_vector ( vector = self . _indep_vector , width = 80 - 22 , limit = True , indent = 22 ) + "\n" ) ret += ( "Dependent variable: " + pprint_vector ( vector = self . _dep_vector , width = 80 - 20 , limit = True , indent = 20 ) + "\n" ) ret += "Independent variable scale: {0}\n" . format ( self . _indep_scale ) ret += "Dependent variable scale: {0}\n" . format ( self . _dep_scale ) ret += "Independent variable units: {0}\n" . format ( self . _indep_units if self . _indep_units else "(None)" ) ret += "Dependent variable units: {0}\n" . format ( self . _dep_units if self . _dep_units else "(None)" ) ret += "Interpolating function: {0}" . format ( self . _interp ) return ret
Return a string with a detailed description of the object's contents.

        For example:

            >>> from __future__ import print_function
            >>> import numpy as np
            >>> import peng
            >>> obj = peng.Waveform(
            ...     np.array([1, 2, 3]),
            ...     np.array([4, 5, 6]),
            ...     'test'
            ... )
            >>> print(obj)
            Waveform: test
            Independent variable: [ 1, 2, 3 ]
            Dependent variable: [ 4, 5, 6 ]
            Independent variable scale: LINEAR
            Dependent variable scale: LINEAR
            Independent variable units: (None)
            Dependent variable units: (None)
            Interpolating function: CONTINUOUS