def test_tf_mxne_vs_mxne():
    alpha_space = 60.
    alpha_time = 0.

    M, G, active_set = _generate_tf_data()

    X_hat_tf, active_set_hat_tf, E = tf_mixed_norm_solver(
        M, G, alpha_space, alpha_time, maxit=200, tol=1e-8, verbose=True,
        debias=False, n_orient=1, tstep=4, wsize=32)

    # Also run L21 and check that we get the same
    X_hat_l21, _, _ = mixed_norm_solver(
        M, G, alpha_space, maxit=200, tol=1e-8, verbose=False, n_orient=1,
        active_set_size=None, debias=False)

    assert_allclose(X_hat_tf, X_hat_l21, rtol=1e-1)
Make sure that a change form that is filled out, but marked for deletion
dataset/ETHPy150Open mne-tools/mne-python/mne/inverse_sparse/tests/test_mxne_optim.py/test_tf_mxne_vs_mxne--crossover with--dataset/ETHPy150Open django/django/tests/inline_formsets/tests.py/DeletionTests.test_change_form_deletion_when_invalid