def METHOD_NAME(cmdline): #pylint: disable=unused-variable
  from mrtrix3 import app #pylint: disable=no-name-in-module, import-outside-toplevel
  cmdline.set_author('Daan Christiaens (daan.christiaens@kcl.ac.uk)')
  cmdline.set_synopsis('Apply an mrmath operation to each b-value shell in a DWI series')
  cmdline.add_description('The output of this command is a 4D image, where '
                          'each volume corresponds to a b-value shell (in order of increasing b-value), and '
                          'the intensities within each volume correspond to the chosen statistic having been computed from across the DWI volumes belonging to that b-value shell.')
  cmdline.add_argument('input', help='The input diffusion MRI series')
  cmdline.add_argument('operation', choices=SUPPORTED_OPS, help='The operation to be applied to each shell; this must be one of the following: ' + ', '.join(SUPPORTED_OPS))
  cmdline.add_argument('output', help='The output image series')
  cmdline.add_example_usage('To compute the mean diffusion-weighted signal in each b-value shell',
                            'dwishellmath dwi.mif mean shellmeans.mif')
  app.add_dwgrad_import_options(cmdline)