hello guys, I got a complex number matrix when use` mne.time_frequency.tfr.cwt`

. Is there a way to perform cwt but get Real number results instead? thanks.

MNE version: 1.1.1
operating system: Windows-10-10.0.19045-SP0
```
Ws = mne.time_frequency.morlet(sfreq=1024, freqs=np.array([10, 20]), n_cycles=2)
tfr = mne.time_frequency.tfr.cwt(X=sample, Ws=Ws, decim=1)
```

drammock
(Dan McCloy)
October 17, 2022, 5:10pm
2
â€ścwtâ€ť stands for â€ścomplex wavelet transformâ€ť. It is, by definition, complex-valued, as indicated by the first sentence of https://en.wikipedia.org/wiki/Complex_wavelet_transform:

The complex wavelet transform (CWT) is a complex-valued extension to the standard discrete wavelet transform (DWT).

If you want a time-frequency decomposition that is real-valued, you can use mne.time_frequency.tfr_morlet â€” MNE 1.2.0 documentation :

```
mne.time_frequency.tfr_morlet(epochs_or_evoked, ..., output='power')
```

note that this is different from `mne.time_frequency.tfr.morlet()`

which just generates the wavelets without applying them to your data.