[Mne_analysis] error when using mne_read_forward_solution: operands must be convertible to logical scalar
Matti Hamalainen
msh at nmr.mgh.harvard.edu
Sun Jun 10 05:20:44 EDT 2012
On Jun 9, 2012, at 10:35 PM, Jeff Eriksen wrote:
> This is what I got at the Matlab command window:
>
> >> [fwd]=mne_read_forward_solution(fname,force_fixed);
> Reading forward solution from A6_ec1_fen_ds250_ico3_bem5120_fwd.fif...
> Reading a source space...[done]
> Reading a source space...[done]
> 2 source spaces read
> Read EEG forward solution (1284 sources, 257 channels, free orientations)
> Source spaces transformed to the forward solution coordinate frame
> ??? Operands to the || and && operators must be convertible to logical scalar values.
>
> Error in ==> mne_read_forward_solution at 246
> if fwd.source_ori == FIFF.FIFFV_MNE_FIXED_ORI || ...
>
> There was no complaint when I used this forward solution in my analysis to compute inverse solutions in mne_analyze.
> How should I begin troubleshooting this?
Did you set force_fixed to either true or false. I do not have any trouble reading your forward solution.
- Matti
---------
Matti Hamalainen, Ph.D.
Athinoula A. Martinos Center for Biomedical Imaging
Massachusetts General Hospital
msh at nmr.mgh.harvard.edu
mhamalainen at partners.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20120610/b0e0390b/attachment.html
More information about the Mne_analysis
mailing list