WA Probability Density Function Estimation (Waveform) VI
- Updated2024-07-30
- 4 minute(s) read
Estimates the probability density function (PDF) of 1D or 2D signals from the error-reduced statistical histogram. Wire data to the signal input to determine the polymorphic instance to use or manually select the instance.

Inputs/Outputs
![]() signal specifies the input signal. ![]() number of bins specifies the number of bins to use to estimate the statistical histogram of signal. ![]() wavelet specifies the wavelet type to use for the discrete wavelet analysis. The default is db02. The options include two types: orthogonal (Haar, Daubechies (dbxx), Coiflets (coifx), Symmlets (symx)) and biorthogonal (Biorthogonal (biorx_x), including FBI (bior4_4 (FBI))), where x indicates the order of the wavelet. ![]() error in describes error conditions that occur before this node runs. This input provides standard error in functionality. ![]() filter banks specifies the analysis filter banks and the synthesis filter banks for the wavelet you specify. If you specify a value for filter banks, this VI ignores the settings in the wavelet input. You can use the Wavelet Design Express VI to design the analysis filters and the corresponding synthesis filters.
![]() PDF returns the estimated probability density function of signal on an XY graph. ![]() error out contains error information. This output provides standard error out functionality. |
WA Probability Density Function Estimation Details
This VI completes the following steps to implement the wavelet-based estimation of the probability density function.
- Calculates the histogram of the input signal.
- Performs the wavelet denoising on the histogram output.
- Rescales the denoised function to return a unit integral.
You often estimate the PDF of a signal or image by computing the histogram for a large number of samples. However, when the realization number of a stochastic process is limited, such as with an image with a fixed size, the PDF estimation from the histogram might include a large variance. In this case, you can use smoothing methods to return a better estimate. The wavelet method can keep the smoothness of the estimated PDF and provide a solution for density functions with breakdown points.
Examples
Refer to the Probability Density Function Estimation VI in the labview\examples\Wavelet Analysis\WAGettingStarted directory for an example of using the WA Probability Density Function Estimation VI.