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.grouping_values] + functools.reduce(
          lambda x, y: x + y,
          [
              [
                  value.measurement,
                  value.log_transform,
                  value.wants_save_figure,
                  value.figure_name,
                  value.pathname,
              ]
              for value in self.dose_values
          ],
      )
  
imports: import functools
  import os
  import numpy
  import scipy.optimize
  from cellprofiler_core.constants.measurement import EXPERIMENT
  from cellprofiler_core.constants.measurement import IMAGE
  from cellprofiler_core.constants.measurement import NEIGHBORS
  from cellprofiler_core.constants.module import IO_FOLDER_CHOICE_HELP_TEXT, IO_WITH_METADATA_HELP_TEXT
  from cellprofiler_core.measurement import Measurements
  from cellprofiler_core.module import Module
  from cellprofiler_core.preferences import ABSOLUTE_FOLDER_NAME
  from cellprofiler_core.preferences import DEFAULT_INPUT_FOLDER_NAME
  from cellprofiler_core.preferences import DEFAULT_INPUT_SUBFOLDER_NAME
  from cellprofiler_core.preferences import DEFAULT_OUTPUT_FOLDER_NAME
  from cellprofiler_core.preferences import DEFAULT_OUTPUT_SUBFOLDER_NAME
  from cellprofiler_core.setting import Binary
  from cellprofiler_core.setting import Divider
  from cellprofiler_core.setting import Measurement
  from cellprofiler_core.setting import SettingsGroup
  from cellprofiler_core.setting import ValidationError
  from cellprofiler_core.setting.do_something import DoSomething
  from cellprofiler_core.setting.do_something import RemoveSettingButton
  from cellprofiler_core.setting.text import Directory
  from cellprofiler_core.setting.text import Text
label_desc: Use image node_id 3 for calling the CalculateStatistics obj's underlying member method code with example usage: obj.settings() and returns: unknown