def METHOD_NAME():
    from optparse import OptionParser
    import sys
    usage = 'usage: %s [-v] <-i input_soundfile> [-g ground_truth_file]' % sys.argv[0]
    parser = OptionParser(usage=usage)
    parser.add_option('-v','--verbose',
        action='store_true', dest='verbose', default=False,
        help='verbose mode')
    parser.add_option('-i','--input',
        action='store', dest='input_file', type='string',
        help='input file')
    parser.add_option('-o','--no-onsets',
        action='store_false', dest='use_onset', default=True,
        help='use onset features')
    parser.add_option('-b','--no-bands',
        action='store_false', dest='use_bands', default=True,
        help='use frequency bands features')
    parser.add_option('-p','--plot',
        action='store_true', dest='do_plots', default=False,
        help='plot each frame of features')
    parser.add_option('-P','--final-plot',
        action='store_true', dest='do_final_plots', default=False,
        help='plot the final tempo and beats outline')
    parser.add_option('-g','--ground-truth', default=None,
        action='store', dest='ground_truth_file', type='string',
        help='ground truth file')
    (options, args) = parser.METHOD_NAME()
    if options.input_file is None:
      print(usage)
      sys.exit(1)
    return options, args