at_leastnd would be useful for nd image processing in a very analogous way
to how at_least2d is used by scikit-image, assuming it prepends. The
at_least3d choice is baffling, seems analogous to the 0.5-based indexing
presented at PyCon, and should be "fun" to deprecate. =P



On 6 July 2016 at 2:57:57 PM, Eric Firing (efir...@hawaii.edu) wrote:

On 2016/07/06 8:25 AM, Benjamin Root wrote:
> I wouldn't have the keyword be "where", as that collides with the notion
> of "where" elsewhere in numpy.

Agreed. Maybe "side"?

(I find atleast_1d and atleast_2d to be very helpful for handling
inputs, as Ben noted; I'm skeptical as to the value of atleast_3d and
atleast_nd.)

Eric
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
https://mail.scipy.org/mailman/listinfo/numpy-discussion
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
https://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to