Skip to content

Commit

Permalink
updated test_camera.py file
Browse files Browse the repository at this point in the history
  • Loading branch information
moritzhuetten committed Jan 24, 2019
1 parent 5c9c185 commit 36f06b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ctapipe/instrument/tests/test_camera.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 36f06b5

Please sign in to comment.