def METHOD_NAME(argv):
    transf_types_str = '\n nonl: Non-linear transformation.\n' + \
                       '6dof: 6 degrees of freedom affine transformation.\n' +\
                       '12dof: 12 degrees of freedom affine transformation.\n'
    parser = argparse.ArgumentParser(prog="mni2subject", description="Transform fields"
                                     " from MNI space to subject space using the "
                                     "deformation fields calculated during the "
                                     "segmentation. The input and outputs are "
                                     "nifiti files")
    parser.add_argument("-i", '--in', dest='fn_in', required=True,
                        help="Input nifti in MNI space to be transformed to subject space")
    parser.add_argument("-m", "--m2mpath", dest='m2mpath', required=True,
                        help="path to m2m_{subjectID} directory, created in the "
                        "segmentation")
    parser.add_argument('-o', '-out', dest='out', required=True, help="Output nifti file name")
    parser.add_argument("--transformation_type", '-t', dest='t',
                        help='(optional) Type of transformation to use.'
                        '{0} Default: nonl'.format(transf_types_str), default='nonl',
                        choices=['nonl', '6dof', '12dof'])
    parser.add_argument('--reference_nifti', '-r', dest='r',
                        help='(optional) Reference nifti file in subject space. '
                        'Default: m2m_dir/T1fs_conform.nii.gz',
                        default=None)
    parser.add_argument('--mask', dest='mask',
                        help='(optional) File name of mask to be applied to volume'
                        ' before transformation to subject'
                        ' space',
                        default=None)
    parser.add_argument('--interpolation_order', type=int, dest='int_order',
                        help='(optional) Interpolation order of spline interpolation to be used. '
                        'should be between 0 and 5. Default: 1', default=1)
    parser.add_argument('--version', action='version', version=__version__)
    return parser.parse_args(argv)