def pre_sql_setup(self):
        if not self.query.tables:
            self.query.join((None, self.query.model._meta.db_table, None, None))
        if (not self.query.select and self.query.default_cols and not
                self.query.included_inherited_models):
            self.query.setup_inherited_models()
        if self.query.select_related and not self.query.related_select_cols:
            self.fill_related_selections()
Compute cwt with fft based convolutions or temporal convolutions.
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.2/django/db/models/sql/compiler.py/SQLCompiler.pre_sql_setup--crossover with--dataset/ETHPy150Open mne-tools/mne-python/mne/time_frequency/tfr.py/_cwt