ContextLab / ContextLab/supereeg

Fancier brain plots using ipyvolume

Open
#94 2 comments 0 reactions 1 assignee Claimed by @lucywowen View on GitHub
Dominant language
Python
Stars
38
Forks
19
PR merge metrics
No merged PRs in 30d

Description

Let's add `ipyvolume` to the requirements. We can then add a `plot_volume` function to Brain objects and Nifti objects. For example:

```
import ipyvolume as ipv
gray = se.load('gray')
ipv.quickvolshow(gray.get_data(), lighting=True)
```

Other ideas:
- It looks like, by default the volume rendering is flipped 90 degrees...we'll need to figure out how to rotate the camera to correct for that
- we could use this volume rendering to make animations. i think they'd loop pretty neat

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.