hyperspyUI icon indicating copy to clipboard operation
hyperspyUI copied to clipboard

Line measure + changing axis scale

Open magnunor opened this issue 8 years ago • 1 comments

The line measure tool doesn't work properly after changing axis scale.

To replicate:

  • Generate an image signal (s = hs.signals.Signal2D(np.random.random(size=(100,100))))
  • Press line measure tool and drag it in the image (this works)
  • In the Axes configuration, under "Calibration", change the scale (for example to 0.5, for both axes).
  • The line tool will now be restricted to the top-left corner of the image

magnunor avatar Jan 30 '17 13:01 magnunor

This also extends to the crop tool

magnunor avatar Jan 30 '17 13:01 magnunor