def hilbert_transform(x): """ Computes modulus of the complex valued hilbert transform of x """ return np.abs(hilbert(x))