Bug #2029

Unit convertion bug when ROI is set

Added by pospelov about 2 years ago. Updated about 2 years ago.

Status:ResolvedStart date:04 Apr 2018
Priority:NormalDue date:
Assignee:dmitry% Done:

0%

Category:-
Target version:Sprint 37

Description

See attached image and file.
This is a modification of RectangularDetector.py user example.

There are 5 plots on the canvas. The last plot presents wrong axes units.

Plots are:

1. Spherical detector simulation for reference
2. Rectangular detector simulation
3. Rectangular detector simulation, results are shown in native units (MM)
4. Rectangular detector simulation, with ROI on the detector, results in native units
5. Rectangular detector simulation, with ROI on the detector, shown in DEGREES (PROBLEM)

The last plot should have x-axes approximately with range [-0.2, 2.0], y-axis [0.1, 2.1]

roi_and_units.png (334 KB) pospelov, 04 Apr 2018 10:00

roi_and_units.py Magnifier (4.28 KB) pospelov, 04 Apr 2018 10:01

History

#1 Updated by pospelov about 2 years ago

  • Assignee deleted (pospelov)

#2 Updated by dmitry about 2 years ago

  • Assignee set to dmitry

#3 Updated by dmitry about 2 years ago

  • Status changed from Sprint to Resolved

Also available in: Atom PDF