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

Animated iEEG measurements projected on brain #95

Open
benelot opened this issue May 1, 2021 · 3 comments
Open

Animated iEEG measurements projected on brain #95

benelot opened this issue May 1, 2021 · 3 comments

Comments

@benelot
Copy link

benelot commented May 1, 2021

I feel like I am missing something. I would like to use our iEEG recordings and animate their values as a projection on the brain in their respective MNI location. I wonder if I really have to rebuild every scene with new values in the SourceObj or if there is an easier way to get that? Basically any option to play a timeseries of values on the brain and record it would be great.

@EtienneCmb
Copy link
Owner

SHI @benelot,

This is a good question. Actually, for the moment it requires to recompute the projection for each time point. And I believe the computations are needed in order to blend the colors together.

About the SceneObj systematic redefintiion, I do agree that it's not the best way for creating animations. Maybe the best is to define a BrainObj, computes the projection and save the result as a single png file and finally to create the animation using the screenshots.

@benelot
Copy link
Author

benelot commented May 3, 2021

Thanks for pointing out that this is the way to go! I realized today that it is really possible to reproject and colorize with new data to change things without rebuilding the scene from scratch. That is already pretty great as I can just do some loops that load and apply new data, then take automated screenshots.

Thanks for the great library, it really simplifies making my brain visualizations for an upcoming paper.

I will drop some example here as soon as I get it right.

@EtienneCmb
Copy link
Owner

Thanks, always good to hear ! Yes, drop your animation, I'm curious to see the result !

++

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