def get_parser():
    #param = Param()

    # Initialize the parser
    parser = Parser(__file__)
    parser.usage.set_description('''Identification and estimation of noise in the diffusion signal, implemented by the Dipy software project (http://nipy.org/dipy/), based on the PIESNO method: Koay C.G., E. Ozarslan, C. Pierpaoli. Probabilistic Identification and Estimation of Noise (PIESNO): A self-consistent approach and its applications in MRI. JMR, 199(1):94-103, 2009.''')
    parser.add_option(name='-i',
                      type_value='file',
                      description='Input file',
                      mandatory=True,
                      example='data_highQ.nii')
    parser.add_option(name='-dof',
                      type_value='int',
                      description='Degree of freedom of the noise distribution. Corresponds to the number of antenna for an acquisition without parallel imaging with sum of squares combination. Otherwise, dof is close to 1.',
                      mandatory=False,
                      default_value='1',
                      example='1')
    parser.add_option(name="-o",
                      type_value='file_output',
                      description='Output file.',
                      mandatory=False,
                      example='noise_mask.nii.gz')
    parser.add_option(name='-h',
                      type_value=None,
                      description='Display this help.',
                      mandatory=False)
    return parser

# MAIN
# ==========================================================================================
The main WSGI application. Dispatch the current request to
dataset/ETHPy150Open neuropoly/spinalcordtoolbox/scripts/sct_dmri_create_noisemask.py/get_parser--crossover with--dataset/ETHPy150Open rohe/pyoidc/oidc_example/op1/claims_provider.py/application