Does Python/Scipy have a firls( ) replacement (i.e. a weighted, least squares, FIR filter design)?
It seems unlikely that you'll find exactly what you seek already written in Python, but perhaps the Matlab function's help page gives or references a description of the algorithm?
I am porting code from Matlab to Python and am having trouble finding a replacement for the firls( ) routine.  It is used for, least-squares linear-phase Finite Impulse Response (FIR) filter design.
I looked at scipy.signal and nothing there looked like it would do the trick.  Of course I was able to replace my remez and freqz algorithsm, so that's good.
On one blog I found an algorithm that implemented this filter without weighting, but I need one with weights.
Thanks, David