# mne\_forward\_solution problem

**URL:** <https://mne.discourse.group/t/mne-forward-solution-problem/203>\
**Category:** Mailing List Archive (read-only)\
**Tags:** list-archive\
**Created:** [February 25, 2010, 4:01pm UTC](https://mne.discourse.group/t/mne-forward-solution-problem/203 "2010-02-25T16:01:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/mne/original/1X/85cc6bd2b69cb698a166dc6d880fb550510d0144.jpeg) [@system](https://mne.discourse.group/u/system)\
**Post date:** [February 25, 2010, 4:01pm UTC](https://mne.discourse.group/t/mne-forward-solution-problem/203/1 "2010-02-25T16:01:38Z")

</div>

Dear List,

I have a list of 1 source for which I am attempting to get an ECD solution using mne\_forward\_solution.

I have been unable to get the routine to pay attention to the dipole moment information in the source .fif file. Here is the text contents of the file produced by mne\_list\_source\_space:  
# CoordinateSystem "Head"  
# begin end X (mm) Y (mm) Z (mm) Q(nAm) Qx(nAm) Qy(nAm) Qz(nAm) g/%  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1 1 10.0 10.0 0.0 10.0 2.67 5.35 8.02 100.0  
## Name "ALL dipoles" Style "Dipoles2"

When executing, mne\_forward\_solution shows the message:  
Computing MEG at 1 source locations (free orientations, no threads)...done.

It yields a different answer if I alter 1 or more of the coordinates of the dipole. But it ignores the dipole moment specifications.

Here are the switches I am using:  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;${HOME}MegShells/MNE/mne\_forward\_solution \  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;--src ./SrcSpaceFiles/fsaverages/${SSasciiFile}Src.fif \  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;--accurate --meg \  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;--origin 0:0:0 \  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;--mricoord \  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;--meas ${HOME}/MegData/30Nov2009Sub103/30Nov2009Sub103Sess3\_raw.fif \  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;--trans ./SrcSpaceFiles/fsaverages/fsaverage-trans.txt --fwd TestFwd.fif

When I load the forward solution into Matlab in structure A using mne\_read\_forward\_solution, the dipole moment specifications do show up correctly in A.src.nn . But the actual numbers listed for the forward solution do not change.

If I could either get mne\_forward\_solution to use the dipole moment I give it or if I could identify the dipole moment it actually used, I could go forward. Your direction would be most welcome on this. Thanks.

Don

Don Krieger, Ph.D., D.ABNM  
Department of Neurological Surgery  
University of Pittsburgh  
(412)648-9654

-------------- next part --------------  
An HTML attachment was scrubbed...  
URL: [http://mail.nmr.mgh.harvard.edu/pipermail/mne\_analysis/attachments/20100225/fa31249b/attachment.html](http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20100225/fa31249b/attachment.html)
