[SciPy-Dev] Splines

denis denis-bz-py at t-online.de
Tue Mar 19 08:28:57 EDT 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