<p><span style="padding: 3px 10px; border-radius: 5px; color: #ffffff; font-weight: bold; display: inline-block; background-color: #ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;External Email - Use Caution&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></p><p></p><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hi MNE users/developers,</div><div><br></div><div>I am trying to move away from Matlab, and I was wondering if MNE python has a function to compute the planar gradient from the axial gradiometers. I was told that it is more appropriate to use planar gradient for the sensor-level type of analysis.</div><div><br></div><div>Fieldtrip has ft_megplanar and ft_combineplanar functions for this. <a href="http://www.fieldtriptoolbox.org/reference/ft_megplanar/">http://www.fieldtriptoolbox.org/reference/ft_megplanar/</a></div><div dir="ltr"><a href="http://www.fieldtriptoolbox.org/reference/ft_combineplanar/">http://www.fieldtriptoolbox.org/reference/ft_combineplanar/</a><br></div><div><br></div><div>From their tutorial <a href="http://www.fieldtriptoolbox.org/tutorial/eventrelatedaveraging/">http://www.fieldtriptoolbox.org/tutorial/eventrelatedaveraging/</a>: </div><div>&quot;The planar gradient at a given sensor location can be approximated by comparing the field at that sensor with its neighbors (i.e. finite difference estimate of the derivative). The planar gradient at one location is computed in both the horizontal and the vertical direction with the FieldTrip function ft_megplanar. These two orthogonal gradients on a single sensor location can be combined using Pythagoras rule with the FieldTrip function ft_combineplanar.&quot;</div><div><br></div><div>Thank you so much,</div><div><br></div><div>Narun</div></div><div dir="ltr"><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div><div><div style="color:rgb(136,136,136);font-size:12.8px"><br></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>