-
-
Notifications
You must be signed in to change notification settings - Fork 10.8k
segment_axis (Trac #901) #1499
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
Comments
Attachment added by @cournape on 2008-08-31: segmentaxis.py |
Attachment added by @cournape on 2008-08-31: test_segmentaxis.py |
Will this ever be merged? If there is a problem with it, is there something that I could do to help move it along ? |
+1, very useful and I'd love to see this merged. |
@jeremyherbert see also #31 I think we can add something like this. The details need to be hashed out. Like my version has arbitrary dimensions, but no padding. And some of the design choices need to be cleaned up. If you have the patience, please feel do try to figure out what you think is the right functionality/features for such a function. Then open a pull request and notifying the mailing list for some discussion (in whichever order) and we can get this going. |
This is very useful! I hoped |
This one is really ancient and i too think it can be useful |
The patches above are dead links. @rgommers, do you know what happened to the hosting of those uploads? Did perhaps the directory structure just change? If they're not recoverable, I think we have no choice but to close this issue. |
There's still a static archive somewhere I believe, but I don't have a link at hand and am unsure in what form it survived the server migration ~2 years ago. It may also be a case of a broken redirect. @rkern or @pv may know. Reading the comments above, @seberg seems to have another version of it though |
I actually found the original thing here: https://scipy-cookbook.readthedocs.io/_static/items/attachments/SegmentAxis/segmentaxis.py In any case, this is the new |
Original ticket http://projects.scipy.org/numpy/ticket/901 on 2008-08-31 by @cournape, assigned to @charris.
A patch to have segment_axis (contributed by Anne Archibald I believe) in numpy with tests. It uses as_strided
The text was updated successfully, but these errors were encountered: