Usage of simConfig.recordDipolesHNN

A Python package that facilitates development and use of models of biological neural networks

Moderator: tom_morse

Post Reply
jtajchman
Posts: 1
Joined: Mon Jan 22, 2024 4:46 pm

Usage of simConfig.recordDipolesHNN

Post 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?
ted
Site Admin
Posts: 6300
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine
Contact:

Re: Usage of simConfig.recordDipolesHNN

Post by ted »

Referred to Salvador Dura
urdapile
Posts: 2
Joined: Thu Apr 21, 2022 8:26 am

Re: Usage of simConfig.recordDipolesHNN

Post 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
Post Reply