code: def test_circle():
      """Test the module on a uniform circle"""
      i, j = numpy.mgrid[-50:51, -50:51]
      labels = (numpy.sqrt(i * i + j * j) <= 40).astype(int)
      m, workspace = run_module(
          numpy.ones(labels.shape),
          labels,
          wants_workspace=True,
          wants_zernikes=True,
          zernike_degree=2,
      )
      assert isinstance(
          workspace, cellprofiler_core.workspace.Workspace
      )
      bins = labels * (1 + (numpy.sqrt(i * i + j * j) / 10).astype(int))
      for bin in range(1, 5):
          data = m.get_current_measurement(
              OBJECT_NAME, feature_frac_at_d(bin, 4)
          )
          assert len(data) == 1
          area = (float(bin) * 2.0 - 1.0) / 16.0
          assert data[0] > area - 0.1
          assert data[0] < area + 0.1
          heatmap = workspace.image_set.get_image(
              HEAT_MAP_NAME
              + cellprofiler.modules.measureobjectintensitydistribution.F_FRAC_AT_D
          ).pixel_data
          data = data.astype(heatmap.dtype)
          assert scipy.stats.mode(heatmap[bins == bin])[0][0] == data[0]
          data = m.get_current_measurement(
              OBJECT_NAME, feature_mean_frac(bin, 4)
          )
          assert len(data) == 1
          assert round(abs(data[0] - 1), 2) == 0
          heatmap = workspace.image_set.get_image(
              HEAT_MAP_NAME
              + cellprofiler.modules.measureobjectintensitydistribution.F_MEAN_FRAC
          ).pixel_data
          data = data.astype(heatmap.dtype)
          assert scipy.stats.mode(heatmap[bins == bin])[0][0] == data[0]
          data = m.get_current_measurement(
              OBJECT_NAME, feature_radial_cv(bin, 4)
          )
          assert len(data) == 1
          assert round(abs(data[0] - 0), 2) == 0
          heatmap = workspace.image_set.get_image(
              HEAT_MAP_NAME
              + cellprofiler.modules.measureobjectintensitydistribution.F_RADIAL_CV
          ).pixel_data
          data = data.astype(heatmap.dtype)
          assert scipy.stats.mode(heatmap[bins == bin])[0][0] == data[0]
      module = workspace.module
      assert isinstance(
          module,
          cellprofiler.modules.measureobjectintensitydistribution.MeasureObjectIntensityDistribution,
      )
      data = m[
          OBJECT_NAME,
          module.get_zernike_magnitude_name(IMAGE_NAME, 0, 0),
      ]
      assert len(data) == 1
      assert abs(data[0] - 1) < 0.001
      for n_, m_ in ((1, 1), (2, 0), (2, 2)):
          data = m[
              OBJECT_NAME,
              module.get_zernike_magnitude_name(IMAGE_NAME, n_, m_),
          ]
          assert abs(data[0] - 0) < 0.001
  
imports: import io
  import centrosome.propagate
  import numpy
  import scipy.stats
  import cellprofiler_core.image
  import cellprofiler_core.measurement
  import cellprofiler_core.module
  from cellprofiler_core.constants.measurement import COLTYPE_FLOAT
  import cellprofiler.modules.measureobjectintensitydistribution
  import cellprofiler_core.object
  import cellprofiler_core.pipeline
  import cellprofiler_core.preferences
  import cellprofiler_core.setting
  import cellprofiler_core.workspace
  import tests.frontend.modules
label_desc: Use image node_id 16 for calling a global function with example usage: test_circle() without return types