Page 1 of 1

Usage of simConfig.recordDipolesHNN

Posted: Thu Feb 08, 2024 12:57 pm
by jtajchman
I'm fairly new to NetPyNE in general, and am trying to record the current dipole moment over time within my network, copying what HNN does. I see that there is a simConfig option called "recordDipolesHNN" which seems to be what I want to use, at least according to its name. There is also a separate option called "recordDipole" but I do not know what the difference between these methods are.

My questions are as follows:
1. How is recordDipolesHNN used? I have not found much documentation for this, nor any examples.
2. What is the difference between recordDipolesHNN and recordDipole?

Re: Usage of simConfig.recordDipolesHNN

Posted: Mon Feb 12, 2024 11:22 am
by ted
Referred to Salvador Dura

Re: Usage of simConfig.recordDipolesHNN

Posted: Thu Feb 15, 2024 5:18 pm
by urdapile
Hello,
the difference is regarding how the dipoles are obtained. For the option recordDipole, NetPyNE uses the external package LFPykit, whereas for recordDipolesHNN, the calculation is based on a mod file (dipole.mod). You may take a look in the example at

https://github.com/jonescompneurolab/hn ... cortex/mod

I hope this helps. Best,

Eugenio