EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  <20212022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  <20212022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: [EXTERNAL] Question about image widget in Phoebus
From: Florian Feldbauer via Tech-talk <tech-talk at aps.anl.gov>
To: Mark Rivers <rivers at cars.uchicago.edu>, "'Kasemir, Kay'" <kasemirk at ornl.gov>
Cc: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Thu, 29 Apr 2021 17:21:28 +0200

Hey all,


from our pixel sensor we just get a list of pixels that have seen a hit (row and column address).
We want to accumulate all hits and display them as 2d histogram (x-axis beeing column, y axis row and content of pixel = number of hits since start of the measurement).

In my first test I didn't get it to work, but after looking at the example's I think I found my mistake.


Thanks,

Florian


Am 29.04.2021 um 16:27 schrieb Mark Rivers:

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

 

Hi:

 

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.

 

-Kay

 


From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of Florian Feldbauer via Tech-talk <tech-talk at aps.anl.gov>
Sent: Thursday, April 29, 2021 7:14 AM
To: tech-talk at aps.anl.gov <tech-talk at aps.anl.gov>
Subject: [EXTERNAL] Question about image widget in Phoebus

 

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

-- 
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

Replies:
Re: [EXTERNAL] Question about image widget in Phoebus Kasemir, Kay via Tech-talk
References:
Question about image widget in Phoebus Florian Feldbauer via Tech-talk
Re: [EXTERNAL] Question about image widget in Phoebus Kasemir, Kay via Tech-talk
RE: [EXTERNAL] Question about image widget in Phoebus Mark Rivers via Tech-talk

Navigate by Date:
Prev: RE: [EXTERNAL] Question about image widget in Phoebus Mark Rivers via Tech-talk
Next: Re: [EXTERNAL] Question about image widget in Phoebus Kasemir, Kay via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  <20212022  2023  2024 
Navigate by Thread:
Prev: RE: [EXTERNAL] Question about image widget in Phoebus Mark Rivers via Tech-talk
Next: Re: [EXTERNAL] Question about image widget in Phoebus Kasemir, Kay via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  <20212022  2023  2024 
ANJ, 29 Apr 2021 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·