'Test log10 scaling.'

def test_log(self):

    norm = simple_norm(DATA2, stretch='log')
    ref = (np.log10(((1000 * DATA2SCL) + 1.0)) / np.log10(1001.0))
    assert_allclose(norm(DATA2), ref, atol=0, rtol=1e-05)
