We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e4c1fdd commit 5f4bc2bCopy full SHA for 5f4bc2b
1 file changed
plugins/Bpm.py
@@ -701,9 +701,9 @@ def construct_bvdata(bpm):
701
profile_x = last_proj_x.tobytes()
702
profile_y = last_proj_y.tobytes()
703
else:
704
- profile_x = image.buffer[:,bpm.beammark[1]].astype(numpy.uint64)
+ profile_x = image.buffer[:,bpm.beammark[0]].astype(numpy.uint64)
705
profile_x = profile_x.tobytes()
706
- profile_y = image.buffer[bpm.beammark[0],:].astype(numpy.uint64)
+ profile_y = image.buffer[bpm.beammark[1],:].astype(numpy.uint64)
707
profile_y = profile_y.tobytes()
708
709
0 commit comments