From 36f06b525a16c63bad655892093cd986f17a3b87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20H=C3=BCtten?= Date: Thu, 24 Jan 2019 23:48:22 +0000 Subject: [PATCH] updated test_camera.py file --- ctapipe/instrument/tests/test_camera.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ctapipe/instrument/tests/test_camera.py b/ctapipe/instrument/tests/test_camera.py index 6fdf4a10d01..9499075e362 100644 --- a/ctapipe/instrument/tests/test_camera.py +++ b/ctapipe/instrument/tests/test_camera.py @@ -54,9 +54,9 @@ def test_guess_camera(): assert geom.pix_type.startswith('rect') -def test_get_pixel_id(): +def test_position_to_pix_index(): geom = CameraGeometry.from_name("LSTCam") - x, y = 0.80 * u.m, 0.79 * u.m, + x, y = 0.80 * u.m, 0.79 * u.m, pix_id = geom.get_pixel_id(x, y) assert pix_id == 1790