Equi-Ripple BandStop PtByPt (Not in Base Package)

Filters the input sequence using an equi-ripple bandstop FIR filter model. Details

initialize, when TRUE, initializes the internal state of the VI.
higher pass freq must be greater than higher stop freq and observe the Nyquist criterion. The default is 0.4.

where is lower pass frequency, is lower stop frequency, is higher stop frequency, is higher pass frequency, and is sampling frequency: fs. If any of these conditions is violated, the VI sets the output data to an empty scale through the Parks-McClellan algorithm.

lower pass freq must be greater than zero. The default is 0.2. If lower pass freq is less than or equal to zero, the VI sets output data to an empty scale through the Parks-McClellan algorithm.
input data is a set of input data.
sampling freq: fs has a default value of 1.0.
# of taps must be greater than zero. The VI does not place restrictions on # of taps, but # of taps should be odd. The default is 31. If the number of taps is less than or equal to zero, the VI sets output data to an empty scale through the Parks-McClellan algorithm. The Parks-McClellan algorithm introduces a large error when you design a bandstop filter for an even number of taps. To avoid this error, the Equi-Ripple BandStop VI coerces the number of taps to the next higher odd value if # of taps is even.
lower stop freq must be greater than lower pass freq. The default is 0.25. If lower stop freq is less than or equal to lower pass freq, the VI sets output data to an empty scale through the Parks-McClellan algorithm.
higher stop freq must be greater than lower stop freq. The default is 0.35. If higher stop freq is less than or equal to lower stop freq, the VI sets the output data to an empty scale through the Parks-McClellan algorithm.
output data is the filtered output data.
error returns any error or warning condition from the VI. Refer to Point By Point Error Codes for more information about these conditions.

Equi-Ripple BandStop PtByPt Details

Generates a bandstop FIR digital filter with equi-ripple characteristics using the Parks-McClellan algorithm and higher pass freq, lower pass freq, # of taps, lower stop frequency, higher stop freq, and sampling freq. The Equi-Ripple BandStop PtByPt VI then applies a linear-phase, bandstop filter to the set of input data to obtain the set of output data.

The first passband region of the filter goes from zero (DC) to the lower pass freq. The stopband region goes from the lower stop freq to the higher stop freq. The second passband region goes from the higher pass freq to the Nyquist frequency.