<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Borna,<div class=""><br class=""></div><div class="">For MEG the FieldTrip forward and inverse functionality will make use of a magnetic dipole if you specify the headmodel (or “vol” structure) as</div><div class=""><br class=""></div><div class="">headmodel = [];</div><div class="">headmodel.type = ‘infinite’;</div><div class=""><br class=""></div><div class="">Important is that the sensor array should be detected as a “meg” sensor array, i.e. it should have coilpos, coilori and tra fields. See <a href="http://www.fieldtriptoolbox.org/faq/how_are_electrodes_magnetometers_or_gradiometers_described" class="">http://www.fieldtriptoolbox.org/faq/how_are_electrodes_magnetometers_or_gradiometers_described</a> for that. </div><div class=""><br class=""></div><div class="">If the sensors describe eeg electrodes, the forward computation with the same headmodel specification will be for an electric dipole in an infinite conductive medium.</div><div class=""><br class=""></div><div class="">Hope this helps,</div><div class="">Robert</div><div class=""><br class=""></div><div class="">PS if would actually be good to document the magnetic dipole on <a href="http://www.fieldtriptoolbox.org/faq/what_kind_of_volume_conduction_models_are_implemented" class="">http://www.fieldtriptoolbox.org/faq/what_kind_of_volume_conduction_models_are_implemented</a> Feel free to edit that page and add the information from this mail.</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 20 Oct 2016, at 02:35, Borna, Amir <<a href="mailto:aborna@sandia.gov" class="">aborna@sandia.gov</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="WordSection1" style="page: WordSection1; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><p class="MsoNormal" style="margin: 0in 0in 10pt; line-height: 16.866666793823242px; font-size: 11pt; font-family: Calibri, sans-serif;">Hi,<o:p class=""></o:p></p><p class="MsoNormal" style="margin: 0in 0in 10pt; line-height: 16.866666793823242px; font-size: 11pt; font-family: Calibri, sans-serif;">I have a question regarding source localization of head coils; it seems the fieldtrip’s tutorials are directed toward localizing “current dipoles” as opposed to “magnetic dipoles”, e.g. head localization coils. So how should I setup the configuration (headmodel, vol, etc.) for source localization (and simulation) of magnetic dipoles? Thank you for your help in advance.<o:p class=""></o:p></p><p class="MsoNormal" style="margin: 0in 0in 10pt; line-height: 16.866666793823242px; font-size: 11pt; font-family: Calibri, sans-serif;"><o:p class=""> </o:p></p><p class="MsoNormal" style="margin: 0in 0in 10pt; line-height: 16.866666793823242px; font-size: 11pt; font-family: Calibri, sans-serif;">Best,<o:p class=""></o:p></p><p class="MsoNormal" style="margin: 0in 0in 10pt; line-height: 16.866666793823242px; font-size: 11pt; font-family: Calibri, sans-serif;">Borna.<o:p class=""></o:p></p><p class="MsoNormal" style="margin: 0in 0in 10pt; line-height: 16.866666793823242px; font-size: 11pt; font-family: Calibri, sans-serif;">SNL<o:p class=""></o:p></p><p class="MsoNormal" style="margin: 0in 0in 10pt; line-height: 16.866666793823242px; font-size: 11pt; font-family: Calibri, sans-serif;"><o:p class=""> </o:p></p></div><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">_______________________________________________</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">fieldtrip mailing list</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="mailto:fieldtrip@donders.ru.nl" style="color: purple; text-decoration: underline; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">fieldtrip@donders.ru.nl</a><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" style="color: purple; text-decoration: underline; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a></div></blockquote></div><br class=""></div></body></html>