Skip to content
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

Doc typo #96

Closed
light-matters opened this issue Mar 20, 2024 · 3 comments
Closed

Doc typo #96

light-matters opened this issue Mar 20, 2024 · 3 comments

Comments

@light-matters
Copy link

light-matters commented Mar 20, 2024

Just highlighting a typo in the docs:

This can be used to crap an image or to do reorderings such as imagespace bga->rgb conversions.

EDIT:
https://cnuernber.github.io/dtype-next/cheatsheet.html

Sorry, I definitely 'copied' a link to the page, but apparently I just didn't paste it

@cnuernber
Copy link
Owner

Where did you find this?

@harold
Copy link
Collaborator

harold commented Mar 20, 2024

* [select](https://cnuernber.github.io/dtype-next/tech.v3.tensor.html#var-select) - select a subrect of data. Dimension-indexes can be specified via the
keyword `:all`, a clojure range, or a convertible-to-long-reader object. This can be
used to crap an image or to do reorderings such as imagespace bga->rgb conversions.

@harold
Copy link
Collaborator

harold commented Mar 20, 2024

Hilariously, such a function can be used (traditionally) to crop an image, but if you really need to crap an image, select may still be the function you're looking for.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants