[FieldTrip] Dipole fitting

Schoffelen, J.M. (Jan Mathijs) janmathijs.schoffelen at donders.ru.nl
Tue May 14 08:06:03 CEST 2024


Hi all,

Sorry Thom that I have to ‘overtoep’ you, but the fieldtrip implementation of the dipole fitting algorithm actually allows for a ‘moving’ or ‘regional’ cfg.model. The regional model is a fixed location with time varying dipole moment. I am not sure about a situation with a fixed location, but I could imagine that this might be possible as well. I suggest that prospective users that are interested in the algorithmic details read the documentation to the function, as well as the code (and lower-level dependent functions).

Best wishes,
Jan-Mathijs


On 8 May 2024, at 13:17, Oostendorp, T.F. (Thom) via fieldtrip <fieldtrip at science.ru.nl<mailto:fieldtrip at science.ru.nl>> wrote:

Hi Sara,

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.

So the show answer to your question is: you cannot.

Cheers,
Thom

On 8 May 2024, at 12:36, Sara Cinelli via fieldtrip <fieldtrip at science.ru.nl<mailto:fieldtrip at science.ru.nl>> wrote:

Hello,
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.
The answer was the following:

Actually, the choice is between:
- a moving dipole, i.e. at each sample time a new location is fitted
- stationary dipole location and  free orientation, i.e. the best single position is fitted, but dipole orientation is free at each sample time
- stationary dipole location and stationary orientation, i.e. both location and orientation are fixed in time.

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').
Could you help me?

Regards,
Sara
_______________________________________________
fieldtrip mailing list
https://mailman.science.ru.nl/mailman/listinfo/fieldtrip<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmailman.science.ru.nl%2Fmailman%2Flistinfo%2Ffieldtrip&data=05%7C02%7Cfieldtrip%40science.ru.nl%7C91ab2f71e900482669a808dc73dbeff1%7C084578d9400d4a5aa7c7e76ca47af400%7C1%7C0%7C638512635653112045%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=A4H4TXiTgzrz5R6J%2FcJ65iw3XLuLvL2YO8UJd8ewokw%3D&reserved=0>
https://doi.org/10.1371/journal.pcbi.1002202<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdoi.org%2F10.1371%2Fjournal.pcbi.1002202&data=05%7C02%7Cfieldtrip%40science.ru.nl%7C91ab2f71e900482669a808dc73dbeff1%7C084578d9400d4a5aa7c7e76ca47af400%7C1%7C0%7C638512635653112045%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=QxkuZFB4cRxDOR76BO%2Ftrq98ywmDmaqEzRobe%2F5KU60%3D&reserved=0>

--
dr. T.F. Oostendorp          東村      205 Dept. of Cognitive Neuroscience
route 219, room 02.282                Donders Center for Medical Neuroscience
phone: +31 24 3614240               Radboud University Medical Center
Kapittelweg 29                              6525 EN Nijmegen, the Netherlands

_______________________________________________
fieldtrip mailing list
https://mailman.science.ru.nl/mailman/listinfo/fieldtrip<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmailman.science.ru.nl%2Fmailman%2Flistinfo%2Ffieldtrip&data=05%7C02%7Cfieldtrip%40science.ru.nl%7C91ab2f71e900482669a808dc73dbeff1%7C084578d9400d4a5aa7c7e76ca47af400%7C1%7C0%7C638512635653112045%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=A4H4TXiTgzrz5R6J%2FcJ65iw3XLuLvL2YO8UJd8ewokw%3D&reserved=0>
https://doi.org/10.1371/journal.pcbi.1002202

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20240514/0f1b0eb0/attachment.htm>


More information about the fieldtrip mailing list