Search found 2 matches
- Thu Dec 31, 2020 11:23 am
- Forum: NEURON + Python
- Topic: Record and fadvance instead of run
- Replies: 2
- Views: 6505
Re: Record and fadvance instead of run
Hello, thank you very much for your fast and clear answer, all the comment on the code that will be really helpful. It seems to me that h.continuerun() is what I will use. I am avoiding run since I add an extracellular potential which has a relatively high frequency and when using play I have to com...
- Wed Dec 30, 2020 2:41 pm
- Forum: NEURON + Python
- Topic: Record and fadvance instead of run
- Replies: 2
- Views: 6505
Record and fadvance instead of run
Hi, I try to run a simulation step by step, using 'fadvance()' with a loop instead of 'run()'. Here is a minimal code of what I am trying to do : import neuron from neuron import h h.load_file('stdrun.hoc') import numpy as np v_init = -65 axon1 = h.Section(name='U_axon') axon1.L = 5000 axon1.diam = ...