docstr: Return the measurements that this module produces
  
  object_name - return measurements made on this object (or 'Image' for image measurements)
  category - return measurements made in this category
docstr_tok: ["Return","the","measurements","that","this","module","produces","object_name","-","return","measurements","made","on","this","object","(","or","'Image","'","for","image","measurements",")","category","-","return","measurements","made","in","this","category"]
code: def get_measurements(self, pipeline, object_name, category):
      """Return the measurements that this module produces
  
      object_name - return measurements made on this object (or 'Image' for image measurements)
      category - return measurements made in this category
      """
      if object_name == "Image" and category == "Count":
          return [self.output_objects_name.value]
      elif (
          object_name == self.output_objects_name.value
          and category == "Location"
      ):
          return ["Center_X", "Center_Y"]
      elif (
          object_name == self.output_objects_name.value
          and category == "Number"
      ):
          return ["Object_Number"]
      return []
  
imports: from cellprofiler_core.constants.module import HELP_ON_MEASURING_DISTANCES
  from cellprofiler_core.setting.choice import Choice
  from cellprofiler_core.setting.subscriber import LabelSubscriber, GridSubscriber
  from cellprofiler_core.setting.text import LabelName, Integer
  from cellprofiler_core.utilities.core.module.identify import add_object_location_measurements, add_object_count_measurements, get_object_measurement_columns
  from cellprofiler.modules import _help
  import numpy
  from centrosome.cpmorphology import centers_of_labels
  from cellprofiler_core.utilities.grid import Grid
  from cellprofiler_core.module import Module
  from cellprofiler_core.object import Objects
label_desc: Use image node_id 20 for calling the IdentifyObjectsInGrid obj's underlying member method code with example usage: obj.get_measurements(pipeline, object_name, category) and returns: list, list, list, list