AnalyzeTools.WidgetSpl package

Submodules

AnalyzeTools.WidgetSpl.CalculationSpl module

class AnalyzeTools.WidgetSpl.CalculationSpl.CalculationSpl(snare, buffer, calib, timeWeight, fqWeight)

Bases: AnalyzeTools.Calculation.Calculation

CalculationSpl includes the methods for the dBFS/dBSPL level signal processing calculation.

calculate()

Calculates the Sound Pressure Level. Depending on calibration either in dBFS Peakvalues or in dbSPL values. seealso::For further information on the calibration implementation have a look at AnalyzeBuffer, ‘calib’ is only used to choose the right dBFS/dBSPL Scale.

Stores the result in self.values and self.xAxis.

AnalyzeTools.WidgetSpl.PlotSpl module

class AnalyzeTools.WidgetSpl.PlotSpl.PlotSpl(calcObj, calib, offset)

Bases: AnalyzeTools.Plot.Plot

QWidget class which contains the SPL figure plot.

getPlot()

Returns the plot obj with plotted matplot canvas (self.canvas).

Returns:plot object
Return type:Obj

AnalyzeTools.WidgetSpl.WidgetSpl module

class AnalyzeTools.WidgetSpl.WidgetSpl.WidgetSpl(snare, channel, selNo, timeWeight, fqWeight, parm1=None, parm2=None, parm3=None)

Bases: AnalyzeTools.AnalyzeWidget.AnalyzeWidget

Sound Pressure Level Analyze Widget.

Plots the dB values against time axis. According to whether calibration is set, the values are either in dB fullscale peakvalues or in dB soundpressure level values. The values are frequency- and time-weighted. seealso::For further information on the calibration implementation have a look at AnalyzeBuffer.

note::At initialisation the calculation and plot 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.

Module contents