code: def test_not_nan():
      im = np.array(
          [
              [0, 0, 38, 168, 78, 0, 0, 0, 126, 168, 126, 0, 0],
              [0, 0, 104, 168, 78, 0, 0, 78, 168, 169, 169, 78, 0],
              [0, 38, 169, 169, 78, 0, 0, 142, 169, 169, 169, 162, 0],
              [26, 156, 169, 168, 78, 0, 0, 169, 142, 0, 126, 169, 38],
              [142, 169, 156, 166, 78, 0, 38, 169, 104, 0, 78, 169, 64],
              [126, 142, 104, 168, 78, 0, 64, 168, 78, 0, 64, 168, 78],
              [104, 0, 78, 169, 78, 0, 78, 168, 78, 0, 52, 169, 78],
              [0, 0, 78, 169, 78, 0, 78, 166, 78, 0, 52, 169, 78],
              [0, 0, 78, 166, 78, 0, 78, 166, 78, 0, 52, 169, 78],
              [0, 0, 78, 169, 78, 0, 78, 166, 78, 0, 52, 169, 78],
              [0, 0, 78, 169, 78, 0, 78, 166, 78, 0, 52, 169, 78],
              [0, 0, 78, 169, 78, 0, 78, 166, 78, 0, 64, 169, 78],
              [0, 0, 78, 166, 78, 0, 52, 166, 104, 0, 78, 169, 64],
              [0, 0, 78, 169, 78, 0, 0, 169, 142, 0, 126, 169, 38],
              [0, 0, 78, 169, 78, 0, 0, 142, 169, 169, 169, 156, 0],
              [0, 0, 78, 169, 78, 0, 0, 78, 168, 169, 169, 78, 0],
              [0, 0, 78, 166, 78, 0, 0, 0, 104, 169, 126, 0, 0],
          ],
          dtype=np.uint8,
      )
  
      yy, xx = np.nonzero(im)
      (cx, cy), r = (
          6.0,
          8.0,
      ), 9.212599754333496  # cv2.minEnclosingCircle(points)
      zms = mh.features.zernike_moments(im, r, 8, cm=(cx, cy))
      assert not np.any(np.isnan(zms))
  
file_path: mahotas/mahotas/tests/test_zernike.py
imports: import numpy
  from mahotas.features import zernike_moments
  from mahotas.center_of_mass import center_of_mass
  import mahotas
  from math import atan2, ceil
  from numpy import cos, sin, conjugate, pi, sqrt
label_desc: Use image node_id 5 for calling a global function with example usage: test_not_nan() without return types