code: def test_point_track_sq_distance():
      t = np.array([[0, 0, 0], [1, 1, 1], [2, 2, 2]], dtype="f4")
      p = np.array([-1, -1.0, -1], dtype="f4")
      assert_equal(
          pf.point_track_sq_distance_check(t, p, 0.2**2), False
      )
      pf.point_track_sq_distance_check(t, p, 2**2), True
      t = np.array([[0, 0, 0], [1, 0, 0], [2, 2, 0]], dtype="f4")
      p = np.array([0.5, 0, 0], dtype="f4")
      assert_equal(
          pf.point_track_sq_distance_check(t, p, 0.2**2), True
      )
      p = np.array([0.5, 1, 0], dtype="f4")
      assert_equal(
          pf.point_track_sq_distance_check(t, p, 0.2**2), False
      )
  
file_path: dipy/dipy/tracking/tests/test_distances.py
imports: import warnings
  import numpy
  from numpy.testing import assert_array_almost_equal, assert_equal, assert_almost_equal, assert_array_equal
  from dipy.testing import assert_true
  from dipy.testing.decorators import set_random_number_generator
  from dipy.tracking import distances
  from dipy.tracking.streamline import set_number_of_points
  from dipy.data import get_fnames
  from dipy.io.streamline import load_tractogram
label_desc: Use image node_id 7 for calling a global function with example usage: test_point_track_sq_distance() without return types