code: def make_tile_workspace(images):
      module = cellprofiler.modules.tile.Tile()
      module.set_module_num(1)
      module.tile_method.value = (
          cellprofiler.modules.tile.T_ACROSS_CYCLES
      )
      module.input_image.value = INPUT_IMAGE_NAME
      module.output_image.value = OUTPUT_IMAGE_NAME
  
      pipeline = cellprofiler_core.pipeline.Pipeline()
  
      def callback(caller, event):
          assert not isinstance(
              event, cellprofiler_core.pipeline.event.RunException
          )
  
      pipeline.add_listener(callback)
      pipeline.add_module(module)
      image_set_list = cellprofiler_core.image.ImageSetList()
      for i, image in enumerate(images):
          image_set = image_set_list.get_image_set(i)
          image_set.add(
              INPUT_IMAGE_NAME, cellprofiler_core.image.Image(image)
          )
  
      workspace = cellprofiler_core.workspace.Workspace(
          pipeline,
          module,
          image_set_list.get_image_set(0),
          cellprofiler_core.object.ObjectSet(),
          cellprofiler_core.measurement.Measurements(),
          image_set_list,
      )
      return workspace, module
  
imports: import numpy
  import six.moves
  import cellprofiler_core.image
  import cellprofiler_core.measurement
  import cellprofiler.modules.tile
  import cellprofiler_core.object
  import cellprofiler_core.pipeline
  import cellprofiler_core.workspace
  import tests.frontend.modules
label_desc: Use image node_id 3 for calling a global function with example usage: make_tile_workspace(images) and returns: workspace,  module