docstr: Return the settings to be loaded or saved to/from the pipeline
  
  These are the settings (from cellprofiler_core.settings) that are
  either read from the strings in the pipeline or written out
  to the pipeline. The settings should appear in a consistent
  order so they can be matched to the strings in the pipeline.
docstr_tok: ["Return","the","settings","to","be","loaded","or","saved","to\/from","the","pipeline","These","are","the","settings","(","from","cellprofiler_core.settings",")","that","are","either","read","from","the","strings","in","the","pipeline","or","written","out","to","the","pipeline",".","The","settings","should","appear","in","a","consistent","order","so","they","can","be","matched","to","the","strings","in","the","pipeline","."]
code: def settings(self):
      """Return the settings to be loaded or saved to/from the pipeline
  
      These are the settings (from cellprofiler_core.settings) that are
      either read from the strings in the pipeline or written out
      to the pipeline. The settings should appear in a consistent
      order so they can be matched to the strings in the pipeline.
      """
      return [
          self.grid_image,
          self.grid_rows,
          self.grid_columns,
          self.origin,
          self.ordering,
          self.each_or_once,
          self.auto_or_manual,
          self.object_name,
          self.manual_choice,
          self.manual_image,
          self.first_spot_coordinates,
          self.first_spot_row,
          self.first_spot_col,
          self.second_spot_coordinates,
          self.second_spot_row,
          self.second_spot_col,
          self.wants_image,
          self.save_image_name,
          self.display_image_name,
          self.failed_grid_choice,
      ]
  
imports: import logging
  import centrosome.cpmorphology
  import numpy
  from cellprofiler_core.constants.measurement import COLTYPE_FLOAT
  from cellprofiler_core.constants.measurement import COLTYPE_INTEGER
  from cellprofiler_core.constants.measurement import IMAGE
  from cellprofiler_core.image import Image
  from cellprofiler_core.module import Module
  from cellprofiler_core.setting import Binary
  from cellprofiler_core.setting import Coordinates
  from cellprofiler_core.setting import ValidationError
  from cellprofiler_core.setting.choice import Choice
  from cellprofiler_core.setting.subscriber import ImageSubscriber
  from cellprofiler_core.setting.subscriber import LabelSubscriber
  from cellprofiler_core.setting.text import GridName
  from cellprofiler_core.setting.text import ImageName
  from cellprofiler_core.setting.text import Integer
  from cellprofiler_core.utilities.grid import Grid
label_desc: Use image node_id 2 for calling the DefineGrid obj's underlying member method code with example usage: obj.settings() and returns: list