Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Using simLabel to run different simulations in a jupyter notebook

13 views
Skip to first unread message

Maliha A

unread,
Jul 9, 2024, 3:14:39 PM7/9/24
to NetPyNE Q&A forum
Hi, 
I would essentially like to run 2 different simulations (from two different models) and compare the results. Is there a way I can use simLabel to label them and extract the simulation data from each run? 

For example, I would label the first model sim1 and would like to use something like sim1.allSimData.V_soma['cell_0'] 
and from the second model sim2 would like to use something like sim2.allSimData.V_soma['cell_0'] to compare the voltages of a cell. 

I've tried using simConfig.simLabel = 'sim1' and simConfig.simLabel = 'sim2', but that didn't work. 

Any insight would be appreciated.

Thank you
Maliha

Maliha A

unread,
Jul 9, 2024, 5:14:14 PM7/9/24
to NetPyNE Q&A forum
Hi all, 
I think I found a way now. I can simply assign sim1 = sim.allSimData (and similarly for sim2) during each model run. That way the data is stored and can be recalled for future analysis. 

Regards
Maliha

Reply all
Reply to author
Forward
0 new messages