Zeros and poles
This filter's transfer function is a fraction: H(z) = (1 − z⁻²) / (1 − 1.273z⁻¹ + 0.81z⁻²). A zero is a value of z that makes the top 0. A pole makes the bottom 0, so H blows up there.
Mark them on the complex plane: circles (o) for the zeros at +1 and −1, crosses (×) for the poles at 0.636 ± 0.636j, radius 0.9 at angles ±45°. Add the unit circle, radius 1. This map fixes the filter, up to one gain number.
Reading the gain off the plot
Feed in a tone of frequency ω, in radians per sample. Its gain is |H| at z = e^jω, a point on the unit circle at angle ω. ω = 0 sits at +1; ω = π, half the sampling rate (4000 Hz), at −1.
Draw an arrow from each zero and each pole to that point. The gain |H| is the product of the zero lengths divided by the product of the pole lengths. At ω = π/2 (2000 Hz): 1.414 × 1.414 ÷ (0.733 × 1.756) = 1.55.
At ω = 0 the point sits right on the zero at +1. That arrow has length 0, so the whole product is 0: the filter blocks a steady (DC) input completely. The zero at −1 blocks ω = π the same way.
At ω = π/4 (1000 Hz) the point passes just 0.100 from a pole. Dividing by a short length gives a big number: 0.765 × 1.848 ÷ (0.100 × 1.345) = 10.5. A pole close to the circle makes a peak.
Walk the point from ω = 0 to π. The gain starts at 0 on one zero, climbs to a peak of 10.53 at ω = 0.79 as it passes the pole, and falls to 0 on the other zero. This filter is a band-pass.
Shape: peak and ringing
Pull the poles in to radius 0.8 and the peak drops to 5.56 and widens. Closer to the circle: taller, narrower. At radius 0.9 the half-power width (gain above peak/√2) is about 266 Hz. The pole angle sets where the peak is.
Kick the filter with one impulse. The output h[n] rings: it repeats every 8 samples, because the pole angle π/4 is one eighth of a turn, and it is multiplied by 0.9 each sample, the pole radius. Poles inside the circle die away.
In code
In Python 3 with scipy, signal.tf2zpk turns the coefficients into zeros, poles and a gain; signal.freqz evaluates H on the unit circle. np.abs(p) gives 0.9, np.angle(p) gives ±0.785 rad (π/4), and |H| at π/4 is 10.51.
The working
# step 1/10 · factor
H(z) = (1 − z⁻²) / (1 − 1.273z⁻¹ + 0.81z⁻²)
= (z² − 1) / (z² − 1.273z + 0.81) (× z²/z²)
= (z − 1)(z + 1) / ((z − p)(z − p*))
zeros: top = 0 z = +1, z = −1
poles: bottom = 0 z = p, p*
p = 0.9·e^(jπ/4) = 0.636 + 0.636j
p* = 0.636 − 0.636j (its mirror)
built here as 4 sections in a row:
(1 − z⁻¹)(1 + z⁻¹) · 1/(1 − p z⁻¹) · 1/(1 − p* z⁻¹)
The filter is a chosen example: poles at radius 0.9 and angle π/4, zeros at +1 and −1, sampled 8000 times a second. Every length, gain and curve in the figure is computed from this model; the Python outputs come from running the code (scipy 1.13.1). The figure builds H(z) as four first-order sections. A single complex pole section needs complex arithmetic; the conjugate pair together has real coefficients, which is how it is built in practice (one second-order section).