Owning Palette: Filters VIs
Requires: Full Development System
Designs and implements an IIR filter whose magnitude-squared response is inversely proportional to frequency over a specified frequency range. This inverse-f filter is typically used to colorize spectrally flat, or white, noise. Wire data to the X input to determine the polymorphic instance to use or manually select the instance.
Use the pull-down menu to select an instance of this VI.
reset forces the filter coefficients to be redesigned and the internal filter states to be reset to zero when it is TRUE. The default is FALSE. | |||||||||||||
X is the input array of samples to filter. | |||||||||||||
fs specifies the design sample rate in samples/second. | |||||||||||||
exponent specifies the exponent of the desired inverse-f spectral shape. This VI designs a digital filter with the desired magnitude-squared response of 1/frequency^{exponent}. | |||||||||||||
filter specifications specifies the operating frequency range and the filter order of the filter.
| |||||||||||||
unity gain freq specifies the frequency in radians per second at which the ideal inverse-f filter response has unity gain. The actual inverse-f filter is designed to approximate the ideal filter over the frequency range defined by filter specifications. Therefore, the actual gain of the filter at unity gain freq is near unity only if unity gain freq is within the design frequency range specified in filter specifications. | |||||||||||||
Filtered X is the output array of filtered samples. | |||||||||||||
filter information returns the magnitude and phase of the frequency response of the designed inverse-f filter.
| |||||||||||||
magnitude error returns the magnitude of the deviation of the actual inverse-f filter in dB when measured against the ideal inverse-f filter. The ideal filter has a magnitude-squared response proportional to 1/f ^{exponent} over the frequency range specified by filter specifications.
| |||||||||||||
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster. | |||||||||||||
noise bandwidth returns the expected noise bandwidth of the designed inverse-f filter. |
reset forces the filter coefficients to be redesigned and the internal filter states to be reset to zero when it is TRUE. The default is FALSE. | |||||||||||||
X is the input array of samples to filter. | |||||||||||||
fs specifies the design sample rate in samples/second. | |||||||||||||
exponent specifies the exponent of the desired inverse-f spectral shape. This VI designs a digital filter with the desired magnitude-squared response of 1/frequency^{exponent}. | |||||||||||||
filter specifications specifies the operating frequency range and the filter order of the filter.
| |||||||||||||
unity gain freq specifies the frequency in radians per second at which the ideal inverse-f filter response has unity gain. The actual inverse-f filter is designed to approximate the ideal filter over the frequency range defined by filter specifications. Therefore, the actual gain of the filter at unity gain freq is near unity only if unity gain freq is within the design frequency range specified in filter specifications. | |||||||||||||
Filtered X is the output array of filtered samples. | |||||||||||||
filter information returns the magnitude and phase of the frequency response of the designed inverse-f filter.
| |||||||||||||
magnitude error returns the magnitude of the deviation of the actual inverse-f filter in dB when measured against the ideal inverse-f filter. The ideal filter has a magnitude-squared response proportional to 1/f ^{exponent} over the frequency range specified by filter specifications.
| |||||||||||||
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster. | |||||||||||||
noise bandwidth returns the expected noise bandwidth of the designed inverse-f filter. |