[SciPy-Dev] Splines

denis denis-bz-py@t-online...
Tue Mar 19 07:28:57 CDT 2013


Charles R Harris <charlesr.harris <at> gmail.com> writes:

> > No, I suspect it increases the high frequencies ;) 
> Chuck,
>   you're right; could spline_filter1d be buggy ?
>
> Unlikely, probably there is a scaling factor floating about somewhere. You
need to be more precise about what you did for me to say more.

test-filter1d.py at https://gist.github.com/denis-bz/5195594
runs a couple of waveforms thru spline_filter1d,
np.convolve, ndimage.convolve1d -- the last 2 match, look reasonable.

cheers
  -- denis




More information about the SciPy-Dev mailing list