def load_config(strCsvCnfg, lgcTest=False, lgcPrint=True):
<EOL>dicCnfg = {}<EOL>with open(strCsvCnfg, '<STR_LIT:r>') as fleConfig:<EOL><INDENT>csvIn = csv.reader(fleConfig,<EOL>delimiter='<STR_LIT:\n>',<EOL>skipinitialspace=True)<EOL>for lstTmp in csvIn:<EOL><INDENT>if lstTmp and not (lstTmp[<NUM_LIT:0>][<NUM_LIT:0>] == '<STR_LIT:#>'):<EOL><INDENT>strParamKey = lstTmp[<NUM_LIT:0>].split('<STR_LIT>')[<NUM_LIT:0>]<EOL>strParamVlu = lstTmp[<NUM_LIT:0>].split('<STR_LIT>')[<NUM_LIT:1>]<EOL>dicCnfg[strParamKey] = strParamVlu<EOL><DEDENT><DEDENT><DEDENT>dicCnfg['<STR_LIT>'] = ast.literal_eval(dicCnfg['<STR_LIT>'])<EOL>if lgcPrint:<EOL><INDENT>print('<STR_LIT>' + str(dicCnfg['<STR_LIT>']))<EOL><DEDENT>dicCnfg['<STR_LIT>'] = int(dicCnfg['<STR_LIT>'])<EOL>dicCnfg['<STR_LIT>'] = int(dicCnfg['<STR_LIT>'])<EOL>if lgcPrint:<EOL><INDENT>if dicCnfg['<STR_LIT>'] == '<STR_LIT>':<EOL><INDENT>print('<STR_LIT>' +<EOL>str(dicCnfg['<STR_LIT>']))<EOL>print('<STR_LIT>' +<EOL>str(dicCnfg['<STR_LIT>']))<EOL><DEDENT>elif dicCnfg['<STR_LIT>'] == '<STR_LIT>':<EOL><INDENT>print('<STR_LIT>' +<EOL>str(dicCnfg['<STR_LIT>']))<EOL>print('<STR_LIT>' +<EOL>str(dicCnfg['<STR_LIT>']))<EOL><DEDENT><DEDENT>dicCnfg['<STR_LIT>'] = int(dicCnfg['<STR_LIT>'])<EOL>if lgcPrint:<EOL><INDENT>print('<STR_LIT>'<EOL>+ str(dicCnfg['<STR_LIT>']))<EOL><DEDENT>dicCnfg['<STR_LIT>'] = float(dicCnfg['<STR_LIT>'])<EOL>if lgcPrint:<EOL><INDENT>print('<STR_LIT>'<EOL>+ str(dicCnfg['<STR_LIT>']))<EOL><DEDENT>dicCnfg['<STR_LIT>'] = float(dicCnfg['<STR_LIT>'])<EOL>if lgcPrint:<EOL><INDENT>print('<STR_LIT>'<EOL>+ str(dicCnfg['<STR_LIT>']))<EOL><DEDENT>dicCnfg['<STR_LIT>'] = float(dicCnfg['<STR_LIT>'])<EOL>if lgcPrint:<EOL><INDENT>print('<STR_LIT>'<EOL>+ str(dicCnfg['<STR_LIT>']))<EOL><DEDENT>dicCnfg['<STR_LIT>'] = float(dicCnfg['<STR_LIT>'])<EOL>if lgcPrint:<EOL><INDENT>print('<STR_LIT>'<EOL>+ str(dicCnfg['<STR_LIT>']))<EOL><DEDENT>dicCnfg['<STR_LIT>'] = float(dicCnfg['<STR_LIT>'])<EOL>if lgcPrint:<EOL><INDENT>print('<STR_LIT>' + str(dicCnfg['<STR_LIT>']))<EOL><DEDENT>dicCnfg['<STR_LIT>'] = float(dicCnfg['<STR_LIT>'])<EOL>if lgcPrint:<EOL><INDENT>print('<STR_LIT>' + str(dicCnfg['<STR_LIT>']))<EOL><DEDENT>dicCnfg['<STR_LIT>'] = float(dicCnfg['<STR_LIT>'])<EOL>if lgcPrint:<EOL><INDENT>print('<STR_LIT>' + str(dicCnfg['<STR_LIT>']))<EOL><DEDENT>dicCnfg['<STR_LIT>'] = float(dicCnfg['<STR_LIT>'])<EOL>if lgcPrint:<EOL><INDENT>print('<STR_LIT>'<EOL>+ str(dicCnfg['<STR_LIT>']))<EOL><DEDENT>dicCnfg['<STR_LIT>'] = int(dicCnfg['<STR_LIT>'])<EOL>if lgcPrint:<EOL><INDENT>print('<STR_LIT>'<EOL>+ str(dicCnfg['<STR_LIT>']))<EOL><DEDENT>dicCnfg['<STR_LIT>'] = float(dicCnfg['<STR_LIT>'])<EOL>if lgcPrint:<EOL><INDENT>print('<STR_LIT>'<EOL>+ str(dicCnfg['<STR_LIT>']))<EOL><DEDENT>dicCnfg['<STR_LIT>'] = int(dicCnfg['<STR_LIT>'])<EOL>if lgcPrint:<EOL><INDENT>print('<STR_LIT>'<EOL>+ str(dicCnfg['<STR_LIT>']))<EOL><DEDENT>dicCnfg['<STR_LIT>'] = tuple([int(dicCnfg['<STR_LIT>']),<EOL>int(dicCnfg['<STR_LIT>'])])<EOL>if lgcPrint:<EOL><INDENT>print('<STR_LIT>'<EOL>+ str(dicCnfg['<STR_LIT>']))<EOL><DEDENT>dicCnfg['<STR_LIT>'] = ast.literal_eval(dicCnfg['<STR_LIT>'])<EOL>if lgcPrint:<EOL><INDENT>print('<STR_LIT>')<EOL>for strTmp in dicCnfg['<STR_LIT>']:<EOL><INDENT>print('<STR_LIT:U+0020>' + str(strTmp))<EOL><DEDENT><DEDENT>dicCnfg['<STR_LIT>'] = ast.literal_eval(dicCnfg['<STR_LIT>'])<EOL>if lgcPrint:<EOL><INDENT>print('<STR_LIT>')<EOL>print('<STR_LIT:U+0020>' + str(dicCnfg['<STR_LIT>']))<EOL><DEDENT>dicCnfg['<STR_LIT>'] = ast.literal_eval(dicCnfg['<STR_LIT>'])<EOL>if lgcPrint:<EOL><INDENT>print('<STR_LIT>')<EOL>print('<STR_LIT:U+0020>' + str(dicCnfg['<STR_LIT>']))<EOL><DEDENT>dicCnfg['<STR_LIT>'] = ast.literal_eval(dicCnfg['<STR_LIT>'])<EOL>if lgcPrint:<EOL><INDENT>print('<STR_LIT>'<EOL>+ str(dicCnfg['<STR_LIT>']))<EOL><DEDENT>dicCnfg['<STR_LIT>'] = (dicCnfg['<STR_LIT>'] == '<STR_LIT:True>')<EOL>if lgcPrint:<EOL><INDENT>print('<STR_LIT>'<EOL>+ str(dicCnfg['<STR_LIT>']))<EOL><DEDENT>dicCnfg['<STR_LIT>'] = ast.literal_eval(dicCnfg['<STR_LIT>'])<EOL>if lgcPrint:<EOL><INDENT>print('<STR_LIT>'<EOL>+ '<STR_LIT>')<EOL>print('<STR_LIT:U+0020>' + str(dicCnfg['<STR_LIT>']))<EOL><DEDENT>dicCnfg['<STR_LIT>'] = ast.literal_eval(dicCnfg['<STR_LIT>'])<EOL>if lgcPrint:<EOL><INDENT>print('<STR_LIT>'<EOL>+ str(dicCnfg['<STR_LIT>']))<EOL><DEDENT>dicCnfg['<STR_LIT>'] = ast.literal_eval(dicCnfg['<STR_LIT>'])<EOL>if lgcPrint:<EOL><INDENT>print('<STR_LIT>'<EOL>+ str(dicCnfg['<STR_LIT>']))<EOL><DEDENT>if dicCnfg['<STR_LIT>']:<EOL><INDENT>dicCnfg['<STR_LIT>'] = ast.literal_eval(dicCnfg['<STR_LIT>'])<EOL>if lgcPrint:<EOL><INDENT>print('<STR_LIT>')<EOL>print('<STR_LIT:U+0020>' + str(dicCnfg['<STR_LIT>']))<EOL><DEDENT>dicCnfg['<STR_LIT>'] = ast.literal_eval(dicCnfg['<STR_LIT>'])<EOL>if lgcPrint:<EOL><INDENT>print('<STR_LIT>')<EOL>print('<STR_LIT:U+0020>' + str(dicCnfg['<STR_LIT>']))<EOL><DEDENT>dicCnfg['<STR_LIT>'] = ast.literal_eval(dicCnfg['<STR_LIT>'])<EOL>if lgcPrint:<EOL><INDENT>print('<STR_LIT>'<EOL>+ str(dicCnfg['<STR_LIT>']))<EOL><DEDENT><DEDENT>if lgcTest:<EOL><INDENT>dicCnfg['<STR_LIT>'] = (strDir + dicCnfg['<STR_LIT>'])<EOL>dicCnfg['<STR_LIT>'] = (strDir + dicCnfg['<STR_LIT>'])<EOL>dicCnfg['<STR_LIT>'] = (strDir + dicCnfg['<STR_LIT>'])<EOL>dicCnfg['<STR_LIT>'] = (strDir + dicCnfg['<STR_LIT>'])<EOL>dicCnfg['<STR_LIT>'] = (strDir + dicCnfg['<STR_LIT>'])<EOL>varNumRun = len(dicCnfg['<STR_LIT>'])<EOL>for idxRun in range(varNumRun):<EOL><INDENT>dicCnfg['<STR_LIT>'][idxRun] = (<EOL>strDir<EOL>+ dicCnfg['<STR_LIT>'][idxRun]<EOL>)<EOL><DEDENT><DEDENT>return dicCnfg<EOL>
Load py_pRF_mapping config file.

Parameters
----------
strCsvCnfg : string
    Absolute file path of config file.
lgcTest : Boolean
    Whether this is a test (pytest). If yes, absolute path of this function
    will be prepended to config file paths.
lgcPrint : Boolean
    Print config parameters?

Returns
-------
dicCnfg : dict
    Dictionary containing parameter names (as keys) and parameter values
    (as values). For example, `dicCnfg['varTr']` contains a float, such as
    `2.94`.