'Check CustomKernel against Box2DKernel.'

def test_custom_2D_kernel(self):

    array = np.ones((5, 5))
    custom = CustomKernel(array)
    custom.normalize()
    box = Box2DKernel(5)
    c2 = convolve(delta_pulse_2D, custom, boundary=u'fill')
    c1 = convolve(delta_pulse_2D, box, boundary=u'fill')
    assert_almost_equal(c1, c2, decimal=12)
