New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement axis as tuple of int #13815
Comments
I am working on it. |
Thanks @Vijayhiga, but what do you mean? Are you looking specifically at |
I'm not sure this is desirable, it seems like a lot of busywork adding this for little real-world value for a function like |
@rgommers completely disagree. Besides the fact that this could be carried over to other functions, there are lots of valuable use cases. If it's of no value, stuff it why was the functionality ever introduced anywhere else? It's also a really annoying inconsistency when half of functions can be called on multiple axes and half can't. Why not try and refine it? In probe microscopy (encompassing a huge number of different techniques employed by pretty much every nanoscience group worldwide), for example, we have to correct our images for tilt as part of the most basic level of analysis. Groups are moving away from proprietary manufacturer software to python, and so I can tell you for a fact we have a number of codes calling several scipy functions twice, one for each axis. It would be useful to my sector of research, I can assure you 😉 |
It's way less than half I'd say.
So what do you expect
or fit a 2-D plane and subtract that? I think if we implement it, we can only do the former because it needs to generalize to length-N input to the
|
Is your feature request related to a problem? Please describe.
Many numpy functions (e.g. mean) allow for axis= (or axes=) to be not just a single value, but a tuple of multiple axes.
Describe the solution you'd like
Allow functions such as detrend to accept multiple axis.
So instead of
we have
Describe alternatives you've considered
Additional context (e.g. screenshots)
The text was updated successfully, but these errors were encountered: