@@ -350,7 +350,6 @@ def test_view_distortion_larger_fig(self, mock_show, telescope_objective):
350350class TestTelescopeTripletGridDistortion :
351351 def test_grid_distortion_values (self , telescope_objective ):
352352 dist = analysis .GridDistortion (telescope_objective )
353-
354353 assert dist .data ['max_distortion' ] == \
355354 pytest .approx (0.005785718069180374 , abs = 1e-9 )
356355
@@ -359,19 +358,19 @@ def test_grid_distortion_values(self, telescope_objective):
359358 assert dist .data ['xp' ].shape == (10 , 10 )
360359 assert dist .data ['yp' ].shape == (10 , 10 )
361360
362- assert dist .data ['xr' ][0 , 0 ] == pytest .approx (1.2342622299776145 ,
361+ assert dist .data ['xr' ][0 , 0 ] == pytest .approx (- 1.2342622299776145 ,
363362 abs = 1e-9 )
364- assert dist .data ['xr' ][4 , 6 ] == pytest .approx (- 0.41137984374933073 ,
363+ assert dist .data ['xr' ][4 , 6 ] == pytest .approx (0.41137984374933073 ,
365364 abs = 1e-9 )
366365
367366 assert dist .data ['yr' ][1 , 0 ] == pytest .approx (- 0.959951505834632 ,
368367 abs = 1e-9 )
369368 assert dist .data ['yr' ][2 , 6 ] == pytest .approx (- 0.6856458243955965 ,
370369 abs = 1e-9 )
371370
372- assert dist .data ['xp' ][0 , 2 ] == pytest .approx (0.6856375010477692 ,
371+ assert dist .data ['xp' ][0 , 2 ] == pytest .approx (- 0.6856375010477692 ,
373372 abs = 1e-9 )
374- assert dist .data ['xp' ][4 , 4 ] == pytest .approx (0.13712543741510327 ,
373+ assert dist .data ['xp' ][4 , 4 ] == pytest .approx (- 0.13712543741510327 ,
375374 abs = 1e-9 )
376375
377376 assert dist .data ['yp' ][- 1 , 0 ] == pytest .approx (1.2341908231761498 ,
@@ -391,19 +390,19 @@ def test_f_theta_distortion(self, telescope_objective):
391390 assert dist .data ['xp' ].shape == (10 , 10 )
392391 assert dist .data ['yp' ].shape == (10 , 10 )
393392
394- assert dist .data ['xr' ][0 , 0 ] == pytest .approx (1.2342622299776145 ,
393+ assert dist .data ['xr' ][0 , 0 ] == pytest .approx (- 1.2342622299776145 ,
395394 abs = 1e-9 )
396- assert dist .data ['xr' ][4 , 6 ] == pytest .approx (- 0.41137984374933073 ,
395+ assert dist .data ['xr' ][4 , 6 ] == pytest .approx (0.41137984374933073 ,
397396 abs = 1e-9 )
398397
399398 assert dist .data ['yr' ][1 , 0 ] == pytest .approx (- 0.959951505834632 ,
400399 abs = 1e-9 )
401400 assert dist .data ['yr' ][2 , 6 ] == pytest .approx (- 0.6856458243955965 ,
402401 abs = 1e-9 )
403402
404- assert dist .data ['xp' ][0 , 2 ] == pytest .approx (0.6856267573347536 ,
403+ assert dist .data ['xp' ][0 , 2 ] == pytest .approx (- 0.6856267573347536 ,
405404 abs = 1e-9 )
406- assert dist .data ['xp' ][4 , 4 ] == pytest .approx (0.13712535146695065 ,
405+ assert dist .data ['xp' ][4 , 4 ] == pytest .approx (- 0.13712535146695065 ,
407406 abs = 1e-9 )
408407
409408 assert dist .data ['yp' ][- 1 , 0 ] == pytest .approx (1.2341281632025562 ,
0 commit comments