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> 2021 2022 2023 2024 2025 | 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> 2021 2022 2023 2024 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: How can I apply some transformation to the X/Y axis coordinates of CSS Intensity Graph widget? |
From: | "Kasemir, Kay via Tech-talk" <tech-talk at aps.anl.gov> |
To: | "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>, Chiang, Liang-Chih [江良志] <chiang.lc at nsrrc.org.tw> |
Date: | Mon, 16 Mar 2020 12:28:55 +0000 |
When you use the latest version of CS-Studio,
https://github.com/ControlSystemStudio/phoebus (https://controlssoftware.sns.ornl.gov/css_phoebus/), you can simply enter whatever axis range you want for images. It defaults
to the pixel size, i.e. 0 .. (width-1), but you may also directly enter -8.2852 and 6.8376 as the horizontal axis minimum and maximum.
(Note that the "Intensity Graph" widget has been renamed into "Image Widget", but it'll map that automatically when you open existing *.opi files)
-Kay
From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of Chiang, Liang-Chih [江良志] via Tech-talk <tech-talk at aps.anl.gov>
Sent: Monday, March 16, 2020 4:15 AM To: tech-talk at aps.anl.gov <tech-talk at aps.anl.gov> Subject: [EXTERNAL] How can I apply some transformation to the X/Y axis coordinates of CSS Intensity Graph widget? Hi,
I use CSS Intensity Graph to show the 2D image data from areaDetector module.
https://www.dropbox.com/s/du09abigpjebybw/css_intensity_graph.png?dl=0
The coordinates of X axis and Y axis are from 0 to 491.
How can I apply some kind of transformation to the coordiate?
For example, Xnew = (X - 250) * 0.05, the values of Xnew will be from -8.2852 to 6.8376.
ps I have few experience on areaDetector module.
Best regards.
LiangChih Chiang email: chiang.lc at nsrrc.org.tw Beamline Group National Synchrotron Radiation Research Center (NSRRC) |