You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Pre-history of graphical applications

"All creatures great and small..."

LCLS

Most of them implemented in python using PyQt widgets and graphics in matplotlib

  • calibman - calibration constant producer and manager, motivated by Amedeo Perazzo
  • hdf5explorer - hdf5 file browser, motivated by Marc Messerschmidt
  • corana - pipeline control and presenter for time correlation analysis, motivated by Marcin Sikorski
  • loggrabber - weblogger population tool, motivated by Igor Gaponenko
  • plims - image plotter
  • med - mask editor
  • iv - image viewer with PyQt graphics
  • geo - PyQt in C++ - geometry alignment tool

LCLS-II

All of them implemented in python using PyQt widgets for GUI and graphics

  • calibman - calibration constant monitoring and management in MongoDB
  • hdf5explorer - survived part after LCLS
  • timeconverter - converter between UNIX epoch seconds and human readable date-time
  • screengrabber - screen grabber - survived aftyer LCLS loggrabber
  • DAQ Control GUI
  • iv - adapted from LCLS almost as is
  • med - this project, official approval date 2023-05-23

Code location

  • Modules:   lcls2/psana/psana/graphqt/GW*.py and other
  • Examples: lcls2/psana/psana/graphqt/examples/ex_GW*.py and other

PyQt Widgets

GWView

GWViewExt

GWViewImage

GWViewHist

GWViewAxis

GWViewImage

GWViewColorBar

GWImageAxes

GWSpectrum

GWViewImageROI

Summary for Widgets

WidgetFunctionalityParametersIs-a DependencyComments


GWViewmoving/zooming viewport for scenerscene, origin='UL', scale_ctl='HV'GWView < QGraphicsView



GWViewExt+ adds update speed and signals to GWView+ signal_fastGWViewExt < GWView



GWViewImage+ QPixmap to QGraphicsScene of GWViewExt
GWViewImage < GWViewExt



GWViewHist+ Histogram to ...
GWViewHist < GWViewExt



GWViewAxis+ Axis to ...
GWViewAxis < GWViewExt



GWViewColorBar+ ColorBar to ...
GWViewColorBar < GWViewExt



GWImageAxesQWidget with image and x-y axes
GWImageAxes < QWidget



GWSpectrumQWidget with histogram x-y axes and color bar
GWSpectrum < QWidget



GWViewImageROI+ ROI to GWImageAxes
GWViewImageROI < GWImageAxes











Handles and ROI

Control Handles

Handle TypeFunctionalityParametersIs-a DependencyComments
OriginROI origin position


TranslationHandle for entire ROI translation


RotationHandle for ROI rotation


MoveHandle for moving of particular ROI's point


MenuPop-up menu on mouse click

Invert/delete/change lookout
CenterThe same as Move?


Q: Anything else?



ROI

ROI TypeFunctionalityParametersIs-a DependencyComments
Pixelsingle pixel maskposition

Linepixels along lineposition1, position2
Q: width?
Rect
position(T,L), size (W,H), rotation

Ellipse
position(center), size (W,H), rotation

Polygone
position[N-points]

Arche
3-points like in AMI2

Q: Circle?
position and radius

Q: Square?
position, size, rotation

Q: Anything else?



Behavior

Q: what is the most convenient control behavior?

References


  • No labels