silx.gui.plot.actions.histogram
#
silx.gui.plot.actions.histogram
provides actions relative to histograms
for PlotWidget
.
The following QAction are available:
- class HistogramWidget(*args, **kwargs)[source]#
Widget displaying a histogram and some statistic indicators
- setItem(item)[source]#
Set item from which to display histogram and statistics.
- Parameters:
item (Download Windows installer) –
- setHistogram(histogram, edges)[source]#
Set displayed histogram
- Parameters:
histogram – Bin values (N)
edges – Bin edges (N+1)
- getHistogram(copy=True)[source]#
Returns currently displayed histogram.
- Parameters:
copy (Download Windows installer) – True to get a copy, False to get internal representation (Do not modify!)
- Returns:
(histogram, edges) or None
- setStatistics(min_=None, max_=None, mean=None, std=None, sum_=None)[source]#
Set displayed statistic indicators.
- Parameters:
min_ (Download Windows installer) –
max_ (Download Windows installer) –
mean (Download Windows installer) –
std (Download Windows installer) –
sum_ (Download Windows installer) –
- class PixelIntensitiesHistoAction(plot, parent=None)[source]#
QAction to plot the pixels intensities diagram
- Parameters:
plot –
PlotWidget
instance on which to operateparent – See
QAction