[Numpy-discussion] Changed behavior of np.gradient

Charles R Harris charlesr.harris at gmail.com
Tue Oct 14 12:46:52 EDT 2014


On Sat, Oct 4, 2014 at 3:16 PM, Stéfan van der Walt <stefan at sun.ac.za>
wrote:

> On Oct 4, 2014 10:14 PM, "Derek Homeier" <
> derek at astro.physik.uni-goettingen.de> wrote:
> >
> > +1 for an order=2 or maxorder=2 flag
>
> If you parameterize that flag, users will want to change its value (above
> two). Perhaps rather use a boolean flag such as "second_order" or
> "high_order", unless it seems feasible to include additional orders in the
> future.
>
How about 'matlab={True, False}'. There is an open issue
<https://github.com/numpy/numpy/issues/5184> for this and it would be good
to decide before 1.9.1 comes out.

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20141014/623b6752/attachment.html>


More information about the NumPy-Discussion mailing list