Skip to content

Commit

Permalink
gp_stack: omit dx from scaling
Browse files Browse the repository at this point in the history
  • Loading branch information
tschaume committed Jan 24, 2014
1 parent 4490e0e commit a50e186
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyana/examples/gp_stack.py
Expand Up @@ -33,7 +33,7 @@ def gp_stack(version):
file_url = os.path.join(inDir, file)
data_import = np.loadtxt(open(file_url, 'rb'))
# following scaling is wrong for y < 0 && shift != 1
data_import[:, 1:] *= shift[energy]
data_import[:, (1,3,4)] *= shift[energy]
if fnmatch(file, 'data*'):
data[energy] = data_import
elif energy == '19' and version == 'QM12': # cut of cocktail above 1.1 GeV/c^2
Expand Down

0 comments on commit a50e186

Please sign in to comment.