[Mne_analysis] Error message from mne_volume_data2mri: w file vertex number out of range

Alexandre Gramfort alexandre.gramfort at telecom-paristech.fr
Wed May 4 08:17:33 EDT 2016
Search archives:

hi Sanyuan,

ico5 refers to a surface/cortical source space. Could it be the issue
as you want to manipulate volume grids?

Alex

On Wed, May 4, 2016 at 2:15 PM, San-Yuan Lin <lin.sanyuan at gmail.com> wrote:
> Hi All,
>
> I’ve tried to convert w file into niifi format for mrVista by using the following code, and got "w file vertex number out of range.” message from mne_volume_data2mri. Does anyone know the meaning of this message?
>
> (I used ico 5 for both source space and forward model.)
>
> Here is the code I used:
>
> mne_volume_source_space --mindist 3 --surf $SUBJECTS_Anatomy_DIR/$SUBJECT/surf/lh.sphere --bem $SUBJECTS_Anatomy_DIR/$SUBJECT/bem/$SsFileHead-bem.fif --mri $SUBJECTS_Anatomy_DIR/$SUBJECT/mri/T1.mgz --src $Data_DIR/$SUBJECT/$SsFileDir/$SsFileHead-vol-lh-src.fif
>
> mne_volume_data2mri --scale 0.1 --src $Data_DIR/$SUBJECT/$SsFileDir/$SsFileHead-vol-lh-src.fif  --w $Data_DIR/$SUBJECT/$SsFileDir/$SsFileHead-w-$PickTimeFileName-lh.w --out $Data_DIR/$SUBJECT/$SsFileDir/$SsFileHead-$PickTimeFileName-lh.w.mgz
>
>
> Thanks,
> Sanyuan
> _______________________________________________
> Mne_analysis mailing list
> Mne_analysis at nmr.mgh.harvard.edu
> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis
>
>
> The information in this e-mail is intended only for the person to whom it is
> addressed. If you believe this e-mail was sent to you in error and the e-mail
> contains patient information, please contact the Partners Compliance HelpLine at
> http://www.partners.org/complianceline . If the e-mail was sent to you in error
> but does not contain patient information, please contact the sender and properly
> dispose of the e-mail.



More information about the Mne_analysis mailing list