Hi all,
I was digging around in the tissue_calibrate tuneCV forcepss stack of code the other day and noticed something confusing I wanted to ask about.
eventually these things call back to tissue_limcyc which sets up the calls to tuneCV. In that setup, tissue_limcyc sets stim params of:
'--stimS', 500,
'--stimV',
Which based on tuneCV I interpret as "do a voltage clamp at 500 strength",
But then I noticed in the actual output logs the voltage clamp is at 0, not 500, because tuneCV calls tuning.CVtuning which, when --stimV is set, hard codes a 0 volt clamp:
if self.stimV:
# we clamp for 5 ms to be sure to initiate, if possible at all
stim = ['-stimulus[%d].duration'%(idx), 5.,
'-stimulus[%d].stimtype'%(idx), 9,
'-stimulus[%d].strength'%(idx), 0. ]
So I was wondering if this should be changed or left alone? I suspect that the voltage clamp at 0 is sufficient to stimulate in most cases, but it does mean that any val passed to --stimS for either tissue_calibrate or tuneCV will have no effect. Or am I misunderstanding something here?