Re: [Numpy-discussion] confused about univaritespline

2012-11-20 Thread Charles R Harris
On Tue, Nov 20, 2012 at 12:30 PM, Neal Becker wrote: > Pauli Virtanen wrote: > > > 20.11.2012 21:11, Neal Becker kirjoitti: > >> import numpy as np > >> import matplotlib.pyplot as plt > >> > >> ibo = np.array ((12, 14, 16, 18, 20, 22, 24, 26, 28, 29, 29.8, 30.2)) > >> gain_deriv = np.array ((0,

Re: [Numpy-discussion] confused about univaritespline

2012-11-20 Thread Neal Becker
Pauli Virtanen wrote: > 20.11.2012 21:11, Neal Becker kirjoitti: >> import numpy as np >> import matplotlib.pyplot as plt >> >> ibo = np.array ((12, 14, 16, 18, 20, 22, 24, 26, 28, 29, 29.8, 30.2)) >> gain_deriv = np.array ((0, 0, 0, 0, 0, 0, .2, .4, .5, .5, 0,-2)) >> >> import scipy.in

Re: [Numpy-discussion] confused about univaritespline

2012-11-20 Thread Pauli Virtanen
20.11.2012 21:11, Neal Becker kirjoitti: > import numpy as np > import matplotlib.pyplot as plt > > ibo = np.array ((12, 14, 16, 18, 20, 22, 24, 26, 28, 29, 29.8, 30.2)) > gain_deriv = np.array ((0, 0, 0, 0, 0, 0, .2, .4, .5, .5, 0,-2)) > > import scipy.interpolate > s = scipy.interpolat

[Numpy-discussion] confused about univaritespline

2012-11-20 Thread Neal Becker
I don't understand why the plot of the spline continues on a negative slope at the end, but the plot of the integral of it flattens. - import numpy as np import matplotlib.pyplot as plt ibo = np.array ((12, 14, 16, 18, 20, 22, 24, 26, 28, 29,