Open mrakitin opened 6 years ago
this looks good! Do we still need this with the image plotter? If we use it, I might suggest using a tool to choose min max according to a histogram. I usually use something like this here. I think in general it would be nice to have a histogram widget that plots a histogram of an image that would allow a user to select limits themselves, like pyqtgraph. I wonder if it's worth adding in matplotlib, or do some searching
I think my implementation is too simple 😃. We may need to use the CrossSection class from xray-vision, which would add a color bar, and cross-hair with corresponding interactive plots. vmin/vmax
can be supplied either via the kwargs, or via a menu in the MPL window. Your option may be a useful addition! But it's probably worth to add it to xray-vision rather than to this beamline-specific profile.
Here is a simple plotting function for visualizing the images. Usage:
Attn @jrmlhermitte @milinda2014