On Wed, Jul 6, 2016 at 3:01 PM, Juan Nunez-Iglesias <jni.s...@gmail.com> wrote: > 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
at_leastnd prepends by default, has an option to append instead and certainly does not 0.5-pend under any circumstances. `np.swapaxes` and `np.rollaxis` are there for a reason. If atleast_3d is deprecated because of its funky behavior, atleast_nd may be useful replacement. -Joe _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org https://mail.scipy.org/mailman/listinfo/numpy-discussion