code: def create_settings(self):
      self.workspace = None
      module_explanation = (
          f"To begin creating your project, use the {self.module_name} module to compile a list "
          f"of files and/or folders that you want to analyze. You can also specify a set of rules "
          f"to include only the desired files in your selected folders."
      )
      self.set_notes(module_explanation)
  
      self.path_list_display = PathListDisplay()
      predicates = [
          FilePredicate(),
          DirectoryPredicate(),
          ExtensionPredicate(),
      ]
  
      self.filter_choice = Choice(
          "Filter images?",
          FILTER_CHOICE_ALL,
          value=FILTER_CHOICE_IMAGES,
          doc=f"""\
  The **Images** module will pass all the files specified in the file list
  panel downstream to have a meaningful name assigned to it (so other
  modules can access it) or optionally, to define the relationships
  between images and associated metadata. Enabling file filtering will
  allow you to specify a subset of the files from the file list panel by
  defining rules to filter the files. This approach is useful if, for
  example, you drag-and-dropped a folder onto the file list panel which
  contains a mixture of images that you want to analyze and other files
  that you want to ignore.
  
  Several options are available for this setting:
  
  -  *{FILTER_CHOICE_NONE}:* Do not enable filtering; all files in the
     File list panel will be passed to downstream modules for processing.
     This option can be selected if you are sure that only images are
     specified in the list.
  -  *{FILTER_CHOICE_IMAGES}:* Only image files will be passed to
     downstream modules. The permissible image formats are provided by a
     library called Bio-Formats; see `here`_ for the formats available.
  -  *{FILTER_CHOICE_CUSTOM}:* Specify custom rules for selecting a
     subset of the files from the File list panel. This approach is useful
     if, for example, you drag-and-dropped a folder onto the File list
     panel which contains a mixture of images that you want to analyze and
     other files that you want to ignore.
  
  .. _here: http://www.openmicroscopy.org/site/support/bio-formats5/supported-formats.html
  """,
      )
  
      self.filter = Filter(
          "Select the rule criteria",
          predicates,
          FILTER_DEFAULT,
          doc="""\
  Specify a set of rules to narrow down the files to be analyzed.
  
  {FILTER_RULES_BUTTONS_HELP}
  """.format(
              **{"FILTER_RULES_BUTTONS_HELP": FILTER_RULES_BUTTONS_HELP}
          ),
      )
  
      self.update_button = PathListRefreshButton(
          "Apply filters to the file list",
          "Apply filters to the file list",
          doc="""\
  *(Only displayed if filtering based on rules)*
  
  Re-display the file list, removing or graying out the files that do not
  pass the current filter.
  """,
      )
  
      self.want_split = Binary(
          "Extract image planes",
          False,
          doc="Choose whether to search for multiple images within files",
      )
      self.split_C = Binary(
          "Split channels",
          True,
          doc="Choose whether to split color images into greyscale channels",
      )
      self.split_Z = Binary(
          "Split z-planes",
          True,
          doc="Choose whether to split z-stacks into individual planes",
      )
      self.split_T = Binary(
          "Split timepoints",
          True,
          doc="Choose whether to split time series into individual planes",
      )
  
      self.extract_metadata = PathListExtractButton(
          "Run extraction",
          "Scan files",
          doc="Perform extraction to identify multiple images within a single file.",
      )
  
imports: import itertools
  import logging
  from cellprofiler_core.constants.measurement import C_SERIES_NAME, C_C, C_SERIES, C_Z, C_T
  from cellprofiler_core.pipeline import ImagePlane
  from cellprofiler_core.constants.module import FILTER_RULES_BUTTONS_HELP
  from cellprofiler_core.constants.modules.images import FILTER_CHOICE_ALL
  from cellprofiler_core.constants.modules.images import FILTER_CHOICE_CUSTOM
  from cellprofiler_core.constants.modules.images import FILTER_CHOICE_IMAGES
  from cellprofiler_core.constants.modules.images import FILTER_CHOICE_NONE
  from cellprofiler_core.constants.modules.images import FILTER_DEFAULT
  from cellprofiler_core.module import Module
  from cellprofiler_core.setting import FileCollectionDisplay
  from cellprofiler_core.setting import Binary
  from cellprofiler_core.setting import PathListDisplay
  from cellprofiler_core.setting.choice import Choice
  from cellprofiler_core.setting.do_something import PathListRefreshButton
  from cellprofiler_core.setting.do_something import PathListExtractButton
  from cellprofiler_core.setting.filter import DirectoryPredicate
  from cellprofiler_core.setting.filter import ExtensionPredicate
  from cellprofiler_core.setting.filter import FilePredicate
  from cellprofiler_core.setting.filter import Filter
  from cellprofiler_core.utilities.image import image_resource
  from cellprofiler_core.utilities.image import is_image
label_desc: Use image node_id 1 for calling the Images obj's underlying member method code with example usage: obj.create_settings() without return types