def main():
<EOL>strWelcome = '<STR_LIT>' + __version__<EOL>strDec = '<STR_LIT:=>' * len(strWelcome)<EOL>print(strDec + '<STR_LIT:\n>' + strWelcome + '<STR_LIT:\n>' + strDec)<EOL>objNspc = get_arg_parse()<EOL>if any(item is None for item in [objNspc.config, objNspc.strPthPrior,<EOL>objNspc.varNumOpt1, objNspc.varNumOpt2]):<EOL><INDENT>print('<STR_LIT>')<EOL>print('<STR_LIT>')<EOL><DEDENT>else:<EOL><INDENT>lgcTest = False<EOL>if objNspc.supsur is None:<EOL><INDENT>print('<STR_LIT>')<EOL>pyprf_opt_brute(objNspc.config, objNspc, lgcTest=lgcTest,<EOL>strPathHrf=objNspc.strPathHrf, varRat=None)<EOL><DEDENT>else:<EOL><INDENT>print('<STR_LIT>')<EOL>dicCnfg = load_config(objNspc.config, lgcTest=lgcTest,<EOL>lgcPrint=False)<EOL>cfg = cls_set_config(dicCnfg)<EOL>errorMsg = '<STR_LIT>'<EOL>assert cfg.lgcCrteMdl, errorMsg<EOL>errorMsg = '<STR_LIT>'<EOL>assert cfg.switchHrfSet == <NUM_LIT:1>, errorMsg<EOL>lstRat = objNspc.supsur<EOL>errorMsg = '<STR_LIT>'<EOL>assert np.all(np.greater(np.array(lstRat), <NUM_LIT:1.0>)), errorMsg<EOL>lstRat.insert(<NUM_LIT:0>, None)<EOL>for varRat in lstRat:<EOL><INDENT>print('<STR_LIT>' + str(varRat))<EOL>pyprf_opt_brute(objNspc.config, objNspc, lgcTest=lgcTest,<EOL>strPathHrf=objNspc.strPathHrf, varRat=varRat)<EOL><DEDENT>lstNiiNames = ['<STR_LIT>',<EOL>'<STR_LIT>',<EOL>'<STR_LIT>',<EOL>'<STR_LIT>',<EOL>'<STR_LIT>',<EOL>'<STR_LIT>',<EOL>'<STR_LIT>']<EOL>lstRat[<NUM_LIT:0>] = <NUM_LIT:1.0><EOL>if objNspc.strPathHrf is not None:<EOL><INDENT>cfg.strPathOut = cfg.strPathOut + '<STR_LIT>'<EOL><DEDENT>cmp_res_R2(lstRat, lstNiiNames, cfg.strPathOut, cfg.strPathMdl,<EOL>lgcDel=True, lgcSveMdlTc=False, strNmeExt='<STR_LIT>')<EOL><DEDENT><DEDENT>
pyprf_opt_brute entry point.