def gp_norm(infile):
inDir, outDir = getWorkDirs()<EOL>data, titles = [], []<EOL>for eidx,energy in enumerate(['<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>']):<EOL><INDENT>file_url = os.path.realpath(os.path.join(<EOL>inDir, '<STR_LIT>', energy, '<STR_LIT>', infile+'<STR_LIT>'<EOL>))<EOL>data_import = np.loadtxt(open(file_url, '<STR_LIT:rb>'))<EOL>data_import[:,<NUM_LIT:1>] += eidx * <NUM_LIT><EOL>data_import[:,<NUM_LIT:4>] = data_import[:,<NUM_LIT:3>]<EOL>data_import[:,(<NUM_LIT:2>,<NUM_LIT:3>)] = <NUM_LIT:0><EOL>data.append(data_import)<EOL>titles.append('<STR_LIT:U+0020>'.join([getEnergy4Key(energy), '<STR_LIT>']))<EOL><DEDENT>nData = len(data)<EOL>lines = dict(<EOL>('<STR_LIT>'.format(<NUM_LIT:1>+i*<NUM_LIT>), '<STR_LIT>'.format(default_colors[-<NUM_LIT:2>]))<EOL>for i in range(nData)<EOL>)<EOL>lines.update(dict(<EOL>('<STR_LIT>'.format(<NUM_LIT:1>+i*<NUM_LIT>+<NUM_LIT>), '<STR_LIT>'.format(default_colors[-<NUM_LIT:5>]))<EOL>for i in range(nData)<EOL>))<EOL>lines.update(dict(<EOL>('<STR_LIT>'.format(<NUM_LIT:1>+i*<NUM_LIT>-<NUM_LIT>), '<STR_LIT>'.format(default_colors[-<NUM_LIT:5>]))<EOL>for i in range(nData)<EOL>))<EOL>lines.update({'<STR_LIT>': '<STR_LIT>'.format(default_colors[-<NUM_LIT:2>])})<EOL>charges = '<STR_LIT>' if infile == '<STR_LIT>' else '<STR_LIT>'<EOL>make_plot(<EOL>name = '<STR_LIT>' % (outDir,infile), xr = [<NUM_LIT:0>,<NUM_LIT:2>], yr = [<NUM_LIT>,<NUM_LIT>],<EOL>data = data, properties = [<EOL>'<STR_LIT>' % (default_colors[i]) <EOL>for i in range(nData)<EOL>], titles = titles, size = '<STR_LIT>',<EOL>lmargin = <NUM_LIT>, rmargin = <NUM_LIT>, tmargin = <NUM_LIT>, bmargin = <NUM_LIT>,<EOL>xlabel = '<STR_LIT>',<EOL>lines = lines, key = [<EOL>'<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>'<EOL>], labels = {<EOL>'<STR_LIT>' % (charges, charges): (<NUM_LIT>, <NUM_LIT>)<EOL>}, gpcalls = [<EOL>'<STR_LIT>', '<STR_LIT>',<EOL>],<EOL>)<EOL>
indentify normalization region