/* ap2 */
/* tcomp32:  Hodgkin-Huxley channel in cable membrane */


crit = 1e-8;
endexp = .05;
ploti= 1e-4;
timinc = 1e-5;
drm=10000;
tempcel=15;


conn 1 to 2 cable dia .8 length 100 vrev -.05 
         Na type 0 vrev .056 maxcond 1e-6 density 1e-2
         K  type 0 vrev -.085 maxcond 3e-7 density 1e-2;  

/* stim node 2 vclamp -.03 start .005 dur .01; */
stim node 2 cclamp 5e-11 start .005 dur .001;

plot V[1] max .05 min -.1;   /* */ 
/* plot I[2] max 5e-10 min -5e-10;    */

run;

