<p><span style="padding: 3px 10px; border-radius: 5px; color: #ffffff; font-weight: bold; display: inline-block; background-color: #ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;External Email - Use Caution&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></p><p></p><div dir="ltr"><div dir="ltr"><div>Hi~</div><div>    I want to know how to set the n_cycles and freqs with the command</div><div><b>tfr_morlet</b>. when I set the <b>n_cycles=5, freqs=np.arange(1,21,1)</b>, there</div><div>is an error: <b>ValueError: At least one of the wavelets is longer than</b></div><div><b>the signal. Use a longer signal or shorter wavelets</b>. This is my first</div><div>experience doing TF analysis, wish you could give me some help. Thanks</div><div>a lot.</div><div><br></div><div><br></div><div>Tao Xia</div><div><br></div></div></div>