We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently, it is not possible to assign points/vertex/face to regions.
(Decided to add on 04.09.2023 dev meeting)
The text was updated successfully, but these errors were encountered:
As siibra already requires scipy, we can employ the following:
scipy
import siibra from scipy.spatial import cKDTree import numpy as np mesh = siibra.get_template('bigbrain').fetch(format='mesh') kdtree = cKDTree(mesh['verts']) pts = np.array([0.07, 41.18, 43.23]) dist, idx = kdtree.query(pts) # query closest verticies and their distance
Distance can be used to determine the assignment degree and one can read which label is stored from giilabelled maps.
What do you think @dickscheid and @xgui3783 ?
Sorry, something went wrong.
No branches or pull requests
Currently, it is not possible to assign points/vertex/face to regions.
(Decided to add on 04.09.2023 dev meeting)
The text was updated successfully, but these errors were encountered: