mne-tools/mne-python — pull request #1639 by haribharadwaj (2014-11-05 06:00:31+00:00)
Title: WIP/ENH: Add basic MTM to TFR

Added basic DPSS tapered complex exponentials and adapted existing code for Morlet to do MTM instead. This is what I get for the Somato dataset channel 82 using:

```
from mne.time_frequency.tfr import tfr_mtm

freqs = np.arange(5, 60, 2)
n_cycles = freqs
TW = 2.0
power, itc = tfr_mtm(epochs, freqs=freqs, n_cycles=n_cycles, TW=TW)
power.plot([82], baseline=(-0.5, 0.), mode='logratio')
itc.plot([82], baseline=(-0.5, 0.), vmin=-0.3, vmax=0.6)
```

![somato_ch82_mtm](https://cloud.githubusercontent.com/assets/5589178/4913381/49333116-64b0-11e4-9137-b4e18d15e084.png)

![somato_ch82_mtm_itc](https://cloud.githubusercontent.com/assets/5589178/4913382/4e97b082-64b0-11e4-89b6-1896ad29cc30.png)

Looks reasonable to me.. Let me know what you guys think and I'll work on adding tests/improvements etc.