[Numpy-discussion] next NumPy triage meeting

2023-01-22 Thread Inessa Pawson
The next NumPy triage meeting will be held this Wednesday, January 25th at 5 pm UTC. This is a meeting where we synchronously triage prioritized PRs and issues. Join us via Zoom: https://numfocus-org.zoom.us/j/82096749952?pwd=MW9oUmtKQ1c3a2gydGk1RTdYUUVXZz09 Everyone is welcome to attend and

[Numpy-discussion] Re: Getting scipy.interpolate.pchip_interpolate to return the first derivative of a pchip interpolation

2023-01-22 Thread Evgeni Burovski
The PCHIP algorithm is written out in the SciPy API documentation: https://docs.scipy.org/doc/scipy/reference/generated/scipy.interpolate.PchipInterpolator.html In general, there is no guarantee that if you tabulate and interpolate, the derivative matches the derivative of the underlying

[Numpy-discussion] Re: Getting scipy.interpolate.pchip_interpolate to return the first derivative of a pchip interpolation

2023-01-22 Thread Samuel Dupree
I believe I know what is going on, but I don't understand why. The line for the first derivative that failed to coincide with the points in the plot for the cosine is actually the interpolated first derivative scaled by the factor pi/180. When I multiply the interpolated values for the first