class_docstr: Test navigation of a single pixel.
class_docstr_tok: ["Test","navigation","of","a","single","pixel","."]
docstr: Test transformation from image coordinates to scanning angles.
docstr_tok: ["Test","transformation","from","image","coordinates","to","scanning","angles","."]
code: def test_transform_image_coords_to_scanning_angles(self):
      """Test transformation from image coordinates to scanning angles."""
      offset = nav.ImageOffset(line_offset=100, pixel_offset=200)
      scanning_angles = nav.ScanningAngles(
          stepping_angle=0.01, sampling_angle=0.02, misalignment=-999
      )
      angles = nav.transform_image_coords_to_scanning_angles(
          point=nav.Pixel(199, 99),
          image_offset=offset,
          scanning_angles=scanning_angles,
      )
      np.testing.assert_allclose(angles, [-2, 1])
  
imports: import numpy
  import pytest
  from satpy.tests.reader_tests.utils import get_jit_methods, skip_numba_unstable_if_missing
label_desc: Use image node_id 2 for calling the TestSinglePixelNavigation obj's underlying member method code with example usage: obj.test_transform_image_coords_to_scanning_angles() without return types