Skip to content

Commit

Permalink
fixed inversion in x/y cross section on image
Browse files Browse the repository at this point in the history
  • Loading branch information
Laurent Claustre committed Nov 28, 2019
1 parent e4c1fdd commit 5f4bc2b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/Bpm.py
Original file line number Diff line number Diff line change
Expand Up @@ -701,9 +701,9 @@ def construct_bvdata(bpm):
profile_x = last_proj_x.tobytes()
profile_y = last_proj_y.tobytes()
else:
profile_x = image.buffer[:,bpm.beammark[1]].astype(numpy.uint64)
profile_x = image.buffer[:,bpm.beammark[0]].astype(numpy.uint64)
profile_x = profile_x.tobytes()
profile_y = image.buffer[bpm.beammark[0],:].astype(numpy.uint64)
profile_y = image.buffer[bpm.beammark[1],:].astype(numpy.uint64)
profile_y = profile_y.tobytes()


Expand Down

0 comments on commit 5f4bc2b

Please sign in to comment.