PSQt::WdgRadHist Class Reference
[PSQt package]

Widget to display angular-integrated radial-projection historgam for (zoomed) image. More...

#include <WdgRadHist.h>

List of all members.

Public Slots

void onRHistIsFilled (ndarray< float, 1 > &, const unsigned &, const unsigned &)
 Public slot for histogram update.

Public Member Functions

 WdgRadHist (QWidget *parent=0)
virtual ~WdgRadHist ()


Detailed Description

Widget to display angular-integrated radial-projection historgam for (zoomed) image.

  public slots:
    void onRHistIsFilled(ndarray<float, 1>&, const unsigned&, const unsigned&);

Constructor creates a widget with default frame of axes. Actual axes scale and histogram show up through the call to slot onRHistIsFilled(...). It is assumed that pixels have square geometry and radial bin size is equal to the pixel side size.

This software was developed for the LCLS project. If you use all or part of it, please give an appropriate acknowledgment.

See also:
GUView
Version:
Id
WdgRadHist.h 9841 2015-03-26 18:35:44Z dubrovin@SLAC.STANFORD.EDU
Author:
Mikhail Dubrovin

Definition at line 60 of file WdgRadHist.h.


Constructor & Destructor Documentation

PSQt::WdgRadHist::WdgRadHist ( QWidget *  parent = 0  ) 

Definition at line 27 of file WdgRadHist.cpp.

References PSQt::GUAxes::setLimits().

PSQt::WdgRadHist::~WdgRadHist (  )  [virtual]

Definition at line 54 of file WdgRadHist.cpp.


Member Function Documentation

void PSQt::WdgRadHist::onRHistIsFilled ( ndarray< float, 1 > &  ,
const unsigned &  ,
const unsigned &   
) [slot]

Public slot for histogram update.

Parameters:
[in] - ndarray<float, 1>& - ndarray with histogram data from zero-radius to maximal for zoomed image
[in] - const unsigned& - low index in the histogram array for zoomed region
[in] - const unsigned& - upper index in the histogram array for zoomed region

Definition at line 66 of file WdgRadHist.cpp.

References PSQt::hist(), PSQt::INFO, MsgInLog, PSQt::GUAxes::pscene(), and PSQt::GUAxes::setLimits().


The documentation for this class was generated from the following files:
Generated on 19 Dec 2016 for PSANAmodules by  doxygen 1.4.7