docstr: Tests the Jacobian of the point lighting equation.
  
  Verifies that the Jacobian of the point lighting equation is correct when
  the light direction is orthogonal to the surface normal.
docstr_tok: ["Tests","the","Jacobian","of","the","point","lighting","equation",".","Verifies","that","the","Jacobian","of","the","point","lighting","equation","is","correct","when","the","light","direction","is","orthogonal","to","the","surface","normal","."]
code: def test_estimate_radiance_jacobian_preset(self):
      """Tests the Jacobian of the point lighting equation.
  
      Verifies that the Jacobian of the point lighting equation is correct when
      the light direction is orthogonal to the surface normal.
      """
      delta = 1e-5
      point_light_radiance_init = np.array(1.0).reshape((1, 1))
      point_light_position_init = np.array((delta, 1.0, 0.0)).reshape(
          (1, 3)
      )
      surface_point_position_init = np.array((0.0, 0.0, 0.0))
      surface_point_normal_init = np.array((1.0, 0.0, 0.0))
      observation_point_init = np.array((delta, 3.0, 0.0))
  
      def estimate_radiance_fn(
          point_light_position,
          surface_point_position,
          surface_point_normal,
          observation_point,
      ):
          return point_light.estimate_radiance(
              point_light_radiance_init,
              point_light_position,
              surface_point_position,
              surface_point_normal,
              observation_point,
              fake_brdf,
          )
  
      self.assert_jacobian_is_correct_fn(
          estimate_radiance_fn,
          [
              point_light_position_init,
              surface_point_position_init,
              surface_point_normal_init,
              observation_point_init,
          ],
      )
  
file_path: graphics/tensorflow_graphics/rendering/light/tests/point_light_test.py
imports: import math
  from absl.testing import flagsaver
  from absl.testing import parameterized
  import numpy
  import tensorflow
  from tensorflow_graphics.rendering.light import point_light
  from tensorflow_graphics.util import test_case
label_desc: Use image node_id 3 for calling the PointLightTest obj's underlying member method code with example usage: obj.test_estimate_radiance_jacobian_preset() and returns: point_light