AnalyzeTools.WidgetHistogram package¶
Submodules¶
AnalyzeTools.WidgetHistogram.CalculationHistogram module¶
-
class
AnalyzeTools.WidgetHistogram.CalculationHistogram.
CalculationHistogram
(snare, buffer, calib, timeWeight, fqWeight, resolution)¶ Bases:
AnalyzeTools.Calculation.Calculation
CalculationHistogram includes the methods for the Histogram signal processing calculation.
-
calculate
()¶ Calculates the Histogram. The Histogram shows the probability of occurance for every 0.1 dB sound pressure level step. Beside the propability bar plot a rising cumultative sum is overlayed.
Stores the result in self.probSum, self.probDb and self.xAxis.
-
AnalyzeTools.WidgetHistogram.PlotHistogram module¶
-
class
AnalyzeTools.WidgetHistogram.PlotHistogram.
PlotHistogram
(xAxis, bars, calib, xLabelCalibrated, xLabelUncalibrated, yLabel, probSum, resolution)¶ Bases:
AnalyzeTools.PlotBar.PlotBar
QWidget class which contains the Histogram figure plot.
General acessable variables (from calculation instance): self.values – calculation result self.xAxis – calculated x Axis
-
getPlot
()¶ Returns the plot obj with plotted matplot canvas (self.canvas).
Returns: plot object Return type: Obj
-
AnalyzeTools.WidgetHistogram.WidgetHistogram module¶
-
class
AnalyzeTools.WidgetHistogram.WidgetHistogram.
WidgetHistogram
(snare, channel, selNo, timeWeight, fqWeight, parm1=None, parm2=None, parm3=None)¶ Bases:
AnalyzeTools.AnalyzeWidget.AnalyzeWidget
Histogram Analyze Widget.
The Histogram shows the probability of occurance for every 0.1 dB sound pressure level step. Beside the propability bar plot a rising cumultative sum is overlayed. Depending on calibration either with dB fullscale peakvalues or in dB soundpressure level values. seealso::For further information on the calculation implementation have a look at CalculationHistogram.
note::At initialisation the calculation and plotFigure methods are executed automatically. The QWidget stored in self.plot will be integrated in the Analyze Frame.
-
calculate
()¶ Initialize the calculation object and execute it.
-
plot
()¶ Initialize the plot object, store the matplot figure and fill out the labels.
-