'Init TimeFrequency transformer.'

def __init__(self, frequencies, sfreq=1.0, method='morlet', n_cycles=7.0, time_bandwidth=None, use_fft=True, decim=1, output='complex', n_jobs=1, verbose=None):

    (frequencies, sfreq, _, n_cycles, time_bandwidth, decim) = _check_tfr_param(frequencies, sfreq, method, True, n_cycles, time_bandwidth, use_fft, decim, output)
    self.frequencies = frequencies
    self.sfreq = sfreq
    self.method = method
    self.n_cycles = n_cycles
    self.time_bandwidth = time_bandwidth
    self.use_fft = use_fft
    self.decim = decim
    if (output not in ['complex', 'power', 'phase']):
        raise ValueError(("output    must    be    'complex',    'power',    'phase'.    Got    %s    instead." % output))
    self.output = output
    self.n_jobs = n_jobs
    self.verbose = verbose
