eelbrain.cwt_morlet

eelbrain.cwt_morlet(y, freqs, use_fft=True, n_cycles=3.0, zero_mean=False, out='magnitude', decim=1)

Time frequency decomposition with Morlet wavelets (mne-python)

Parameters
  • y (NDVar with time dimension) – Signal.

  • freqs (scalar | array) – Frequency/ies of interest. For a scalar, the output will not contain a frequency dimension.

  • use_fft (bool) – Compute convolution with FFT or temporal convolution.

  • n_cycles (float | array of float) – Number of cycles. Fixed number or one per frequency.

  • zero_mean (bool) – Make sure the wavelets are zero mean.

  • out ('complex' | 'magnitude') – Format of the data in the returned NDVar.

Returns

tfr – Time frequency decompositions.

Return type

NDVar