# volume source space

**URL:** <https://mne.discourse.group/t/volume-source-space/994>\
**Category:** Mailing List Archive (read-only)\
**Tags:** list-archive\
**Created:** [April 12, 2016, 12:10pm UTC](https://mne.discourse.group/t/volume-source-space/994 "2016-04-12T12:10:46Z")\
**Posts on this page:** 2\
**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:** [April 12, 2016, 12:10pm UTC](https://mne.discourse.group/t/volume-source-space/994/1 "2016-04-12T12:10:46Z")

</div>

Dear All  
I am interested in reconstructing volume source spaces as opposed to  
surface source spaces. So, I was running the tutorial below.  
[http://martinos.org/mne/stable/auto\_examples/inverse/plot\_lcmv\_beamformer\_volume.html](http://martinos.org/mne/stable/auto_examples/inverse/plot_lcmv_beamformer_volume.html)

Moreover, I would like to eventually run my own inversion algorithm  
(Based on Fokas work).  
Can you kindly help me with the following questions:  
a) I need to have the volume coordinates of the points used by the  
MNE-built in inversion routines.  
b) The coordinates of the sensors after all the necessary  
transformations and corrections.  
c) I would like to also display the neuronal current after it has been  
reconstructed.  
I do not use dipoles. I assume that the current is a continous function.  
However, for the sake of displaying it, I can sample the current at the  
volume source points for example in the LMCV routine.  
If you kindly point me to how to extract the volume source points and  
the sensor points, that would be great start.  
Many Many thanks  
Parham hashemzadeh

---

<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:** [April 12, 2016, 1:06pm UTC](https://mne.discourse.group/t/volume-source-space/994/2 "2016-04-12T13:06:06Z")

</div>

hi,

> I am interested in reconstructing volume source spaces as opposed to  
> surface source spaces. So, I was running the tutorial below.  
> [http://martinos.org/mne/stable/auto\_examples/inverse/plot\_lcmv\_beamformer\_volume.html](http://martinos.org/mne/stable/auto_examples/inverse/plot_lcmv_beamformer_volume.html)
> 
> Moreover, I would like to eventually run my own inversion algorithm  
> (Based on Fokas work).

great initiative 🙂

> Can you kindly help me with the following questions:  
> a) I need to have the volume coordinates of the points used by the  
> MNE-built in inversion routines.

see

> <https://github.com/mne-tools/mne-python/blob/main/mne/source_estimate.py#L2620>

> b) The coordinates of the sensors after all the necessary  
> transformations and corrections.

you'll need to have a look at the forward code and how we handle the  
trans files.

I think that just using the forward solution at first is the easiest.

> c) I would like to also display the neuronal current after it has been  
> reconstructed.

the example you point out uses nilearn to make nice 3d slices.

you can also save a nifti file and use your favorite interactive  
viewer (freeview, fslview etc.)

> I do not use dipoles. I assume that the current is a continous function.  
> However, for the sake of displaying it, I can sample the current at the  
> volume source points for example in the LMCV routine.

yes that's the way

let us know if you have more questions.

A
