Replies: 5 comments 2 replies
-
Do you mean that you changed the L5Pyr.__biophys_dends method in Also, were you trying to reproduce the calcium model from Kohl et al. 2021, or just wanting to implement a model with more realistic dendritic calcium dynamics? Note that the model used in Kohl et al. 2021 is actually different from calcium_model as defined in hnn-core. We just discovered this discrepancy, but are encouraging everyong to use the version distributed with hnn-core because it is tuned to be more realistic. Copying @darcywaller because she has also been using both the old GUI and hnn-core to run simulations on the updated calcium model and might be able to give us insight with this issue moving forward. |
Beta Was this translation helpful? Give feedback.
-
Thanks a lot for your help. Yes, I uploaded the L5_pyramidal.py provided by Kohl with the changed _biophys_dends method. I did not change the code myself. Running now the model with default parameters produced a simulation which is not equivalent to the calcium_model() and default parameters of the hnn-core, as you pointed they are different. I wanted to use the hnn-GUI to tune the parameters and then import them in the hnn-core. I was using the GUI to find optimal parameter for my data using a more realistic dendritic calcium dynamic. I guess I should only work with the hnn-core then. |
Beta Was this translation helpful? Give feedback.
-
hey @EPinzuti hnn-core has optimization routines. Why not use them to tune the parameters? Backwards compatibility is going to become more and more tricky as time passes by ... I remember having gotten similar results using the |
Beta Was this translation helpful? Give feedback.
-
We should certainly document the differences between the Kohl et al model and the calcium model ... cc @darcywaller |
Beta Was this translation helpful? Give feedback.
-
As alluded to, we are aware of the fact that the calcium_model() in hnn-core produces different results from using the L5_pyr Kohl et al. file mod to the GUI. I am currently working on getting a function set up for the Kohl model in HNN core so that this is less confusing. However, it is worth noting that the calcium_model() is configured to replicate the network that results from the L5_Pyr GUI mod when you use the .param files from the Kohl paper. Simply adding the modified L5_pyr file in the GUI will not guarantee you accomplish this because the Kohl et al. 2021 model has some network (non-drive) parameters that are not the HNN somatosensory defaults, which are built into network object construction in hnn-core but not in the GUI. There are certain ranges of parameters (as you've probably noticed) at which this becomes more obvious if you try to compare "calcium GUI" versus the calcium_model() in core or the unmodified GUI without ensuring that the network connectivity is exactly the same. |
Beta Was this translation helpful? Give feedback.
-
Hi,
I simulated a model in the hnn-gui changing the function L5_pyramidal.py to have the calcium model. After the simulation I saved the parameters and imported them in the hnn-core. Using the calcium_model(), I was thinking to see similar results, but on average the shape of the simulation does not match the one I get in the hnn-gui. Are there other parameters that need to be changed ?
thanks a lot
Edoardo
Beta Was this translation helpful? Give feedback.
All reactions