recording delivered pulses using pulsedistrib.zip
Posted: Tue Nov 15, 2022 12:18 am
Hello
I am using pulsedistrib.zip, to deliver a set of 10 pulses of 1ms approx per pulse.
I am having difficulty controlling the Ipulse2 parameters either from my python script or directly from within the mod file.
For example, the following syntax doesn't work:
iclamp = h.Ipulse2(bs.soma(0.5)) #where bs is my basket cell
iclamp.dur = 0.01
iclamp.num=10
iclamp.per=0.1
Questions:
1. what is the right syntax to control Ipulse2 params?
2. how can I record the delivered pulses (i.e the iclamp._ref_i or something analogous)
3. why are there two values for params such as dur and per in the Ipulse2 mod file? I was expecting to see single values, not sure what i.e the interval <0, 1e9> represents.
thank you,
Alexandra
I am using pulsedistrib.zip, to deliver a set of 10 pulses of 1ms approx per pulse.
I am having difficulty controlling the Ipulse2 parameters either from my python script or directly from within the mod file.
For example, the following syntax doesn't work:
iclamp = h.Ipulse2(bs.soma(0.5)) #where bs is my basket cell
iclamp.dur = 0.01
iclamp.num=10
iclamp.per=0.1
Questions:
1. what is the right syntax to control Ipulse2 params?
2. how can I record the delivered pulses (i.e the iclamp._ref_i or something analogous)
3. why are there two values for params such as dur and per in the Ipulse2 mod file? I was expecting to see single values, not sure what i.e the interval <0, 1e9> represents.
thank you,
Alexandra