Designing an FIR notch filter with python
问题 I am writing some code with Python using the scipy.signal library to filter electromagnetic data that is mixed with various undesirable signatures that I want to filter out. For example, I have power line harmonics at various frequencies (i.e. 60, 120 Hz, etc....) with a width of only a few Hz that I would like to remove from the data using a notch filter. Is there already an existing function in python where I can merely inform the code how many data points i wish to use for the filter, the