def test_tf_mxne():
 alpha_space = 10.0
 alpha_time = 5.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, n_orient=1, tstep=4, wsize=32)
 assert_array_equal(np.where(active_set_hat_tf)[0], active_set)

def test_tf_mxne ( ) : alpha_space = 10.0 alpha_time = 5.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 , n_orient = 1 , tstep = 4 , wsize = 32 ) assert_array_equal ( np . where ( active_set_hat_tf ) [ 0 ] , active_set )
test convergence of tf-mxne solver .