code: def run_module(
      image,
      labels,
      center_labels=None,
      center_choice=cellprofiler.modules.measureobjectintensitydistribution.C_CENTERS_OF_OTHER,
      bin_count=4,
      maximum_radius=100,
      wants_scaled=True,
      wants_workspace=False,
      wants_zernikes=cellprofiler.modules.measureobjectintensitydistribution.Z_NONE,
      zernike_degree=2,
  ):
      """Run the module, returning the measurements
  
      image - matrix representing the image to be analyzed
      labels - labels matrix of objects to be analyzed
      center_labels - labels matrix of alternate centers or None for self
                      centers
      bin_count - # of radial bins
      """
      module = (
          cellprofiler.modules.measureobjectintensitydistribution.MeasureObjectIntensityDistribution()
      )
      module.wants_zernikes.value = wants_zernikes
      module.zernike_degree.value = zernike_degree
      module.images_list.value = IMAGE_NAME
      module.objects[0].object_name.value = OBJECT_NAME
      object_set = cellprofiler_core.object.ObjectSet()
      main_objects = cellprofiler_core.object.Objects()
      main_objects.segmented = labels
      object_set.add_objects(main_objects, OBJECT_NAME)
      if center_labels is None:
          module.objects[
              0
          ].center_choice.value = (
              cellprofiler.modules.measureobjectintensitydistribution.C_SELF
          )
      else:
          module.objects[0].center_choice.value = center_choice
          module.objects[0].center_object_name.value = CENTER_NAME
          center_objects = cellprofiler_core.object.Objects()
          center_objects.segmented = center_labels
          object_set.add_objects(center_objects, CENTER_NAME)
      module.bin_counts[0].bin_count.value = bin_count
      module.bin_counts[0].wants_scaled.value = wants_scaled
      module.bin_counts[0].maximum_radius.value = maximum_radius
      module.add_heatmap()
      module.add_heatmap()
      module.add_heatmap()
      for i, (a, f) in enumerate(
          (
              (
                  cellprofiler.modules.measureobjectintensitydistribution.A_FRAC_AT_D,
                  cellprofiler.modules.measureobjectintensitydistribution.F_FRAC_AT_D,
              ),
              (
                  cellprofiler.modules.measureobjectintensitydistribution.A_MEAN_FRAC,
                  cellprofiler.modules.measureobjectintensitydistribution.F_MEAN_FRAC,
              ),
              (
                  cellprofiler.modules.measureobjectintensitydistribution.A_RADIAL_CV,
                  cellprofiler.modules.measureobjectintensitydistribution.F_RADIAL_CV,
              ),
          )
      ):
          module.heatmaps[i].image_name.value = IMAGE_NAME
          module.heatmaps[i].object_name.value = OBJECT_NAME
          module.heatmaps[i].bin_count.value = str(bin_count)
          module.heatmaps[i].wants_to_save_display.value = True
          display_name = HEAT_MAP_NAME + f
          module.heatmaps[i].display_name.value = display_name
          module.heatmaps[i].colormap.value = "gray"
          module.heatmaps[i].measurement.value = a
      pipeline = cellprofiler_core.pipeline.Pipeline()
      measurements = cellprofiler_core.measurement.Measurements()
      image_set_list = cellprofiler_core.image.ImageSetList()
      image_set = measurements
      img = cellprofiler_core.image.Image(image)
      image_set.add(IMAGE_NAME, img)
      workspace = cellprofiler_core.workspace.Workspace(
          pipeline,
          module,
          image_set,
          object_set,
          measurements,
          image_set_list,
      )
      module.run(workspace)
      if wants_workspace:
          return measurements, workspace
      return measurements
  
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 14 for calling a global function with example usage: run_module(image, labels, center_labels, center_choice, bin_count, maximum_radius, wants_scaled, wants_workspace, wants_zernikes, zernike_degree) and returns: measurements, measurements,  workspace