diff --git a/debye_bec/devices/cameras/basler_cam.py b/debye_bec/devices/cameras/basler_cam.py index e38076a..fbf0477 100644 --- a/debye_bec/devices/cameras/basler_cam.py +++ b/debye_bec/devices/cameras/basler_cam.py @@ -31,6 +31,6 @@ class BaslerCam(DebyeBaseCamera, BaslerCamBase): PreviewSignal, name="preview", ndim=2, - num_rotation_90=-1, + num_rotation_90=3, doc="Preview signal for the camera.", ) diff --git a/debye_bec/devices/cameras/prosilica_cam.py b/debye_bec/devices/cameras/prosilica_cam.py index cbbc259..69846dd 100644 --- a/debye_bec/devices/cameras/prosilica_cam.py +++ b/debye_bec/devices/cameras/prosilica_cam.py @@ -34,6 +34,6 @@ class ProsilicaCam(DebyeBaseCamera, ProsilicaCamBase): PreviewSignal, name="preview", ndim=2, - num_rotation_90=-1, + num_rotation_90=3, doc="Preview signal for the camera.", ) diff --git a/tests/tests_devices/test_cameras.py b/tests/tests_devices/test_cameras.py index fba8ac3..7fcb078 100644 --- a/tests/tests_devices/test_cameras.py +++ b/tests/tests_devices/test_cameras.py @@ -40,7 +40,7 @@ def test_basler_init(mock_basler): assert mock_basler._live_mode_event is None assert mock_basler._task_status is None assert mock_basler.preview.ndim == 2 - assert mock_basler.preview.num_rotation_90 == -1 + assert mock_basler.preview.num_rotation_90 == 3 @pytest.fixture(scope="function") @@ -67,4 +67,4 @@ def test_prosilica_init(mock_prosilica): assert mock_prosilica._live_mode_event is None assert mock_prosilica._task_status is None assert mock_prosilica.preview.ndim == 2 - assert mock_prosilica.preview.num_rotation_90 == -1 + assert mock_prosilica.preview.num_rotation_90 == 3