Making a Minimum-Phase FIR Filter in Python

1
2
# -*- coding: utf-8 -*-
"""
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
This crude script demonstrates how to transform a Linear-Phase FIR filter into a Minimum-Phase FIR filter using the analytic ('hilbert') function.

Although this technique is discussed in DSP literature, I found very little in the way of practical coding examples, and it took me a bit of time to figure it out, so this may be of use to someone !

Also, check out this old Matlab post:
http://au.mathworks.com/matlabcentral/newsreader/view_thread/17748

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.