Florian,
If have you have an image from a pixel array detector displayed in Phoebus or another OPI that
IS a 2-D histogram. Most OPI displays render that as a black and white intensity or false color scale, where the intensity or color is proportional to the number of counts in each pixel.
Is what you are asking for it to render instead as a 2-D bar graph, i.e. with rectangular prisms at each pixel whose height is proportional to the number of counts?
Mark
From: Tech-talk <tech-talk-bounces at aps.anl.gov>
On Behalf Of Kasemir, Kay via Tech-talk
Sent: Thursday, April 29, 2021 8:16 AM
To: tech-talk at aps.anl.gov; Florian Feldbauer <florian at ep1.ruhr-uni-bochum.de>
Subject: Re: [EXTERNAL] Question about image widget in Phoebus
Check the example displays.
"Image Widget" demonstrates the Cursor Info PVs.
Having said that, the basic idea is that the display simply displays PVs.
It doesn't "do" anything, it won't compute a histogram.
The cursor info PVs can used to send the location of a "click" inside the image to PVs on an IOC, and that IOC then computes something related to that location.
If you want to compute a histogram for the horizontal or vertical line through the cursor, I think the area detector has the basic functionality. So image display -> cursor PVs
-> maybe some calc records to transform location -> area detector histogram plugin -> waveform for XYPlot.
Other ways we use the cursor PVs on beamlines:
One IOC reads the cursor location and updates a string PV with detector pixel information (which detector module, which 'tube', ...).
Another more elaborate 'python IOC' turns the click on an image into motor commands to move the clicked location of the sample into the beam.
But again the display doesn't "do" anything here beyond just writing the X/Y location of the click to PVs.
Hey all,
we are operating pixel sensors and as a kind of QA / status monitor we
would like to display the hit distribution of the pixel sensor in phoebus.
So in principal I need a 2D histogram.
The Image widget in Phoebus looks like it could be usable for it, but so
far I was not able to operate it.
Is there some documentation on the different widget types and their
properties?
The image widget has a "PV name" propertie, but also
Cursor info PV
Cursor X PV
Cursor Y PV
What is the meaning of these PVs?
What kind of PVs can be used?
Many thanks for your help in advance,
Florian
--
Ruhr-Universität Bochum
AG der Experimentalphysik I
Dr. Florian Feldbauer
NB 2/131 / Fach 125
Universitätsstr. 150
D-44801 Bochum
Office: NB 2/134
Phone: (+49)234 / 32-23563
Fax: (+49)234 / 32-14170
https://paluma.ruhr-uni-bochum.de