[Mne_analysis] how to save a 3D Mayani scene in Windows

Alexandre Gramfort alexandre.gramfort at inria.fr
Tue Mar 3 14:42:41 EST 2020
Search archives:

        External Email - Use Caution        

hi,

what you mean save a scene? a screen shot?

if you are using mayavi you can do:

fig = mne.viz.plot_alignment(...)
from mayavi import mlab
mlab.savefig('test.png', figure=fig)

HTH
Alex


On Tue, Mar 3, 2020 at 5:58 PM Federica Degno <FDegno at uclan.ac.uk> wrote:
>
>         External Email - Use Caution
>
> Hello,
>
> I was wondering if anyone knows how to save a 3D Mayani scene in Windows.
>
> The scenes were created with:
>
>
>
> eeg_map = mne.sensitivity_map(fwd, ch_type='eeg', mode='fixed')
>
> eeg_map.plot(time_label='EEG sensitivity', subjects_dir=subjects_dir, clim=dict(lims=[0, 50, 100]))
>
>
>
> mne.viz.plot_alignment(epochs.info, src=src, eeg=['original', 'projected'], trans=trans,show_axes=True, mri_fiducials=True, dig='fiducials')
>
>
>
> Thank you.
>
>
>
> Best wishes,
>
> Federica
>
>
>
> Please consider the environment before printing
> _______________________________________________
> Mne_analysis mailing list
> Mne_analysis at nmr.mgh.harvard.edu
> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis



More information about the Mne_analysis mailing list