I need to calculate a series of coefficients for several FIR filters having 96 taps is there a standard or set formula for calculating these, it is a low pass filter.
is there a standard or set formula for calculating these, it is a low pass filter.
No. There's very many approaches to filter design, and it very much depends on what you want to achieve with your filter.
- What do you need as a low pass filter? Is it important to have linear phase?
- Is it going to be narrow, or wide? (i.e. is the stopband bigger or smaller than half of the input bandwidth)
- Is it going to be implemented in hard- or software?
- What about numerical precision? If software: fixed or floating point? SIMD'ability? Enforcing linear phase to be able to exploit coefficient symmetry?
- What's more important:
- Passband ripple?
- strength of the strongest sidelobe?
- Cumulative stopband power leakage?
- Maximum steepness for given length?
- Numerical stability (i.e. well-conditioned taps)?
Now, assuming you "just" want a FIR for usage with e.g. Python, you go ahead and use your favourite scientific/signal processing toolkit, and use one of the many window design methods. Often, things will get automatically chosen correctly for you. In essence,
scipy has an extensive documentation on its filter design routines, and I urge you to look at that.