@verbose
    def apply_hilbert(self, picks, envelope=False, n_jobs=1, n_fft=None,
                      verbose=None):
        n_fft = self.n_times if n_fft is None else n_fft
        if n_fft < self.n_times:
            raise ValueError("n_fft must be greater than n_times")
        if envelope is True:
            self.apply_function(_my_hilbert, picks, None, n_jobs, n_fft,
                                envelope=envelope)
        else:
            self.apply_function(_my_hilbert, picks, np.complex64, n_jobs,
                                n_fft, envelope=envelope)
Compute analytic signal or envelope for a subset of channels.
dataset/ETHPy150Open mne-tools/mne-python/mne/io/base.py/_BaseRaw.apply_hilbert