def METHOD_NAME():
    """Test optimization with Kramers-Kronig penalty yields decreasing actual loss"""
    _,_,_,_,_,_,_,_,_,_,_,\
    actual_loss_vec  = kramers_kronig_optimize.run_example_opt(width=5,
                                                               padn=10,
                                                               trim=30,
                                                               spacing=5,
                                                               noise_loc=[0,0],
                                                               noise_scale=[1e-3,1e-3],
                                                               learning_rate=1e-1,
                                                               num_iter=100,
                                                               uniform_energy=False,
                                                               )
    np.testing.assert_array_less(actual_loss_vec[-1].detach().numpy(),actual_loss_vec[0].detach().numpy())