code: def getParser():
      "Creates and returns the argparse parser object."
      parser = argparse.ArgumentParser(description=__description__)
  
      parser.add_argument("input", help="The image to analyse.")
      parser.add_argument(
          "-v",
          dest="verbose",
          action="store_true",
          help="Display more information.",
      )
      parser.add_argument(
          "-d",
          dest="debug",
          action="store_true",
          help="Display debug information.",
      )
  
      return parser
  
file_path: medpy/bin/medpy_info.py
imports: import argparse
  import logging
  from medpy.io import load, get_pixel_spacing, get_offset
  from medpy.core import Logger
label_desc: Use image node_id 4 for calling a global function with example usage: getParser() and returns: parser