def commit_on_success_unless_managed(using=None, savepoint=False):
    connection = get_connection(using)
    if connection.get_autocommit() or connection.in_atomic_block:
        return atomic(using, savepoint)
    else:
        def entering(using):
            pass

        def exiting(exc_type, using):
            set_dirty(using=using)

        return _transaction_func(entering, exiting, using)
Estimate the magnitude squared coherence estimate, Cxy, of discrete-time
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/Django-1.6.10/django/db/transaction.py/commit_on_success_unless_managed--crossover with--dataset/ETHPy150Open scipy/scipy/scipy/signal/spectral.py/coherence