-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
MRG: Brain save movie #7574
MRG: Brain save movie #7574
Conversation
Codecov Report
@@ Coverage Diff @@
## master #7574 +/- ##
==========================================
- Coverage 90.13% 90.04% -0.10%
==========================================
Files 453 453
Lines 83280 83332 +52
Branches 13190 13204 +14
==========================================
- Hits 75064 75034 -30
- Misses 5369 5423 +54
- Partials 2847 2875 +28 |
I intend to add compatibility with Also I typically use this feature with: import os
import mne
from mne.datasets import sample
data_path = sample.data_path()
sample_dir = os.path.join(data_path, 'MEG', 'sample')
subjects_dir = os.path.join(data_path, 'subjects')
fname_stc = os.path.join(sample_dir, 'sample_audvis-meg')
stc = mne.read_source_estimate(fname_stc, subject='sample')
mne.viz.set_3d_backend('pyvista')
brain = stc.plot(subjects_dir=subjects_dir, hemi='lh',
clim=dict(kind='value', pos_lims=[3, 6, 9]),
time_viewer=False)
brain.save_movie('movie.mov', time_dilation=8.) which requires |
can I save a movie from the interface? cmd+shift+ something?
… |
It's not possible in this PR. It focuses on So do you mean to add it in this context? |
ok then this works as it is now.
… |
Yes +1 for adding it to requirements.txt and environment.yml |
I'll push a commit to add it right now. |
Failures on Circle don't seem related:
I'll update after further investigation |
rebase on master?
… |
Maybe. |
It's already up-to-date apparently. |
and master is green?
… |
AFAIK all is good and green there |
I restarted Circle for now |
@GuillaumeFavelier can you just update latest.inc ? thx |
This PR brings back the part of #7257 about
save_movie
in_Brain
.It's an item of #7162