# Depth weight parameter in inverse operator

**URL:** <https://mne.discourse.group/t/depth-weight-parameter-in-inverse-operator/2595>\
**Category:** Support & Discussions\
**Tags:** ﻿source-localization, eeg\
**Created:** [January 27, 2021, 11:19am UTC](https://mne.discourse.group/t/depth-weight-parameter-in-inverse-operator/2595 "2021-01-27T11:19:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Avoide](https://yyz2.discourse-cdn.com/free1/user_avatar/mne.discourse.group/avoide/32/128_2.png) [@Avoide](https://mne.discourse.group/u/Avoide)\
**Post date:** [January 27, 2021, 11:19am UTC](https://mne.discourse.group/t/depth-weight-parameter-in-inverse-operator/2595/1 "2021-01-27T11:19:06Z")

</div>

Hi,

I have a question about the depth parameter in mne.minimum\_norm.make\_inverse\_operator.  
According to the documentation it can only be set between 0 and 1 and the default is set to 0.8. Why is it not possible to set a weight above 1? According to [1] a depth weight between 0.6 and 0.8 worked well with MEG, but a depth weight between 2 and 5 was more appropriate for EEG. Is the depth weight in [1] calculated differently to the one implemented in MNE-python?

[1] Lin, Fa Hsuan, Thomas Witzel, Seppo P. Ahlfors, Steven M. Stufflebeam, John W. Belliveau, and Matti S. Hämäläinen. 2006. “Assessing and Improving the Spatial Accuracy in MEG Source Localization by Depth-Weighted Minimum-Norm Estimates.” _NeuroImage_ 31 (1): 160–71. [https://doi.org/10.1016/j.neuroimage.2005.11.054](https://doi.org/10.1016/j.neuroimage.2005.11.054).

---

<div class="post-metadata">

**Author:** ![larsoner](https://yyz2.discourse-cdn.com/free1/user_avatar/mne.discourse.group/larsoner/32/3_2.png) [@larsoner](https://mne.discourse.group/u/larsoner)\
**Post date:** [January 28, 2021, 3:02pm UTC](https://mne.discourse.group/t/depth-weight-parameter-in-inverse-operator/2595/2 "2021-01-28T15:02:57Z")

</div>

Indeed this is a bug, see [BUG: Allow depth \> 1 by larsoner · Pull Request #8804 · mne-tools/mne-python · GitHub](https://github.com/mne-tools/mne-python/pull/8804)
