'Test asinh scaling.'

def test_asinh(self):

    a = 0.1
    norm = simple_norm(DATA2, stretch='asinh', asinh_a=a)
    ref = (np.arcsinh((DATA2SCL / a)) / np.arcsinh((1.0 / a)))
    assert_allclose(norm(DATA2), ref, atol=0, rtol=1e-05)
