def isreal(self): """Returns True if entire signal is real.""" return np.all(np.isreal(self._ydata)) # return np.isrealobj(self._ydata)