Changeset 27218 in project


Ignore:
Timestamp:
08/07/12 04:22:46 (9 years ago)
Author:
Ivan Raikov
Message:

nemo: added octave versions of some channels in CGC example

Location:
release/4/nemo/trunk/examples/CGC/parts
Files:
6 added
2 edited

Legend:

Unmodified
Added
Removed
  • release/4/nemo/trunk/examples/CGC/parts/CGC_KCa.nemo

    r27006 r27218  
    6363              ) ;; end KCa current
    6464
     65              (component (type voltage-clamp) (name KCa)
     66           
     67                         (const vchold   = -71)
     68                         (const vcbase   = -69)
     69                         (const vcinc    = 10)
     70                         (const vcsteps  = 8)
     71                         (const vchdur   = 30)
     72                         (const vcbdur   = 100)
     73           
     74                         (output vchold vcbase vcinc vcsteps vchdur vcbdur)
     75                         )
     76
     77
    6578))
  • release/4/nemo/trunk/examples/CGC/parts/plot_vclamp.m

    r27022 r27218  
     1
     2graphics_toolkit("gnuplot");
    13
    24CaHVA1       = load ("CaHVA.dat");
     
    2628
    2729subplot(3,3,1);
    28 plot(CaHVA1(:,1),CaHVA1(:,2),CaHVA2(:,1),CaHVA2(:,2));
     30plot(CaHVA1(:,1),CaHVA1(:,2),CaHVA2(:,1),CaHVA2(:,2),'linewidth',2);
    2931title ("CaHVA current");
    3032
    3133subplot(3,3,2);
    32 plot(KA1(:,1),KA1(:,2),KA2(:,1),KA2(:,2));
     34plot(KA1(:,1),KA1(:,2),KA2(:,1),KA2(:,2),'linewidth',2);
    3335title ("KA current");
    3436
    3537subplot(3,3,3);
    36 plot(Kir1(:,1),Kir1(:,2),Kir2(:,1),Kir2(:,2));
     38plot(Kir1(:,1),Kir1(:,2),Kir2(:,1),Kir2(:,2),'linewidth',2);
    3739title ("Kir current");
    3840
    3941subplot(3,3,4);
    40 plot(KM1(:,1),KM1(:,2),KM2(:,1),KM2(:,2));
     42plot(KM1(:,1),KM1(:,2),KM2(:,1),KM2(:,2),'linewidth',2);
    4143title ("KM current");
    4244
    4345subplot(3,3,5);
    44 plot(KV1(:,1),KV1(:,2),KV2(:,1),KV2(:,2));
     46plot(KV1(:,1),KV1(:,2),KV2(:,1),KV2(:,2),'linewidth',2);
    4547title ("KV current");
    4648
    4749subplot(3,3,6);
    48 plot(Na1(:,1),Na1(:,2),Na2(:,1),Na2(:,2));
     50plot(Na1(:,1),Na1(:,2),Na2(:,1),Na2(:,2),'linewidth',2);
    4951title ("Na current");
    5052
    5153subplot(3,3,7);
    52 plot(Nar1(:,1),Nar1(:,2),Nar2(:,1),Nar2(:,2));
     54plot(Nar1(:,1),Nar1(:,2),Nar2(:,1),Nar2(:,2),'linewidth',2);
    5355title ("Nar current");
    5456
    5557subplot(3,3,8);
    56 plot(pNa1(:,1),pNa1(:,2),pNa2(:,1),pNa2(:,2));
     58plot(pNa1(:,1),pNa1(:,2),pNa2(:,1),pNa2(:,2),'linewidth',2);
    5759title ("pNa current");
     60
     61print  ("NEURON_Vclamp.eps", "-depsc");
     62
Note: See TracChangeset for help on using the changeset viewer.