def test_rescale_rgb_raises(self, dummy_signal): vbse_gen = VirtualBSEGenerator(dummy_signal) vbse_gen.grid_shape = (3, 3) rgb = vbse_gen.get_rgb_image(r=(0, 0), g=(0, 1), b=(1, 0)) with pytest.raises(NotImplementedError): rgb.rescale_intensity()
def test_rescale_rgb_raises(self, dummy_signal): vbse_gen = VirtualBSEGenerator(dummy_signal) vbse_gen.grid_shape = (3, 3) rgb = vbse_gen.get_rgb_image(r=(0, 0), g=(0, 1), b=(1, 0)) with pytest.raises(NotImplementedError): rgb.rescale_intensity()