Convert high-pass to low-pass, band-pass to band-stop, and vice versa.

spec_inv(filt_kern)

Arguments

filt_kern

Filter kernel to be inverted