Modifying the hoc values from Python

13 views
Skip to first unread message

Reza

unread,
May 15, 2024, 11:50:33 AM5/15/24
to NetPyNE Q&A forum
Hello guys Hope you are doing well using "h.load_file("/content/file.hoc")" I load a .hoc file in Python. Now I want to know if I can modify them directly in your Python script after loading the file. I assign different values to "h.My_NetStim().pp.number" but it remains its own previous value. Any idea? Thank you, in advance. Reza

Eugenio Urdapilleta

unread,
May 16, 2024, 10:24:53 AM5/16/24
to NetPyNE Q&A forum
Hi Reza,
 maybe in the NEURON forum they can give you the best answer, but it seems that you need to make the netstim public. Even better, navigating in the NEURON forum you will probably find a very similar question. Best,

Eugenio

Reply all
Reply to author
Forward
0 new messages