def clampValues(self,timePoint=<NUM_LIT:0>):
Cs=np.zeros(self.sweeps)<EOL>for i in range(self.sweeps):<EOL><INDENT>self.setSweep(i) <EOL>for j in range(len(self.protoSeqX)):<EOL><INDENT>if self.protoSeqX[j]<=timePoint*self.rate:<EOL><INDENT>Cs[i]=self.protoSeqY[j]<EOL><DEDENT><DEDENT><DEDENT>return Cs<EOL>
return an array of command values at a time point (in sec).
Useful for things like generating I/V curves.