<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Hi Sara,
<div class=""><br class="">
</div>
<div class="">I understand now from Jan-Mathijs that this is not implemented in dipolfitting.m. That script calls dipole, but only to make it perform forward computations. The program can also do the inverse, but dipolefitting,m does not implement that.</div>
<div class=""><br class="">
</div>
<div class="">So the show answer to your question is: you cannot.</div>
<div class=""><br class="">
</div>
<div class="">Cheers,</div>
<div class="">Thom</div>
<div class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">On 8 May 2024, at 12:36, Sara Cinelli via fieldtrip <<a href="mailto:fieldtrip@science.ru.nl" class="">fieldtrip@science.ru.nl</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">Hello, 
<div class="">I'm Sara and I have a question regarding an answer I obtained from one of you (Thom) regarding the possibility to keep fixed/or not the location and the orientation of the dipole in the inverse modeling. </div>
<div class="">The answer was the following: </div>
<div class=""><br class="">
</div>
<div class="">Actually, the choice is between:<br class="">
- a moving dipole, i.e. at each sample time a new location is fitted<br class="">
- stationary dipole location and  free orientation, i.e. the best single position is fitted, but dipole orientation is free at each sample time<br class="">
- stationary dipole location and stationary orientation, i.e. both location and orientation are fixed in time.<br class="">
</div>
<div class=""><br class="">
</div>
<div class="">Looking in the details of the dipolefitting.m it is not clear to me how to implement the third option (for the first I know it has to be used the option cfg.model='moving', for the second cfg.model='regional').</div>
<div class="">Could you help me?</div>
<div class=""><br class="">
</div>
<div class="">Regards,</div>
<div class="">Sara</div>
</div>
_______________________________________________<br class="">
fieldtrip mailing list<br class="">
<a href="https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmailman.science.ru.nl%2Fmailman%2Flistinfo%2Ffieldtrip&data=05%7C02%7Cfieldtrip%40science.ru.nl%7Ca73b47a6b30e4144255908dc6f5080dc%7C084578d9400d4a5aa7c7e76ca47af400%7C1%7C0%7C638507638737872861%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=KnOXmYGf%2BDZNzQeickeEdsl1qSQtziHYT3D0D%2FzLF5M%3D&reserved=0" originalsrc="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" shash="f/OEZ1TnCnAvz/dSC4KDsv6rFQDiz9ygQsmSH7HyJMSqpO0nEQLEWOn5ZPXqQmNxO5897AVEcLWSMtYxT85wlDKDPC5MTiMZxNzKTYVoGzs2c3EEv5RcTdeF4MqfmSV/B1Khy3JCry/eJBAC16qZMeP/S1UKCr4kld4fDxegIOM=" class="">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br class="">
https://doi.org/10.1371/journal.pcbi.1002202<br class="">
</div>
</blockquote>
</div>
<br class="">
<div class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div>--<br class="">
dr. T.F. Oostendorp          東村      205 Dept. of Cognitive Neuroscience<br class="">
route 219, room 02.282                Donders Center for Medical Neuroscience<br class="">
phone: +31 24 3614240               Radboud University Medical Center<br class="">
Kapittelweg 29                              6525 EN Nijmegen, the Netherlands<br class="">
</div>
</div>
</div>
<br class="">
</div>
</body>
</html>