H A D | test_stretch.py | 43 def test_no_clip(self, stretch): argument 58 def test_clip(self, stretch): argument 64 def test_inplace(self, stretch): argument 67 stretch(data_in, out=result, clip=False) 72 def test_round_trip(self, stretch): argument 73 np.testing.assert_allclose(stretch.inverse(stretch(DATA, clip=False), 77 def test_inplace_roundtrip(self, stretch): argument 79 stretch(DATA, out=result, clip=False) 84 def test_double_inverse(self, stretch): argument 107 stretch = SqrtStretch() [all …]
|