-
Notifications
You must be signed in to change notification settings - Fork 34
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
[WIP] Add surface.py for tract <-> surface functionality #902
base: master
Are you sure you want to change the base?
Conversation
Based on mayayab's first pass implementation.
Hello @sambjohnson! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
Comment last updated at 2022-08-30 20:33:21 UTC |
Add a first draft of a label2vol function.
Note: there is a potential outstanding issue regarding (mis)alignment of tract (.trk) coordinates and surface coordinates. If these two coordinate spaces are not identical, then the translation logic will fail. To this end, here are comments from Noah Benson regarding this issue and how / when to correct for it, which may be helpful for completing this PR.
|
Add a WIP surface.py to AFQ as a catch-all for new surface functionality, to be fully integrated later. As of its creation, the file only includes functions for .trk to surface representations, used e.g., to create suface-based "endpoint maps."