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

Brainrender example showing output of brainglobe-segmentation data #280

Closed
alessandrofelder opened this issue Nov 27, 2023 · 1 comment
Closed

Comments

@alessandrofelder
Copy link
Member

The text below was removed from the brainglobe-segmentation tutorials, but may be handy as an example for brainrender or brainrender-napari one day:

if you loaded your data in atlas space, you can also export the track to brainrender. The file will be saved as e.g. track_0.npy. Using the Python API, you can visualise the track as follows:

from brainrender import Scene
from brainrender.actors import Points
from myterial import blue

file = ("/path/to/track_0.npy")

scene = Scene()
scene.add(Points(file, colors=blue, radius=100, alpha=0.7))
scene.render()
@adamltyson
Copy link
Member

Closing, and addressed in #313

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

2 participants