def gp_acc():
inDir, outDir = getWorkDirs()<EOL>for energy in ['<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>']:<EOL><INDENT>data, titles = [], []<EOL>for idx,infile in enumerate(glob.glob(os.path.realpath(os.path.join(<EOL>inDir, '<STR_LIT>', energy, '<STR_LIT>', '<STR_LIT>'<EOL>)))):<EOL><INDENT>data_import = np.loadtxt(open(infile, '<STR_LIT:rb>'))<EOL>data_import[:,<NUM_LIT:1>] += idx * <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(os.path.basename(infile).split('<STR_LIT:_>')[-<NUM_LIT:1>][:-<NUM_LIT:4>])<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>make_plot(<EOL>name = '<STR_LIT>' % (outDir,energy), xr = [<NUM_LIT:0>,<NUM_LIT:2>], yr = [<NUM_LIT>,<NUM_LIT:2>],<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>': (<NUM_LIT>, <NUM_LIT>),<EOL>'<STR_LIT:U+0020>'.join([getEnergy4Key(energy), '<STR_LIT>']): (<NUM_LIT>, <NUM_LIT>)<EOL>},<EOL>gpcalls = [ '<STR_LIT>', '<STR_LIT>', ],<EOL>)<EOL><DEDENT>
acceptance correction