def METHOD_NAME(options=None):
    parser = argparse.ArgumentParser(description="Apply fiberflat, sky subtraction and calibration.")
    parser.add_argument('-i','--infile', type = str, default = None, required=True,
                        help = 'path of DESI exposure frame fits file')
    parser.add_argument('--fiberflat', type = str, default = None,
                        help = 'path of DESI fiberflat fits file')
    parser.add_argument('--sky', type = str, default = None,
                        help = 'path of DESI sky fits file')
    parser.add_argument('--calib', type = str, default = None,
                        help = 'path of DESI calibration fits file')
    parser.add_argument('-o','--outfile', type = str, default = None, required=True,
                        help = 'path of output fits file')
    parser.add_argument('--cosmics-nsig', type = float, default = 0, required=False,
                        help = 'n sigma rejection for cosmics in 1D (default, no rejection)')
    parser.add_argument('--apply-sky-throughput-correction', action='store_true',
                        help =('Apply a throughput correction to the whole sky spectrum, not just the lines '
                               '(default: a correction is applied to the sky lines but not the continuum)'))
    parser.add_argument('--no-sky-line-throughput-correction', action='store_true',
                        help =('Do not apply a throughput correction to the sky spectrum lines or the continuum '
                               '(default: a correction is applied to the sky lines but not the continuum)'))
    parser.add_argument('--no-zero-ivar', action='store_true',
                        help = 'Do NOT set ivar=0 for masked pixels')
    parser.add_argument('--no-tsnr', action='store_true',
                        help = 'Do not compute template SNR')
    parser.add_argument('--no-xtalk', action='store_true',
                        help = 'Do not apply fiber crosstalk correction')
    parser.add_argument('--alpha_only', action='store_true',
                        help = 'Only compute alpha of tsnr calc.')
    args = parser.parse_args(options)
    return args