def test_tf_mxne_vs_mxne():
 alpha_space = 60.0
 alpha_time = 0.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-08, verbose=True, debias=False, n_orient=1, tstep=4, wsize=32)
 (X_hat_l21, _, _) = mixed_norm_solver(M, G, alpha_space, maxit=200, tol=1e-08, verbose=False, n_orient=1, active_set_size=None, debias=False)
 assert_allclose(X_hat_tf, X_hat_l21, rtol=0.1)

def test_tf_mxne_vs_mxne ( ) : alpha_space = 60.0 alpha_time = 0.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-08 , verbose = True , debias = False , n_orient = 1 , tstep = 4 , wsize = 32 ) ( X_hat_l21 , _ , _ ) = mixed_norm_solver ( M , G , alpha_space , maxit = 200 , tol = 1e-08 , verbose = False , n_orient = 1 , active_set_size = None , debias = False ) assert_allclose ( X_hat_tf , X_hat_l21 , rtol = 0.1 )
test equivalence of tf-mxne and mxne .