# Question about TF analysis

**URL:** <https://mne.discourse.group/t/question-about-tf-analysis/1679>\
**Category:** Mailing List Archive (read-only)\
**Tags:** list-archive\
**Created:** [December 9, 2018, 8:36am UTC](https://mne.discourse.group/t/question-about-tf-analysis/1679 "2018-12-09T08:36:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/mne/original/1X/85cc6bd2b69cb698a166dc6d880fb550510d0144.jpeg) [@system](https://mne.discourse.group/u/system)\
**Post date:** [December 9, 2018, 8:36am UTC](https://mne.discourse.group/t/question-about-tf-analysis/1679/1 "2018-12-09T08:36:19Z")

</div>

External Email - Use Caution

Hi~  
&nbsp;&nbsp;&nbsp;&nbsp;I want to know how to set the n\_cycles and freqs with the command  
\*tfr\_morlet\*. when I set the \*n\_cycles=5, freqs=np.arange(1,21,1)\*, there  
is an error: \*ValueError: At least one of the wavelets is longer than\*  
\*the signal. Use a longer signal or shorter wavelets\*. This is my first  
experience doing TF analysis, wish you could give me some help. Thanks  
a lot.

Tao Xia  
-------------- next part --------------  
An HTML attachment was scrubbed...  
URL: [http://mail.nmr.mgh.harvard.edu/pipermail/mne\_analysis/attachments/20181209/40aaa219/attachment.html](http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20181209/40aaa219/attachment.html)
