-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathSM.nb
More file actions
1713 lines (1699 loc) · 264 KB
/
SM.nb
File metadata and controls
1713 lines (1699 loc) · 264 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
Notebook[{Cell[
CellGroupData[{Cell[
BoxData[RowBox[{RowBox[{"Table","[",RowBox[{RowBox[
{"ColorData","[",RowBox[{"97",","," ","i"}],"]"}],","," ",RowBox[{"{",RowBox[{"i",","," ","1",","," ","14"}],"}"}]}],"]"}],"\[IndentingNewLine]",RowBox[
{RowBox[{"colorExc"," ","=",RowBox[{"ColorData","[",RowBox[{"97",",","1"}],"]"}]}],";"," ",RowBox[
{"colorNexc"," ","="," ",RowBox[{"ColorData","[",RowBox[{"97",",","2"}],"]"}]}],";"," ",RowBox[
{"colorOsc"," ","="," ",RowBox[{"ColorData","[",RowBox[{"97",",","3"}],"]"}]}],";"}],"\[IndentingNewLine]",RowBox[
{RowBox[{"{",RowBox[{RowBox[{"Graphics","[",RowBox[{RowBox[{"{",RowBox[{"colorExc",",",RowBox[
{"Rectangle","[",RowBox[{"{",RowBox[{"0",",","0"}],"}"}],"]"}]}],"}"}],",",RowBox[
{"ImageSize","\[Rule]","Tiny"}]}],"]"}],",",RowBox[{"Graphics","[",RowBox[{RowBox[
{"{",RowBox[{"colorNexc",",",RowBox[{"Rectangle","[",RowBox[{"{",RowBox[{"0",",","0"}],"}"}],"]"}]}],"}"}],",",RowBox[
{"ImageSize","\[Rule]","Tiny"}]}],"]"}],",",RowBox[{"Graphics","[",RowBox[{RowBox[
{"{",RowBox[{"colorOsc",",",RowBox[{"Rectangle","[",RowBox[{"{",RowBox[{"0",",","0"}],"}"}],"]"}]}],"}"}],",",RowBox[
{"ImageSize","\[Rule]","Tiny"}]}],"]"}]}],"}"}],";"}]}]],"Input",ExpressionUUID->"8e9cc7ba-b06e-4309-9491-6201fce21252",
CellLabel->"In[1]:= "],Cell[
BoxData[RowBox[{"{",RowBox[{RowBox[{SuperscriptBox["Null",
"2"]," ",InterpretationBox[TooltipBox[GraphicsBox[{{GrayLevel[0],RectangleBox[{0,0}]},{GrayLevel[
0],RectangleBox[{1,-1}]},{RGBColor[0.368417,0.506779,0.709798],RectangleBox[{0,-1},
{2,1}]}},AspectRatio->1,Frame->True,FrameStyle->RGBColor[0.24561133333333335,0.3378526666666667,
0.4731986666666667],FrameTicks->None,PlotRangePadding->None,ImageSize->11,ExpressionUUID->"277f70e9-324f-4886-b20a-ff1c4223d8df"],
"RGBColor[0.368417, 0.506779, 0.709798]"],RGBColor[0.368417,0.506779,0.709798],Editable->False,
Selectable->False]}],",",RowBox[{SuperscriptBox["Null","2"]," ",InterpretationBox[
TooltipBox[GraphicsBox[{{GrayLevel[0],RectangleBox[{0,0}]},{GrayLevel[0],RectangleBox[
{1,-1}]},{RGBColor[0.880722,0.611041,0.142051],RectangleBox[{0,-1},{2,1}]}},AspectRatio->1,
Frame->True,FrameStyle->RGBColor[0.587148,0.40736066666666665,0.09470066666666668],
FrameTicks->None,PlotRangePadding->None,ImageSize->11,ExpressionUUID->"86aebe26-8101-4335-b456-7ea1b91f3563"],
"RGBColor[0.880722, 0.611041, 0.142051]"],RGBColor[0.880722,0.611041,0.142051],Editable->False,
Selectable->False]}],",",RowBox[{SuperscriptBox["Null","2"]," ",InterpretationBox[
TooltipBox[GraphicsBox[{{GrayLevel[0],RectangleBox[{0,0}]},{GrayLevel[0],RectangleBox[
{1,-1}]},{RGBColor[0.560181,0.691569,0.194885],RectangleBox[{0,-1},{2,1}]}},AspectRatio->1,
Frame->True,FrameStyle->RGBColor[0.37345400000000006,0.461046,0.12992333333333334],
FrameTicks->None,PlotRangePadding->None,ImageSize->11,ExpressionUUID->"571cb16c-709f-4782-9587-e17b02ecf206"],
"RGBColor[0.560181, 0.691569, 0.194885]"],RGBColor[0.560181,0.691569,0.194885],Editable->False,
Selectable->False]}],",",RowBox[{SuperscriptBox["Null","2"]," ",InterpretationBox[
TooltipBox[GraphicsBox[{{GrayLevel[0],RectangleBox[{0,0}]},{GrayLevel[0],RectangleBox[
{1,-1}]},{RGBColor[0.922526,0.385626,0.209179],RectangleBox[{0,-1},{2,1}]}},AspectRatio->1,
Frame->True,FrameStyle->RGBColor[0.6150173333333333,0.25708400000000003,0.13945266666666667],
FrameTicks->None,PlotRangePadding->None,ImageSize->11,ExpressionUUID->"295a9a30-cea0-4092-a34e-d971753b7ec6"],
"RGBColor[0.922526, 0.385626, 0.209179]"],RGBColor[0.922526,0.385626,0.209179],Editable->False,
Selectable->False]}],",",RowBox[{SuperscriptBox["Null","2"]," ",InterpretationBox[
TooltipBox[GraphicsBox[{{GrayLevel[0],RectangleBox[{0,0}]},{GrayLevel[0],RectangleBox[
{1,-1}]},{RGBColor[0.528488,0.470624,0.701351],RectangleBox[{0,-1},{2,1}]}},AspectRatio->1,
Frame->True,FrameStyle->RGBColor[0.3523253333333333,0.3137493333333333,0.46756733333333333],
FrameTicks->None,PlotRangePadding->None,ImageSize->11,ExpressionUUID->"9f0bfa83-8e46-4aa7-90be-ac87a54b8c7f"],
"RGBColor[0.528488, 0.470624, 0.701351]"],RGBColor[0.528488,0.470624,0.701351],Editable->False,
Selectable->False]}],",",RowBox[{SuperscriptBox["Null","2"]," ",InterpretationBox[
TooltipBox[GraphicsBox[{{GrayLevel[0],RectangleBox[{0,0}]},{GrayLevel[0],RectangleBox[
{1,-1}]},{RGBColor[0.772079,0.431554,0.102387],RectangleBox[{0,-1},{2,1}]}},AspectRatio->1,
Frame->True,FrameStyle->RGBColor[0.5147193333333333,0.28770266666666666,0.06825800000000001],
FrameTicks->None,PlotRangePadding->None,ImageSize->11,ExpressionUUID->"e2c4b279-9057-4f2e-8148-0a3220935aa4"],
"RGBColor[0.772079, 0.431554, 0.102387]"],RGBColor[0.772079,0.431554,0.102387],Editable->False,
Selectable->False]}],",",RowBox[{SuperscriptBox["Null","2"]," ",InterpretationBox[
TooltipBox[GraphicsBox[{{GrayLevel[0],RectangleBox[{0,0}]},{GrayLevel[0],RectangleBox[
{1,-1}]},{RGBColor[0.363898,0.618501,0.782349],RectangleBox[{0,-1},{2,1}]}},AspectRatio->1,
Frame->True,FrameStyle->RGBColor[0.24259866666666668,0.412334,0.521566],FrameTicks->None,
PlotRangePadding->None,ImageSize->11,ExpressionUUID->"536cb9f7-f8ab-4f5d-84f5-80880412b9b8"],
"RGBColor[0.363898, 0.618501, 0.782349]"],RGBColor[0.363898,0.618501,0.782349],Editable->False,
Selectable->False]}],",",RowBox[{SuperscriptBox["Null","2"]," ",InterpretationBox[
TooltipBox[GraphicsBox[{{GrayLevel[0],RectangleBox[{0,0}]},{GrayLevel[0],RectangleBox[
{1,-1}]},{RGBColor[1,0.75,0],RectangleBox[{0,-1},{2,1}]}},AspectRatio->1,Frame->True,
FrameStyle->RGBColor[0.6666666666666666,0.5,0.0],FrameTicks->None,PlotRangePadding->None,
ImageSize->11,ExpressionUUID->"63b2fc5b-1ea0-433f-bbc5-9bb99041bed7"],"RGBColor[1, 0.75, 0]"],
RGBColor[1,0.75,0],Editable->False,Selectable->False]}],",",RowBox[{SuperscriptBox[
"Null","2"]," ",InterpretationBox[TooltipBox[GraphicsBox[{{GrayLevel[0],RectangleBox[
{0,0}]},{GrayLevel[0],RectangleBox[{1,-1}]},{RGBColor[0.647624,0.37816,0.614037],RectangleBox[
{0,-1},{2,1}]}},AspectRatio->1,Frame->True,FrameStyle->RGBColor[0.4317493333333333,
0.2521066666666667,0.40935800000000006],FrameTicks->None,PlotRangePadding->None,ImageSize->11,
ExpressionUUID->"d3fc75e3-12d7-456e-8a07-37baae6db918"],"RGBColor[0.647624, 0.37816, 0.614037]"],
RGBColor[0.647624,0.37816,0.614037],Editable->False,Selectable->False]}],",",RowBox[
{SuperscriptBox["Null","2"]," ",InterpretationBox[TooltipBox[GraphicsBox[{{GrayLevel[
0],RectangleBox[{0,0}]},{GrayLevel[0],RectangleBox[{1,-1}]},{RGBColor[0.571589,0.586483,
0.0],RectangleBox[{0,-1},{2,1}]}},AspectRatio->1,Frame->True,FrameStyle->RGBColor[
0.38105933333333336,0.39098866666666665,0.0],FrameTicks->None,PlotRangePadding->None,
ImageSize->11,ExpressionUUID->"335be5eb-2d3f-4ac7-89b4-8f7862bbbefb"],"RGBColor[0.571589, 0.586483, 0.]"],
RGBColor[0.571589,0.586483,0.0],Editable->False,Selectable->False]}],",",RowBox[{SuperscriptBox[
"Null","2"]," ",InterpretationBox[TooltipBox[GraphicsBox[{{GrayLevel[0],RectangleBox[
{0,0}]},{GrayLevel[0],RectangleBox[{1,-1}]},{RGBColor[0.915,0.3325,0.2125],RectangleBox[
{0,-1},{2,1}]}},AspectRatio->1,Frame->True,FrameStyle->RGBColor[0.6100000000000001,
0.22166666666666668,0.14166666666666666],FrameTicks->None,PlotRangePadding->None,
ImageSize->11,ExpressionUUID->"cfa7ce9c-b4fc-4662-b223-eb971de762fd"],"RGBColor[0.915, 0.3325, 0.2125]"],
RGBColor[0.915,0.3325,0.2125],Editable->False,Selectable->False]}],",",RowBox[{SuperscriptBox[
"Null","2"]," ",InterpretationBox[TooltipBox[GraphicsBox[{{GrayLevel[0],RectangleBox[
{0,0}]},{GrayLevel[0],RectangleBox[{1,-1}]},{RGBColor[0.40082222609352647,0.5220066643438841,
0.85],RectangleBox[{0,-1},{2,1}]}},AspectRatio->1,Frame->True,FrameStyle->RGBColor[
0.2672148173956843,0.34800444289592275,0.5666666666666667],FrameTicks->None,PlotRangePadding->None,
ImageSize->11,ExpressionUUID->"87c6375c-7b09-47bf-aea4-1a01c498b2cb"],"RGBColor[0.40082222609352647, 0.5220066643438841, 0.85]"],
RGBColor[0.40082222609352647,0.5220066643438841,0.85],Editable->False,Selectable->False]}],",",RowBox[
{SuperscriptBox["Null","2"]," ",InterpretationBox[TooltipBox[GraphicsBox[{{GrayLevel[
0],RectangleBox[{0,0}]},{GrayLevel[0],RectangleBox[{1,-1}]},{RGBColor[0.9728288904374106,
0.621644452187053,0.07336199581899142],RectangleBox[{0,-1},{2,1}]}},AspectRatio->1,
Frame->True,FrameStyle->RGBColor[0.6485525936249404,0.4144296347913687,0.048907997212660946],
FrameTicks->None,PlotRangePadding->None,ImageSize->11,ExpressionUUID->"6541241f-2875-4ee6-994b-d1bea2960c77"],
"RGBColor[0.9728288904374106, 0.621644452187053, 0.07336199581899142]"],RGBColor[
0.9728288904374106,0.621644452187053,0.07336199581899142],Editable->False,Selectable->False]}],",",RowBox[
{SuperscriptBox["Null","2"]," ",InterpretationBox[TooltipBox[GraphicsBox[{{GrayLevel[
0],RectangleBox[{0,0}]},{GrayLevel[0],RectangleBox[{1,-1}]},{RGBColor[0.736782672705901,
0.358,0.5030266573755369],RectangleBox[{0,-1},{2,1}]}},AspectRatio->1,Frame->True,
FrameStyle->RGBColor[0.4911884484706007,0.23866666666666667,0.3353511049170246],FrameTicks->None,
PlotRangePadding->None,ImageSize->11,ExpressionUUID->"acb836a3-eaff-402e-8495-8978ae802ea0"],
"RGBColor[0.736782672705901, 0.358, 0.5030266573755369]"],RGBColor[0.736782672705901,
0.358,0.5030266573755369],Editable->False,Selectable->False]}]}],"}"}],StandardForm],
"Output",ExpressionUUID->"d99dc0f4-2b64-4238-97da-7f7898b48e1a",CellLabel->"Out[1]= "]},
Open],ExpressionUUID->"49dc0a5a-4610-41e8-8a46-8cf83b20a8d1"],Cell[
CellGroupData[
{Cell[
"\<Simulate HH Equations with Scaled Parameters [0.75, 1.25]\>","Section",
CellChangeTimes->{{3.6206323403467817`*^9,3.6206323447282257`*^9},{3.620992512934267*^9,3.620992521322761*^9},{3.684233353686513*^9,3.684233389495756*^9},{3.6843314334343557`*^9,3.684331444121593*^9},{3.713332399493682*^9,3.713332400133773*^9},{3.713336200161474*^9,3.7133362140047092`*^9},{3.732107444327032*^9,3.73210745833482*^9},{3.7321085640448837`*^9,3.73210857015786*^9}},
ExpressionUUID->"a3051404-820e-4564-8701-cb17ac2fd166"],Cell[
BoxData[RowBox[{"\[IndentingNewLine]",RowBox[
{RowBox[{RowBox[{"SetDirectory","[",RowBox[{"NotebookDirectory","[","]"}],"]"}],";"}],"\[IndentingNewLine]","\[IndentingNewLine]",RowBox[
{RowBox[{"am"," ","="," ",RowBox[{"Compile","[",RowBox[{RowBox[{"{","v","}"}],","," ",RowBox[
{RowBox[{"(",RowBox[{"2.5","-",RowBox[{"0.1"," ","v"}]}],")"}],"/",RowBox[{"(",RowBox[
{RowBox[{"Exp","[",RowBox[{"2.5","-",RowBox[{"0.1","v"}]}],"]"}],"-","1"}],")"}]}]}],"]"}]}],";"}],"\[IndentingNewLine]",RowBox[
{RowBox[{"bm"," ","="," ",RowBox[{"Compile","[",RowBox[{RowBox[{"{","v","}"}],","," ",RowBox[
{"4","*",RowBox[{"Exp","[",RowBox[{RowBox[{"-","v"}],"/","18"}],"]"}]}]}],"]"}]}],";"}]," ","\[IndentingNewLine]",RowBox[
{RowBox[{"an"," ","="," ",RowBox[{"Compile","[",RowBox[{RowBox[{"{","v","}"}],","," ",RowBox[
{RowBox[{"(",RowBox[{"0.1","-",RowBox[{"0.01"," ","v"}]}],")"}],"/"," ",RowBox[{"("," ",RowBox[
{RowBox[{"Exp","[",RowBox[{"1","-",RowBox[{"0.1"," ","v"}]}],"]"}],"-","1"}],")"}]}]}]," ","]"}]}],";"}]," ","\[IndentingNewLine]",RowBox[
{RowBox[{"bn"," ","="," ",RowBox[{"Compile","[",RowBox[{RowBox[{"{","v","}"}],","," ",RowBox[
{"0.125","*",RowBox[{"Exp","[",RowBox[{RowBox[{"-","v"}],"/","80"}],"]"}]}]}],"]"}]}],";"}]," ","\[IndentingNewLine]",RowBox[
{RowBox[{"ah"," ","="," ",RowBox[{"Compile","[",RowBox[{RowBox[{"{","v","}"}],","," ",RowBox[
{"0.07","*",RowBox[{"Exp","[",RowBox[{RowBox[{"-","v"}],"/","20"}],"]"}]}]}],"]"}]}],";"}]," ","\[IndentingNewLine]",RowBox[
{RowBox[{"bh"," ","="," ",RowBox[{"Compile","[",RowBox[{RowBox[{"{","v","}"}],","," ",RowBox[
{"1","/",RowBox[{"(",RowBox[{RowBox[{"Exp","[",RowBox[{"3"," ","-"," ",RowBox[{"0.1"," ","v"}]}],"]"}]," ","+"," ","1"}],")"}]}]}],"]"}]}],";"}],"\[IndentingNewLine]","\[IndentingNewLine]",RowBox[
{RowBox[{"allowedSolutionsPacing","=",RowBox[{"{","}"}]}],";"}],"\[IndentingNewLine]",RowBox[
{RowBox[{"allowedSolutionsEvoked"," ","="," ",RowBox[{"{","}"}]}],";"}],"\[IndentingNewLine]",RowBox[
{RowBox[{"notallowedSolutions","=",RowBox[{"{","}"}]}],";"}],"\[IndentingNewLine]","\[IndentingNewLine]",RowBox[
{"(*"," ",RowBox[{"INITIAL"," ","SEETING"," ","OF"," ","VARIABLES"}]," ","*)"}],"\[IndentingNewLine]",RowBox[
{RowBox[{"v"," ","="," ","0"}],";"}]," ",RowBox[{"(*"," ",RowBox[{RowBox[{"HH"," ","\"resting potential\""}],","," ",RowBox[
{RowBox[{"ca","."," ",RowBox[{"-","63"}]}]," ","mV"}]}]," ","*)"}],"\[IndentingNewLine]","\[IndentingNewLine]",RowBox[
{RowBox[{"t"," ","="," ","0."}],";"}]," ","\[IndentingNewLine]",RowBox[{RowBox[{"st"," ","="," ","0"}],";"}]," ","\[IndentingNewLine]",RowBox[
{RowBox[{"dt"," ","="," ","0.02"}],";"}]," ","\[IndentingNewLine]","\[IndentingNewLine]","\[IndentingNewLine]",RowBox[
{"(*"," ",RowBox[{"MODEL"," ","CONSTANTS"}]," ","*)"}],"\[IndentingNewLine]","\[IndentingNewLine]",RowBox[
{RowBox[{"gnmax"," ","="," ","120"}],";"}]," ","\[IndentingNewLine]",RowBox[{RowBox[
{"gkmax"," ","="," ","36"}],";"}]," ","\[IndentingNewLine]",RowBox[{RowBox[{"gleak"," ","="," ","0.3"}],";"}],"\[IndentingNewLine]",RowBox[
{RowBox[{"vna"," ","="," ","115."}],";"}]," ","\[IndentingNewLine]",RowBox[{RowBox[
{"vk"," ","="," ",RowBox[{"-","12."}]}],";"}]," ","\[IndentingNewLine]",RowBox[{RowBox[
{"vleak"," ","="," ","10.6"}],";"}]," ","\[IndentingNewLine]","\[IndentingNewLine]",RowBox[
{RowBox[{"iinj"," ","="," ","0"}],";"}],"\[IndentingNewLine]",RowBox[{RowBox[{"amp"," ","="," ","7"}],";"}],"\[IndentingNewLine]",RowBox[
{RowBox[{"c"," ","="," ","1"}],";"}],"\[IndentingNewLine]","\[IndentingNewLine]",RowBox[
{RowBox[{"waveFormsPaceMakers"," ","="," ",RowBox[{"{","}"}]}],";"}],"\[IndentingNewLine]",RowBox[
{RowBox[{"waveFormsExcitable"," ","="," ",RowBox[{"{","}"}]}],";"}],"\[IndentingNewLine]",RowBox[
{RowBox[{"waveFormsNotExcitable"," ","="," ",RowBox[{"{","}"}]}],";"}],"\[IndentingNewLine]","\[IndentingNewLine]",RowBox[
{"Do","[","\[IndentingNewLine]","\[IndentingNewLine]",RowBox[{"(*"," ",RowBox[{"INITIALIZING"," ","LISTS"," ","FOR"," ","NUMBER"," ","STORAGE"}]," ","*)"}]," ","\[IndentingNewLine]",RowBox[
{RowBox[{RowBox[{"aVt"," ","="," ",RowBox[{"{","}"}]}],";","\[IndentingNewLine]",RowBox[
{"(*"," ",RowBox[{RowBox[{"SETTING"," ","INTIAL"," ","GATES"," ","TO"," ","THEIR"," ","STEADY"}],"-","STATE"}]," ","*)"}],"\[IndentingNewLine]",RowBox[
{"m"," ","="," ",RowBox[{RowBox[{"am","[","v","]"}],"/",RowBox[{"(",RowBox[{RowBox[
{"am","[","v","]"}]," ","+"," ",RowBox[{"bm","[","v","]"}]}],")"}]}]}],";"," ","\[IndentingNewLine]",RowBox[
{"n"," ","="," ",RowBox[{RowBox[{"an","[","v","]"}],"/",RowBox[{"(",RowBox[{RowBox[
{"an","[","v","]"}]," ","+"," ",RowBox[{"bn","[","v","]"}]}],")"}]}]}],";"," ","\[IndentingNewLine]",RowBox[
{"h"," ","="," ",RowBox[{RowBox[{"ah","[","v","]"}],"/",RowBox[{"(",RowBox[{RowBox[
{"ah","[","v","]"}]," ","+"," ",RowBox[{"bh","[","v","]"}]}],")"}]}]}],";"," ","\[IndentingNewLine]","\[IndentingNewLine]",RowBox[
{"wait"," ","="," ","20"}],";","\[IndentingNewLine]",RowBox[{"pd"," ","="," ","1"}],";",RowBox[
{"relaxtime"," ","="," ","50"}],";","\[IndentingNewLine]",RowBox[{"runFor"," ","="," ","40"}],";","\[IndentingNewLine]","\[IndentingNewLine]",RowBox[
{"(*"," ",RowBox[{"MAIN"," ","LOOP"}]," ","*)"}]," ","\[IndentingNewLine]","\[IndentingNewLine]",RowBox[
{"(*"," ",RowBox[{"Scaling"," ","Parameters"}]," ","*)"}],"\[IndentingNewLine]",RowBox[
{"ampF"," ","=","1."}]," ",RowBox[{"(*",RowBox[{"RandomReal","[",RowBox[{"{"," ",RowBox[
{"1.",","," ","1.25"}],"}"}],"]"}],"*)"}],";","\[IndentingNewLine]",RowBox[{"anF"," ","="," ",RowBox[
{"RandomReal","[",RowBox[{"{"," ",RowBox[{".75",","," ","1.25"}],"}"}],"]"}]}],";","\[IndentingNewLine]",RowBox[
{"bnF"," ","="," ",RowBox[{"RandomReal","[",RowBox[{"{"," ",RowBox[{".75",","," ","1.25"}],"}"}],"]"}]}],";","\[IndentingNewLine]",RowBox[
{"amF"," ","="," ",RowBox[{"RandomReal","[",RowBox[{"{"," ",RowBox[{".75",","," ","1.25"}],"}"}],"]"}]}],";","\[IndentingNewLine]",RowBox[
{"bmF"," ","="," ",RowBox[{"RandomReal","[",RowBox[{"{",RowBox[{".75",","," ","1.25"}],"}"}],"]"}]}],";","\[IndentingNewLine]",RowBox[
{"ahF"," ","="," ",RowBox[{"RandomReal","[",RowBox[{"{"," ",RowBox[{".75",","," ","1.25"}],"}"}],"]"}]}],";","\[IndentingNewLine]",RowBox[
{"bhF"," ","="," ",RowBox[{"RandomReal","[",RowBox[{"{"," ",RowBox[{".75",","," ","1.25"}],"}"}],"]"}]}],";","\[IndentingNewLine]",RowBox[
{"cF"," ","="," ",RowBox[{"RandomReal","[",RowBox[{"{"," ",RowBox[{".75",","," ","1.25"}],"}"}],"]"}]}],";","\[IndentingNewLine]",RowBox[
{"gLf"," ","="," ",RowBox[{"RandomReal","[",RowBox[{"{"," ",RowBox[{".75",","," ","1.25"}],"}"}],"]"}]}],";","\[IndentingNewLine]",RowBox[
{"gKf"," ","="," ",RowBox[{"RandomReal","[",RowBox[{"{"," ",RowBox[{".75",","," ","1.25"}],"}"}],"]"}]}],";","\[IndentingNewLine]",RowBox[
{"gNf"," ","="," ",RowBox[{"RandomReal","[",RowBox[{"{"," ",RowBox[{".75",","," ","1.25"}],"}"}],"]"}]}],";","\[IndentingNewLine]","\[IndentingNewLine]","\[IndentingNewLine]","\[IndentingNewLine]",RowBox[
{"While","[",RowBox[{RowBox[{"t"," ","<",RowBox[{"relaxtime","+"," ","runFor"}]}],",","\[IndentingNewLine]",RowBox[
{RowBox[{"m"," ","="," ",RowBox[{"m"," ","+"," ",RowBox[{"dt","*",RowBox[{"(",RowBox[
{RowBox[{"amF"," ",RowBox[{"am","[","v","]"}],"*",RowBox[{"(",RowBox[{"1"," ","-"," ","m"}],")"}]}]," ","-"," ",RowBox[
{"bmF"," ",RowBox[{"bm","[","v","]"}],"*","m"}]}],")"}]}]}]}],";","\[IndentingNewLine]",RowBox[
{"h"," ","="," ",RowBox[{"h"," ","+"," ",RowBox[{"dt","*",RowBox[{"("," ",RowBox[
{RowBox[{"ahF"," ",RowBox[{"ah","[","v","]"}],"*",RowBox[{"(",RowBox[{"1"," ","-"," ","h"}],")"}]}]," ","-"," ",RowBox[
{"bhF"," ",RowBox[{"bh","[","v","]"}],"*","h"}]}],")"}]}]}]}],";"," ","\[IndentingNewLine]",RowBox[
{"n"," ","="," ",RowBox[{"n"," ","+"," ",RowBox[{"dt","*",RowBox[{"("," ",RowBox[
{RowBox[{"anF"," ",RowBox[{"an","[","v","]"}],"*",RowBox[{"(",RowBox[{"1"," ","-"," ","n"}],")"}]}]," ","-"," ",RowBox[
{"bnF"," ",RowBox[{"bn","[","v","]"}],"*","n"}]}],")"}]}]}]}],";"," ","\[IndentingNewLine]",RowBox[
{"If","[",RowBox[{RowBox[{RowBox[{"t"," ",">"," ",RowBox[{"relaxtime","+","wait"}]}],"&&",RowBox[
{"t","<",RowBox[{"relaxtime","+","wait"," ","+"," ","pd"}]}]}],","," ",RowBox[{"iinj"," ","="," ",RowBox[
{"ampF"," ","amp"}]}],","," ",RowBox[{"iinj"," ","="," ","0"}]}],"]"}],";"," ",RowBox[
{"(*"," ","stimulation"," ","*)"}],"\[IndentingNewLine]",RowBox[{"ina"," ","="," ",RowBox[
{RowBox[{"m","^","3"}]," ","h"," ","gNf"," ","gnmax"," ",RowBox[{"(",RowBox[{"v"," ","-"," ","vna"}],")"}]}]}],";","\[IndentingNewLine]",RowBox[
{"ik"," ","="," ",RowBox[{RowBox[{"n","^","4"}]," ","gKf"," ","gkmax"," ",RowBox[
{"(",RowBox[{"v"," ","-"," ","vk"}]," ",")"}]}]}],";"," ","\[IndentingNewLine]",RowBox[
{"itot"," ","="," ",RowBox[{"ina"," ","+"," ","ik"," ","+"," ",RowBox[{"gLf"," ","gleak"," ",RowBox[
{"(",RowBox[{"v"," ","-"," ","vleak"}],")"}]}]," ","-"," ","iinj"}]}],";"," ","\[IndentingNewLine]",RowBox[
{"v"," ","="," ",RowBox[{"v"," ","-"," ",RowBox[{RowBox[{"(",RowBox[{"itot"," ","dt"}],")"}],"/",RowBox[
{"(",RowBox[{"cF"," ","c"}],")"}]}]}]}],";"," ","\[IndentingNewLine]","\[IndentingNewLine]",RowBox[
{"AppendTo","[",RowBox[{"aVt",","," ","v"}],"]"}],";","\[IndentingNewLine]","\[IndentingNewLine]",RowBox[
{"t"," ","="," ",RowBox[{"t"," ","+"," ","dt"}]}]}]}],"\[IndentingNewLine]","]"}],";","\[IndentingNewLine]","\[IndentingNewLine]","\[IndentingNewLine]",RowBox[
{"t"," ","="," ","0"}],";","\[IndentingNewLine]","\[IndentingNewLine]",RowBox[{"peakthreshold"," ","="," ","50"}],";","\[IndentingNewLine]","\[IndentingNewLine]",RowBox[
{"mavt"," ","="," ",RowBox[{"Max","[",RowBox[{"aVt","[",RowBox[{"[",RowBox[{RowBox[
{"Round","[",RowBox[{"relaxtime","/","dt"}],"]"}],";;"}],"]"}],"]"}],"]"}]}],";","\[IndentingNewLine]","\[IndentingNewLine]",RowBox[
{"If","["," ",RowBox[{RowBox[{"mavt",">","peakthreshold"}],",","\[IndentingNewLine]",RowBox[
{RowBox[{"peaks"," ","="," ",RowBox[{"FindPeaks","[",RowBox[{RowBox[{"aVt","[",RowBox[
{"[",RowBox[{RowBox[{"Round","[",RowBox[{"relaxtime","/","dt"}],"]"}],";;"}],"]"}],"]"}],",","0",","," ","0",","," ","peakthreshold",","," ",RowBox[
{"InterpolationOrder","\[Rule]","3"}]}],"]"}]}]," ",";","\[IndentingNewLine]","\[IndentingNewLine]",RowBox[
{"If","[",RowBox[{RowBox[{RowBox[{"peaks","[",RowBox[{"[",RowBox[{"1",",","1"}],"]"}],"]"}],"<",RowBox[
{RowBox[{"(",RowBox[{"wait","+","pd"}],")"}],"/","dt"}]}],","," ",RowBox[{"(*",RowBox[
{RowBox[{"spikes"," ","detected"}],","," ",RowBox[{"BUT",":"," ",RowBox[{"if"," ","first"," ","spike"," ","detected"," ","before"," ","end"," ","of"," ","stimulus"," ",RowBox[
{"(",RowBox[{"\"wait\"","+",RowBox[{"\"pd\""," ","time"," ","after"," ","relaxation"}]}],")"}]}]}],","," ",RowBox[
{"it"," ","is"," ","declared"," ","a"," ","pacemaker"," ","case"}]}]," ","*)"}],"\[IndentingNewLine]",RowBox[
{RowBox[{"AppendTo","[",RowBox[{"allowedSolutionsPacing",","," ",RowBox[{"{"," ",RowBox[
{"ampF",","," ","anF",","," ","bnF",","," ","amF",","," ","bmF",","," ","ahF",","," ","bhF",","," ","cF",","," ","gLf",","," ","gKf",",","gNf",","," ","mavt"}],"}"}]}],"]"}],";","\[IndentingNewLine]",RowBox[
{"AppendTo","[",RowBox[{"waveFormsPaceMakers",",",RowBox[{"aVt","[",RowBox[{"[",RowBox[
{RowBox[{"Round","[",RowBox[{"relaxtime","/","dt"}],"]"}],";;"}],"]"}],"]"}]}],"\[IndentingNewLine]","]"}]}],",","\[IndentingNewLine]",RowBox[
{"(*",RowBox[{"Else",","," ",RowBox[{"it"," ","is"," ","a"," ","Kosher"," ",RowBox[
{"excitable"," ","[","evoked","]"}]}]}]," ","*)"}],"\[IndentingNewLine]",RowBox[{RowBox[
{"AppendTo","[",RowBox[{"allowedSolutionsEvoked",","," ",RowBox[{"{"," ",RowBox[
{"ampF",","," ","anF",","," ","bnF",","," ","amF",","," ","bmF",","," ","ahF",","," ","bhF",","," ","cF",","," ","gLf",","," ","gKf",",","gNf",","," ","mavt"}],"}"}]}],"]"}],";","\[IndentingNewLine]",RowBox[
{"AppendTo","[",RowBox[{"waveFormsExcitable",",",RowBox[{"aVt","[",RowBox[{"[",RowBox[
{RowBox[{"Round","[",RowBox[{"relaxtime","/","dt"}],"]"}],";;"}],"]"}],"]"}]}],"\[IndentingNewLine]","]"}]}]}],"\[IndentingNewLine]","]"}]}],",","\[IndentingNewLine]",RowBox[
{"(*",RowBox[{"If"," ","no"," ","spikes"," ","detected"," ","it"," ","is"," ","a"," ","not"," ","excitable"}]," ","*)"}],"\[IndentingNewLine]",RowBox[
{RowBox[{"AppendTo","[",RowBox[{"notallowedSolutions",","," ",RowBox[{"{"," ",RowBox[
{"ampF",",","anF",","," ","bnF",","," ","amF",","," ","bmF",","," ","ahF",","," ","bhF",","," ","cF",","," ","gLf",","," ","gKf",",","gNf",","," ","mavt"}],"}"}]}],"]"}],";","\[IndentingNewLine]",RowBox[
{"AppendTo","[",RowBox[{"waveFormsNotExcitable",",",RowBox[{"aVt","[",RowBox[{"[",RowBox[
{RowBox[{"Round","[",RowBox[{"relaxtime","/","dt"}],"]"}],";;"}],"]"}],"]"}]}],"\[IndentingNewLine]","]"}],";"}]}],"\[IndentingNewLine]","]"}],";"}],"\[IndentingNewLine]",",","\[IndentingNewLine]","\[IndentingNewLine]",RowBox[
{"{","10000","}"}]}],"\[IndentingNewLine]","]"}],"\[IndentingNewLine]","\[IndentingNewLine]",RowBox[
{RowBox[{"allowedSolutionsPacing",">>","\"dataAllowedPacing.txt\""}],";"," ",RowBox[
{"waveFormsPaceMakers",">>","\"waveFormsPaceMakers.txt\""}],";"}],"\[IndentingNewLine]",RowBox[
{RowBox[{"allowedSolutionsEvoked",">>","\"dataAllowedEvoked.txt\""}],";"," ",RowBox[
{"waveFormsExcitable",">>","\"waveFormsExcitable.txt\""}],";"}],"\[IndentingNewLine]",RowBox[
{RowBox[{"notallowedSolutions",">>","\"dataNotallowed.txt\""}],";",RowBox[{"waveFormsNotExcitable",">>","\"waveFormsNotExcitable.txt\""}],";"}],"\[IndentingNewLine]","\[IndentingNewLine]"}]}]],
"Input",CellChangeTimes->{3.542468772078072*^9,{3.542470387257688*^9,3.542470387735755*^9},{3.54247048776474*^9,3.5424705215867853`*^9},{3.542470563578599*^9,3.542470610759947*^9},{3.542470661004607*^9,3.542470662896473*^9},{3.542470723953775*^9,3.542470754182824*^9},3.542501844322741*^9,{3.542501901350546*^9,3.5425019221253853`*^9},3.5425094187982397`*^9,3.542509494958785*^9,{3.542543916504562*^9,3.5425440741833286`*^9},{3.5425441066575756`*^9,3.5425441316220713`*^9},3.5425442066185703`*^9,{3.542544246379546*^9,3.5425442690688148`*^9},{3.542544447110617*^9,3.542544483692275*^9},{3.5425472996511374`*^9,3.542547365749468*^9},{3.542547567015587*^9,3.542547570226445*^9},{3.5425478930051727`*^9,3.5425479039292645`*^9},{3.54254793738361*^9,3.542547945869458*^9},{3.5425481978306518`*^9,3.542548203126181*^9},{3.542737709563147*^9,3.542737731117104*^9},{3.542737932890369*^9,3.542737933592244*^9},{3.542738102011055*^9,3.542738105256566*^9},3.542738137055975*^9,3.542738198678076*^9,{3.5427382431667757`*^9,3.542738248493141*^9},{3.542738287077598*^9,3.542738288202374*^9},{3.5427383971980667`*^9,3.542738413549061*^9},{3.542738466166238*^9,3.542738481259453*^9},{3.542738525131095*^9,3.542738526479774*^9},{3.5427385610476913`*^9,3.5427386046576023`*^9},{3.542738759807838*^9,3.5427387892939587`*^9},3.54273930857906*^9,{3.5439335158513536`*^9,3.5439337645053043`*^9},{3.543933843463426*^9,3.543933854289846*^9},{3.5439339018641367`*^9,3.5439341145463943`*^9},{3.5439341842197943`*^9,3.543934197910592*^9},{3.6202714491672907`*^9,3.620271672034357*^9},{3.620271712355556*^9,3.6202717181296377`*^9},{3.620271897610652*^9,3.620271936854909*^9},{3.620272055210672*^9,3.6202722012715883`*^9},{3.6202722390864353`*^9,3.6202722403581448`*^9},{3.620272277029841*^9,3.620272313498201*^9},{3.6202723941228037`*^9,3.6202723972730913`*^9},3.620272556847019*^9,{3.6202728859856052`*^9,3.620272988398696*^9},{3.6202730569918747`*^9,3.6202730589169807`*^9},{3.6202730908097963`*^9,3.6202731305169573`*^9},{3.620273184561551*^9,3.620273230193671*^9},{3.6202732671922493`*^9,3.6202732892763243`*^9},{3.620273329386121*^9,3.620273428806539*^9},{3.6202735012546473`*^9,3.620273708314415*^9},{3.620273772008029*^9,3.6202738220382843`*^9},{3.62027386061854*^9,3.620274102973831*^9},{3.620274146650961*^9,3.620274297911413*^9},{3.620274480039236*^9,3.62027451121098*^9},{3.620274856673461*^9,3.620274859925913*^9},{3.620274938770008*^9,3.620274954164433*^9},{3.620274991688528*^9,3.620275005976315*^9},{3.620275047087886*^9,3.620275173350843*^9},{3.6202753293803*^9,3.620275376743471*^9},{3.620275408158474*^9,3.620275412683132*^9},{3.620275517172244*^9,3.620275528168524*^9},{3.6202773284438553`*^9,3.62027732981674*^9},{3.620277372981469*^9,3.6202774029846907`*^9},{3.620278757825514*^9,3.620278758941814*^9},{3.62027883639224*^9,3.62027884446903*^9},{3.620278962173231*^9,3.620278971563635*^9},{3.620280237818659*^9,3.6202803084879227`*^9},{3.6202804060580378`*^9,3.6202804068940887`*^9},{3.620280489281331*^9,3.620280499228992*^9},{3.620280599054407*^9,3.620280599186014*^9},{3.6202822980569553`*^9,3.620282299116868*^9},{3.6202826323493357`*^9,3.620282737666821*^9},{3.6202831358520603`*^9,3.620283136089116*^9},{3.620283379353149*^9,3.620283384758235*^9},{3.620283478750286*^9,3.620283491675147*^9},{3.620284020270759*^9,3.6202840580486307`*^9},{3.6202848805054293`*^9,3.6202849176742277`*^9},{3.620285009419915*^9,3.62028511706269*^9},{3.620290674770875*^9,3.6202907871322927`*^9},{3.620290832329544*^9,3.620290838244348*^9},{3.620290884081958*^9,3.6202908852411947`*^9},3.62035167278102*^9,3.6203517254367647`*^9,{3.6203518721250896`*^9,3.620351984624151*^9},{3.6203523319420347`*^9,3.620352344655365*^9},{3.6203527693120117`*^9,3.6203527749821863`*^9},{3.62035334583425*^9,3.62035336161981*^9},{3.620353409092223*^9,3.6203534157200603`*^9},{3.620353765221561*^9,3.62035376529842*^9},{3.6203542710536346`*^9,3.620354314168222*^9},{3.620359616158207*^9,3.6203596823473673`*^9},{3.6203598453997087`*^9,3.620359866703883*^9},{3.620359977246052*^9,3.620360046700371*^9},{3.620360099594473*^9,3.62036011980695*^9},{3.620360164066683*^9,3.62036017443419*^9},{3.62037334409935*^9,3.620373346398114*^9},{3.620376722484436*^9,3.62037677937094*^9},{3.620376828230755*^9,3.620376871190557*^9},{3.620377120783411*^9,3.620377159830327*^9},{3.6203772828979588`*^9,3.620377306290922*^9},{3.6203776435921373`*^9,3.62037765992978*^9},{3.6203795896650476`*^9,3.620379621372263*^9},{3.620381446845971*^9,3.620381553266059*^9},{3.620382303861223*^9,3.6203823416089087`*^9},{3.620382532888568*^9,3.620382546822345*^9},{3.620383294853034*^9,3.62038334218309*^9},{3.620383404209557*^9,3.620383456565722*^9},{3.620383550634651*^9,3.62038358057722*^9},{3.6203837665166893`*^9,3.620383778703875*^9},{3.620384141310048*^9,3.62038415336593*^9},{3.620629599183226*^9,3.620629717328251*^9},{3.620629774657947*^9,3.620629789659053*^9},3.620632403539468*^9,{3.620633099987935*^9,3.620633311723579*^9},{3.620633393045699*^9,3.620633507784539*^9},{3.620633628704577*^9,3.620633658304655*^9},{3.620634258293572*^9,3.620634260553956*^9},{3.6208764954797487`*^9,3.620876538031987*^9},{3.620876618548027*^9,3.6208766198259907`*^9},{3.6208767295117893`*^9,3.620876755450199*^9},{3.620876816441536*^9,3.620876816944044*^9},{3.6208768874818707`*^9,3.620876889104643*^9},{3.620876979268128*^9,3.6208769882356052`*^9},3.62087704865062*^9,{3.6208778028544703`*^9,3.6208778345365677`*^9},{3.620879011843356*^9,3.6208790443341303`*^9},{3.620881245786584*^9,3.6208812653947563`*^9},{3.62088131801143*^9,3.6208813276026697`*^9},{3.6208816041616297`*^9,3.620881702908801*^9},{3.620881801528273*^9,3.620881819344452*^9},{3.620881881968668*^9,3.620881882531578*^9},{3.620881949202539*^9,3.6208821798921947`*^9},{3.620882210317004*^9,3.620882235792243*^9},{3.620882632433939*^9,3.620882636858729*^9},{3.6208827166369953`*^9,3.6208827925784597`*^9},3.620882915881967*^9,{3.620883556044689*^9,3.620883575050679*^9},{3.620883858183766*^9,3.620883859027287*^9},{3.620883895302827*^9,3.6208839005309267`*^9},{3.620884172156013*^9,3.620884178266548*^9},{3.620884262546541*^9,3.62088427984892*^9},{3.62088656938737*^9,3.62088657891495*^9},{3.620886636301105*^9,3.62088666787665*^9},{3.6208868866613913`*^9,3.620886907535824*^9},{3.620909322753169*^9,3.620909349214952*^9},{3.6209123865427094`*^9,3.6209123871792994`*^9},{3.6209158813744173`*^9,3.62091588473803*^9},{3.6209785414259033`*^9,3.62097858187875*^9},{3.620978642726411*^9,3.620978657463879*^9},{3.62097872713682*^9,3.620978736119678*^9},{3.620978850005869*^9,3.6209789208678837`*^9},{3.620978952347314*^9,3.620978986171467*^9},{3.620979025953076*^9,3.620979026294869*^9},{3.620979057492242*^9,3.620979058932589*^9},{3.620980208597949*^9,3.620980266679237*^9},{3.620980319814295*^9,3.62098033819904*^9},{3.620980527950449*^9,3.620980544541465*^9},{3.620980612663015*^9,3.620980630398261*^9},{3.620980828042901*^9,3.620980858776236*^9},{3.620980979871849*^9,3.620980993366662*^9},3.620981312500807*^9,{3.620981450635119*^9,3.620981456116518*^9},{3.620985531776524*^9,3.620985562059825*^9},{3.620985802374845*^9,3.620985809701372*^9},{3.620986524405484*^9,3.6209867833855877`*^9},{3.620986814629223*^9,3.620986978878233*^9},3.620987031678178*^9,{3.620987065752811*^9,3.620987077497786*^9},{3.620987107725173*^9,3.6209871370877438`*^9},{3.620987177070517*^9,3.6209871858769283`*^9},{3.620987290201551*^9,3.620987350086443*^9},{3.62098740951128*^9,3.620987418981551*^9},{3.620987457780697*^9,3.620987484901897*^9},{3.620987535702186*^9,3.6209876173495617`*^9},{3.6209876655250263`*^9,3.6209877192812347`*^9},{3.620987798080659*^9,3.620987857454343*^9},3.620987898349654*^9,{3.620987954763809*^9,3.6209879553847723`*^9},{3.620988062007455*^9,3.620988065726091*^9},{3.620988493580688*^9,3.620988526270994*^9},{3.620988559180957*^9,3.6209886606211987`*^9},{3.6209887010480347`*^9,3.620988713275297*^9},{3.6209888628213053`*^9,3.620988951127551*^9},{3.6209925373143272`*^9,3.620992541616935*^9},{3.6209925775165367`*^9,3.6209925779770193`*^9},{3.620992608187112*^9,3.6209926085194674`*^9},{3.620992672702753*^9,3.620992677263751*^9},{3.620992732320518*^9,3.6209927448625793`*^9},{3.6209927935008373`*^9,3.620992795228341*^9},{3.620992827004019*^9,3.6209928297639847`*^9},{3.6209928705147676`*^9,3.620992927224908*^9},{3.620992985207507*^9,3.6209929868954067`*^9},{3.620995009779303*^9,3.620995039904427*^9},{3.620995849331113*^9,3.620995854681477*^9},{3.620995907275688*^9,3.620995931805023*^9},{3.62099626148256*^9,3.620996261678817*^9},{3.620996292457569*^9,3.620996330950683*^9},{3.620996367696151*^9,3.62099636909236*^9},{3.620996419856184*^9,3.620996490312901*^9},{3.620996952584234*^9,3.620996989562696*^9},{3.6220825504253807`*^9,3.622082550765708*^9},{3.6220826428156223`*^9,3.6220826940938*^9},{3.622083740618196*^9,3.6220837476734867`*^9},{3.6220838658460712`*^9,3.622083872076688*^9},{3.622084063252619*^9,3.6220840638419456`*^9},{3.622085209915538*^9,3.622085211927245*^9},{3.622090771898528*^9,3.622090822419726*^9},{3.622091797345943*^9,3.6220918158402777`*^9},{3.622102135041541*^9,3.622102135700913*^9},{3.622102189818725*^9,3.622102213038066*^9},{3.622103310336116*^9,3.6221033109189043`*^9},{3.62210349005728*^9,3.622103514555616*^9},{3.622207873688199*^9,3.622207876991602*^9},{3.6230477476236677`*^9,3.623047771065031*^9},{3.623047831737096*^9,3.623047867364923*^9},{3.623048169175543*^9,3.6230481832325153`*^9},{3.623048253863296*^9,3.623048325460843*^9},{3.623048670982191*^9,3.62304888733429*^9},{3.623048919105193*^9,3.623048946762587*^9},{3.62304904464285*^9,3.623049058746518*^9},3.6230494463830442`*^9,{3.623049733517541*^9,3.62304975967515*^9},3.62304979662344*^9,{3.623050312131596*^9,3.623050339163807*^9},{3.623050524378716*^9,3.623050616992559*^9},{3.623050664847333*^9,3.62305066868931*^9},{3.6230583728109407`*^9,3.623058400350136*^9},{3.623058494961218*^9,3.6230585256456013`*^9},{3.623058917339821*^9,3.623058917811741*^9},{3.623058966978882*^9,3.623058976805747*^9},{3.6230591056623697`*^9,3.623059127656857*^9},{3.623059175588385*^9,3.623059206009781*^9},{3.623059246929062*^9,3.6230592473104067`*^9},{3.623059478929653*^9,3.6230594793186207`*^9},{3.623059515277618*^9,3.6230595169549923`*^9},{3.623060300048202*^9,3.623060301157516*^9},{3.62306121435259*^9,3.623061233593096*^9},{3.6230613054755373`*^9,3.6230613240279922`*^9},{3.623061354455762*^9,3.623061368434184*^9},{3.623316623051736*^9,3.623316628024427*^9},{3.62331684038501*^9,3.623316854745398*^9},{3.623316918313032*^9,3.623316940455076*^9},{3.623316981966935*^9,3.6233169942147837`*^9},{3.6233172593087673`*^9,3.6233172604263973`*^9},{3.664095891091798*^9,3.664095953764456*^9},{3.6640959961583233`*^9,3.6640960350725822`*^9},{3.6640961583969*^9,3.664096165485488*^9},{3.664096252639449*^9,3.6640962626520767`*^9},{3.664096315082902*^9,3.664096327398739*^9},{3.6640963588991203`*^9,3.664096389285289*^9},{3.664096586224391*^9,3.6640965868977013`*^9},{3.664097169133974*^9,3.66409717125956*^9},{3.664097353245532*^9,3.664097353942193*^9},{3.664119272164351*^9,3.6641192874755*^9},3.664119326470989*^9,{3.667305185661009*^9,3.667305226923573*^9},3.6673053459123373`*^9,{3.6836857043938503`*^9,3.6836857089702883`*^9},{3.6836858018773108`*^9,3.6836858208504744`*^9},{3.683685977536563*^9,3.683685984890114*^9},{3.6836860373922443`*^9,3.683686052379346*^9},{3.6836860870334797`*^9,3.683686090832168*^9},{3.68368612497991*^9,3.683686158861867*^9},{3.683686193966621*^9,3.683686227454039*^9},{3.683686259320479*^9,3.6836862918228493`*^9},{3.6836863263670473`*^9,3.683686329853973*^9},{3.683686372366578*^9,3.6836863744367237`*^9},{3.683711819245017*^9,3.683711820259347*^9},{3.683711859599167*^9,3.6837119001724854`*^9},3.6837119849654207`*^9,{3.68371202485474*^9,3.6837120388283367`*^9},3.68371212328433*^9,3.6837122982022333`*^9,{3.683712339024437*^9,3.683712357793255*^9},{3.683712391151764*^9,3.683712459453115*^9},{3.683712493462138*^9,3.683712539337915*^9},{3.683712570985632*^9,3.6837125869193897`*^9},{3.683712619933876*^9,3.68371266654003*^9},{3.6837127003604507`*^9,3.6837127458547173`*^9},{3.683996818305523*^9,3.6839968699304*^9},3.683996914014098*^9,{3.683996977495614*^9,3.683997006167804*^9},3.6839970413375673`*^9,3.6839972358709106`*^9,3.683997308144658*^9,3.684106002101858*^9,{3.6842929901528873`*^9,3.684292995799696*^9},{3.684302729670527*^9,3.6843028085672483`*^9},{3.684303056309681*^9,3.684303056677143*^9},{3.6843031745236263`*^9,3.68430318875426*^9},{3.684303226385233*^9,3.684303226675961*^9},{3.684303334706601*^9,3.684303360810801*^9},{3.6843033958352423`*^9,3.684303396237599*^9},{3.6843034516475163`*^9,3.684303454841021*^9},{3.684303504152247*^9,3.684303504959581*^9},{3.684330660315465*^9,3.684330665394433*^9},{3.684330758435471*^9,3.684330770551762*^9},{3.684330804886744*^9,3.6843308124784718`*^9},{3.684330876425686*^9,3.684330969754777*^9},{3.684333125622335*^9,3.684333140245969*^9},{3.684334054972925*^9,3.6843341191056433`*^9},{3.684334153790593*^9,3.684334224485574*^9},{3.684334264469157*^9,3.6843345269696093`*^9},{3.684334612108426*^9,3.684334657356645*^9},{3.684335008756846*^9,3.684335011150941*^9},{3.684336494744319*^9,3.6843364967222*^9},{3.684336531136921*^9,3.6843365617920723`*^9},{3.684336943590459*^9,3.684336950719988*^9},{3.684337935714139*^9,3.684337940821206*^9},{3.684338109113041*^9,3.6843381544939632`*^9},3.684338257456328*^9,{3.6843391423241262`*^9,3.6843392620807047`*^9},{3.684339543817739*^9,3.6843396019225883`*^9},{3.684389908320787*^9,3.684389916123611*^9},3.686055433356213*^9,{3.686189048870695*^9,3.686189055126107*^9},{3.6861891331653843`*^9,3.6861891604378557`*^9},{3.68618920877278*^9,3.686189210842894*^9},{3.686189504599629*^9,3.6861895051346684`*^9},{3.686195252321804*^9,3.686195253836193*^9},{3.686195295183313*^9,3.686195301845195*^9},{3.6861985553108788`*^9,3.6861985973697844`*^9},{3.686198633083252*^9,3.6861986967677*^9},{3.6861989042380857`*^9,3.6861989042980843`*^9},{3.6861990836579657`*^9,3.686199084728765*^9},{3.68619935114163*^9,3.686199363147882*^9},{3.686199794837493*^9,3.6861998114437323`*^9},{3.686202876075185*^9,3.686202944997396*^9},{3.686204502718878*^9,3.6862045054373827`*^9},3.686214230470736*^9,{3.686540369885583*^9,3.6865404005743237`*^9},{3.6866328100765133`*^9,3.686632893057768*^9},3.6866345561919327`*^9,{3.686797559079276*^9,3.6867975600078907`*^9},{3.713152716033843*^9,3.713152731102274*^9},3.7131529653760433`*^9,{3.713153435697785*^9,3.713153449486287*^9},{3.71315568900665*^9,3.713155704898877*^9},{3.713155974323751*^9,3.71315608209673*^9},{3.713157671932859*^9,3.713157673129533*^9},3.7133329887482357`*^9,{3.7133330493881598`*^9,3.713333050254521*^9},{3.732107088641161*^9,3.732107149854986*^9},{3.7321071972692833`*^9,3.732107270308707*^9},{3.732107310740384*^9,3.732107335131633*^9},3.732107565013196*^9,{3.738520533192869*^9,3.73852053327565*^9}},
ExpressionUUID->"1163e781-2e6c-4b5f-8861-83c583fccd4c"]},{1}],ExpressionUUID->"7c0950b8-07d9-4844-b7c8-fd99789d5f7a"],Cell[
CellGroupData[
{Cell[
"\<Waveforms HH Equations\>","Section",CellChangeTimes->{{3.7131564446820583`*^9,3.713156454204493*^9},{3.7133323851679897`*^9,3.713332396993647*^9},3.732107473496606*^9},
ExpressionUUID->"bcd4144c-9607-4a7d-b737-576c8c9ef5b6"],Cell[
BoxData[RowBox[{RowBox[
{"SetDirectory","[",RowBox[{"NotebookDirectory","[","]"}],"]"}],";",RowBox[{RowBox[
{"FileNames","[","]"}],"//","TableForm"}]}]],"Input",CellChangeTimes->{{3.684334948946391*^9,3.684334971672577*^9},{3.684335104839964*^9,3.684335198519266*^9},{3.684335237359984*^9,3.684335308883058*^9},{3.6843355352148943`*^9,3.6843355874033747`*^9},{3.68433567397793*^9,3.684335761197178*^9},{3.684335858162735*^9,3.684335872938388*^9},{3.6843382852861853`*^9,3.684338470101778*^9},{3.684389941866206*^9,3.684389944576454*^9},{3.684390100427952*^9,3.684390108737999*^9},{3.684390309160647*^9,3.684390357739579*^9},3.6843906327489653`*^9,{3.684390820051765*^9,3.684390826283306*^9},3.684391186042304*^9,{3.684391481056122*^9,3.684391488029114*^9},{3.684391694224106*^9,3.684391733371789*^9},{3.684392134401952*^9,3.684392136701256*^9},3.684392174009961*^9,{3.6870863394391937`*^9,3.6870863398354797`*^9},{3.6870864533446417`*^9,3.687086493841325*^9},{3.691299750768094*^9,3.691299759669756*^9},{3.713341563885543*^9,3.713341646536416*^9},{3.713341694467186*^9,3.713341723928632*^9},{3.713342000453814*^9,3.7133420173388977`*^9},{3.7133420481561737`*^9,3.7133420490959663`*^9}},
CellLabel->"In[5]:=",ExpressionUUID->"8ae7f9be-b586-4027-ab17-2bccb0bffab5"],Cell[
BoxData[
{RowBox[{RowBox[{"waveFormsExcitable"," ","=",RowBox[{RowBox[{"ReadList","[","\"waveFormsExcitable.txt\"","]"}],"[",RowBox[
{"[","1","]"}],"]"}]}],";"}],"\[IndentingNewLine]",RowBox[{RowBox[{"waveFormsPaceMakers","="," ",RowBox[
{RowBox[{"ReadList","[","\"waveFormsPaceMakers.txt\"","]"}],"[",RowBox[{"[","1","]"}],"]"}]}],";"}],"\[IndentingNewLine]",RowBox[
{RowBox[{"waveFormsNotExcitable","="," ",RowBox[{RowBox[{"ReadList","[","\"waveFormsNotExcitable.txt\"","]"}],"[",RowBox[
{"[","1","]"}],"]"}]}],";"," ",RowBox[{"Print","[",RowBox[{RowBox[{RowBox[{"Length","[","waveFormsExcitable","]"}],"\" excitable, \""}],","," ",RowBox[
{RowBox[{"Length","[","waveFormsNotExcitable","]"}],"\" not excitable, \""}],","," ",RowBox[
{RowBox[{"Length","[","waveFormsPaceMakers","]"}],"\" pacemakers\""}]}],"]"}]}],"\[IndentingNewLine]"}],
"Input",CellChangeTimes->{{3.684334948946391*^9,3.684334971672577*^9},{3.684335104839964*^9,3.684335198519266*^9},{3.684335237359984*^9,3.684335308883058*^9},{3.6843355352148943`*^9,3.6843355874033747`*^9},{3.68433567397793*^9,3.684335761197178*^9},{3.684335858162735*^9,3.684335872938388*^9},{3.6843382852861853`*^9,3.684338470101778*^9},{3.684389941866206*^9,3.684389944576454*^9},{3.684390100427952*^9,3.684390108737999*^9},{3.684390309160647*^9,3.684390357739579*^9},3.6843906327489653`*^9,{3.684390820051765*^9,3.684390826283306*^9},3.684391186042304*^9,{3.684391481056122*^9,3.684391488029114*^9},{3.684391694224106*^9,3.684391733371789*^9},{3.684392134401952*^9,3.684392136701256*^9},3.684392174009961*^9,{3.6870863394391937`*^9,3.6870863398354797`*^9},{3.6870864533446417`*^9,3.687086493841325*^9},{3.691299750768094*^9,3.691299759669756*^9},{3.691299803986539*^9,3.691299831062545*^9},{3.7131536668889103`*^9,3.713153688846857*^9}},
CellLabel->"In[6]:=",ExpressionUUID->"e69af970-ff0e-44f3-9925-353a3259ad8f"],Cell[
BoxData[
RowBox[{RowBox[{"(*",RowBox[{RowBox[{"here"," ","several"," ","samples"," ","from"," ","each"}],","," ",RowBox[
{"but"," ","can"," ","show"," ","any"," ","number"," ","or"," ","all"}]}],"*)"}],"\[IndentingNewLine]",RowBox[
{RowBox[{"GraphicsGrid","[",RowBox[{"{","\[IndentingNewLine]",RowBox[{"{","\[IndentingNewLine]",RowBox[
{RowBox[{"ListPlot","[",RowBox[{RowBox[{"RandomSample","[",RowBox[{"waveFormsExcitable",","," ","100"}],"]"}],",",RowBox[
{"Joined","\[Rule]",RowBox[{"{",RowBox[{"True",",","False"}],"}"}]}],",",RowBox[{"PlotRange","\[Rule]",RowBox[
{"{",RowBox[{"All",","," ",RowBox[{"{",RowBox[{RowBox[{"-","30"}],","," ","120"}],"}"}]}],"}"}]}],","," ",RowBox[
{"PlotStyle","\[Rule]","colorExc"}],","," ",RowBox[{"Ticks","\[Rule]",RowBox[{"{",RowBox[
{RowBox[{"{",RowBox[{"500",","," ","1500"}],"}"}],","," ",RowBox[{"{",RowBox[{"0",","," ","60",","," ","120"}],"}"}]}],"}"}]}]}],"]"}],",","\[IndentingNewLine]",RowBox[
{"ListPlot","[",RowBox[{RowBox[{"RandomSample","[",RowBox[{"waveFormsNotExcitable",","," ","100"}],"]"}],",",RowBox[
{"Joined","\[Rule]",RowBox[{"{",RowBox[{"True",",","False"}],"}"}]}],",",RowBox[{"PlotRange","\[Rule]",RowBox[
{"{",RowBox[{"All",","," ",RowBox[{"{",RowBox[{RowBox[{"-","30"}],","," ","120"}],"}"}]}],"}"}]}],","," ",RowBox[
{"PlotStyle","\[Rule]",RowBox[{"{","colorNexc","}"}]}],","," ",RowBox[{"Ticks","\[Rule]",RowBox[
{"{",RowBox[{RowBox[{"{",RowBox[{"500",","," ","1500"}],"}"}],","," ",RowBox[{"{",RowBox[
{"0",","," ","60",","," ","120"}],"}"}]}],"}"}]}]}],"]"}],",","\[IndentingNewLine]",RowBox[
{"ListPlot","[",RowBox[{RowBox[{"RandomSample","[",RowBox[{"waveFormsPaceMakers",","," ","100"}],"]"}],",",RowBox[
{"Joined","\[Rule]",RowBox[{"{",RowBox[{"True",",","False"}],"}"}]}],",",RowBox[{"PlotRange","\[Rule]",RowBox[
{"{",RowBox[{"All",","," ",RowBox[{"{",RowBox[{RowBox[{"-","30"}],","," ","120"}],"}"}]}],"}"}]}],","," ",RowBox[
{"PlotStyle","\[Rule]",RowBox[{"{","colorOsc","}"}]}],","," ",RowBox[{"Ticks","\[Rule]",RowBox[
{"{",RowBox[{RowBox[{"{",RowBox[{"500",","," ","1500"}],"}"}],","," ",RowBox[{"{",RowBox[
{"0",","," ","60",","," ","120"}],"}"}]}],"}"}]}]}],"]"}]}],"\[IndentingNewLine]","}"}],"\[IndentingNewLine]","}"}],"]"}],"\[IndentingNewLine]"}]}]],
"Input",CellChangeTimes->{{3.684334948946391*^9,3.684334971672577*^9},{3.684335104839964*^9,3.684335198519266*^9},{3.684335237359984*^9,3.684335308883058*^9},{3.6843355352148943`*^9,3.6843355874033747`*^9},{3.68433567397793*^9,3.684335761197178*^9},{3.684335858162735*^9,3.684335872938388*^9},{3.6843382852861853`*^9,3.684338470101778*^9},{3.684389941866206*^9,3.684389944576454*^9},{3.684390100427952*^9,3.684390108737999*^9},{3.684390309160647*^9,3.684390357739579*^9},3.6843906327489653`*^9,{3.684390820051765*^9,3.684390826283306*^9},3.684391186042304*^9,{3.684391481056122*^9,3.684391488029114*^9},{3.684391694224106*^9,3.684391733371789*^9},{3.684392134401952*^9,3.684392136701256*^9},{3.684392174009961*^9,3.684392226963099*^9},{3.684396927864174*^9,3.684396927935124*^9},{3.684979969900015*^9,3.6849799756481943`*^9},{3.6860613923719053`*^9,3.6860613936556883`*^9},{3.686188679888514*^9,3.686188728634488*^9},{3.6861893989928493`*^9,3.686189442661214*^9},{3.6861897054249563`*^9,3.686189836094665*^9},{3.686194080649531*^9,3.6861943796765213`*^9},{3.686194437573495*^9,3.686194530728962*^9},{3.686194568440229*^9,3.686194635149336*^9},{3.686194670097664*^9,3.686194784366507*^9},{3.686194844997156*^9,3.6861948822520533`*^9},{3.686195038956007*^9,3.6861950422726183`*^9},{3.6862189360461283`*^9,3.686219001762865*^9},3.687086543368808*^9,{3.68708662696301*^9,3.687086627488967*^9},{3.691299893018527*^9,3.691299898777585*^9},{3.691299978262409*^9,3.691299985114935*^9},{3.713156202033695*^9,3.713156207445334*^9},{3.7131657157192993`*^9,3.713165733986065*^9},{3.71316577928061*^9,3.7131658737047*^9},{3.7133417515919857`*^9,3.713341785498206*^9}},
CellLabel->"In[9]:=",ExpressionUUID->"fbaba52f-5288-470e-a682-349599a002b6"],Cell[
BoxData[
RowBox[{"GraphicsGrid","[",RowBox[{"{","\[IndentingNewLine]",RowBox[{"{","\[IndentingNewLine]",RowBox[
{RowBox[{"ListPlot","[",RowBox[{RowBox[{"RandomSample","[",RowBox[{"waveFormsExcitable",","," ","1"}],"]"}],",",RowBox[
{"Joined","\[Rule]",RowBox[{"{",RowBox[{"True",",","False"}],"}"}]}],",",RowBox[{"PlotRange","\[Rule]",RowBox[
{"{",RowBox[{"All",","," ",RowBox[{"{",RowBox[{RowBox[{"-","30"}],","," ","120"}],"}"}]}],"}"}]}],","," ",RowBox[
{"PlotStyle","\[Rule]",RowBox[{"{","colorExc","}"}]}],","," ",RowBox[{"Axes","->","False"}]}],"]"}],",","\[IndentingNewLine]",RowBox[
{"ListPlot","[",RowBox[{RowBox[{"RandomSample","[",RowBox[{"waveFormsNotExcitable",","," ","1"}],"]"}],",",RowBox[
{"Joined","\[Rule]",RowBox[{"{",RowBox[{"True",",","False"}],"}"}]}],",",RowBox[{"PlotRange","\[Rule]",RowBox[
{"{",RowBox[{"All",","," ",RowBox[{"{",RowBox[{RowBox[{"-","30"}],","," ","120"}],"}"}]}],"}"}]}],","," ",RowBox[
{"PlotStyle","\[Rule]",RowBox[{"{","colorNexc","}"}]}],","," ",RowBox[{"Axes","->","False"}]}],"]"}],",","\[IndentingNewLine]",RowBox[
{"ListPlot","[",RowBox[{RowBox[{"RandomSample","[",RowBox[{"waveFormsPaceMakers",","," ","1"}],"]"}],",",RowBox[
{"Joined","\[Rule]",RowBox[{"{",RowBox[{"True",",","False"}],"}"}]}],",",RowBox[{"PlotRange","\[Rule]",RowBox[
{"{",RowBox[{"All",","," ",RowBox[{"{",RowBox[{RowBox[{"-","30"}],","," ","120"}],"}"}]}],"}"}]}],","," ",RowBox[
{"PlotStyle","\[Rule]",RowBox[{"{","colorOsc","}"}]}],","," ",RowBox[{"Axes","->","False"}]}],"]"}]}],"\[IndentingNewLine]","}"}],"\[IndentingNewLine]","}"}],"]"}]],
"Input",CellChangeTimes->{{3.684334948946391*^9,3.684334971672577*^9},{3.684335104839964*^9,3.684335198519266*^9},{3.684335237359984*^9,3.684335308883058*^9},{3.6843355352148943`*^9,3.6843355874033747`*^9},{3.68433567397793*^9,3.684335761197178*^9},{3.684335858162735*^9,3.684335872938388*^9},{3.6843382852861853`*^9,3.684338470101778*^9},{3.684389941866206*^9,3.684389944576454*^9},{3.684390100427952*^9,3.684390108737999*^9},{3.684390309160647*^9,3.684390357739579*^9},3.6843906327489653`*^9,{3.684390820051765*^9,3.684390826283306*^9},3.684391186042304*^9,{3.684391481056122*^9,3.684391488029114*^9},{3.684391694224106*^9,3.684391733371789*^9},{3.684392134401952*^9,3.684392136701256*^9},{3.684392174009961*^9,3.684392226963099*^9},{3.684396927864174*^9,3.684396927935124*^9},{3.684979969900015*^9,3.6849799756481943`*^9},{3.6860613923719053`*^9,3.6860613936556883`*^9},{3.686188679888514*^9,3.686188728634488*^9},{3.6861893989928493`*^9,3.686189442661214*^9},{3.6861897054249563`*^9,3.686189836094665*^9},{3.686194080649531*^9,3.6861943796765213`*^9},{3.686194437573495*^9,3.686194530728962*^9},{3.686194568440229*^9,3.686194635149336*^9},{3.686194670097664*^9,3.686194784366507*^9},{3.686194844997156*^9,3.6861948822520533`*^9},{3.686195038956007*^9,3.6861950422726183`*^9},{3.6862189360461283`*^9,3.686219001762865*^9},3.687086543368808*^9,{3.68708662696301*^9,3.687086627488967*^9},{3.691299893018527*^9,3.691299898777585*^9},{3.691299978262409*^9,3.691299985114935*^9},{3.713156202033695*^9,3.713156207445334*^9},{3.7131657157192993`*^9,3.713165733986065*^9},{3.71316577928061*^9,3.7131658737047*^9},{3.713326533158401*^9,3.713326551531557*^9},{3.713341878899596*^9,3.713341907542592*^9}},
CellLabel->"In[10]:=",ExpressionUUID->"4930b5f3-9552-41bd-9b28-89b43c7088bd"]},{1}],
ExpressionUUID->"14db765e-36cf-49cf-ae6f-932d9d22f28d"],Cell[
CellGroupData[{Cell[
"\<Resting potential histograms\>","Section",CellChangeTimes->{{3.713156517739863*^9,3.7131565265867043`*^9}},
ExpressionUUID->"e01c2a1d-fedf-4ef8-b638-c5b48e593536"],Cell[
BoxData[RowBox[{RowBox[
{"(*",RowBox[{"Vm",",",RowBox[{"rest"," ","histograms"}],","," ",RowBox[{"fitted"," ","NormalDistribution"}],","," ",RowBox[
{"for"," ","excitable"," ","and"," ","not"," ","excitable"}]}]," ","*)"}],"\[IndentingNewLine]",RowBox[
{RowBox[{RowBox[{"data1"," ","="," ",RowBox[{"Table","[",RowBox[{RowBox[{"Mean","[",RowBox[
{"waveFormsExcitable","[",RowBox[{"[",RowBox[{"i",","," ",RowBox[{"900",";;","950"}]}],"]"}],"]"}]," ","]"}],","," ",RowBox[
{"{",RowBox[{"i",","," ","1",","," ",RowBox[{"Length","[","waveFormsExcitable","]"}]}],"}"}]}],"]"}]}],";"}],"\[IndentingNewLine]",RowBox[
{RowBox[{"data2"," ","="," ",RowBox[{"Table","[",RowBox[{RowBox[{"Mean","[",RowBox[
{"waveFormsNotExcitable","[",RowBox[{"[",RowBox[{"i",","," ",RowBox[{"900",";;","950"}]}],"]"}],"]"}]," ","]"}],","," ",RowBox[
{"{",RowBox[{"i",","," ","1",","," ",RowBox[{"Length","[","waveFormsNotExcitable","]"}]}],"}"}]}],"]"}]}],";"}],"\[IndentingNewLine]",RowBox[
{RowBox[{"dist1","=",RowBox[{"EstimatedDistribution","[",RowBox[{"data1",",",RowBox[
{"NormalDistribution","[",RowBox[{StyleBox["\[Mu]","TR"],",",StyleBox["\[Sigma]",
"TR"]}],"]"}]}],"]"}]}],";"}],"\[IndentingNewLine]",RowBox[{RowBox[{"dist2","=",RowBox[
{"EstimatedDistribution","[",RowBox[{"data2",",",RowBox[{"NormalDistribution","[",RowBox[
{StyleBox["\[Mu]","TR"],",",StyleBox["\[Sigma]","TR"]}],"]"}]}],"]"}]}],";"}],"\[IndentingNewLine]","\[IndentingNewLine]",RowBox[
{"Show","[","\[IndentingNewLine]",RowBox[{RowBox[{"Histogram","[",RowBox[{RowBox[
{"{",RowBox[{"data1",","," ","data2"}],"}"}],",",RowBox[{"{","0.25","}"}],","," ","\"ProbabilityDensity\"",","," ",RowBox[
{"ChartStyle","\[Rule]",RowBox[{"{",RowBox[{"colorExc",",","colorNexc"}],"}"}]}],","," ",RowBox[
{"ImageSize","\[Rule]","Medium"}],","," ",RowBox[{"Frame","\[Rule]","True"}],","," ",RowBox[
{"FrameLabel","\[Rule]",RowBox[{"{",RowBox[{"\"\:f7c1\:f7c9\:f7c8SubscriptBox[\:f7c9V\:f7c0, \:f7c9m\\ RESTING\:f7c0]\:f7c0\"",","," ","\"PDF\""}],"}"}]}],","," ",RowBox[
{"FrameStyle","\[Rule]",RowBox[{"{",RowBox[{RowBox[{"{",RowBox[{RowBox[{"FontFamily","\[Rule]","\"Times\""}],","," ","20"}],"}"}],","," ",RowBox[
{"{",RowBox[{RowBox[{"FontFamily","\[Rule]","\"Times\""}],","," ","20"}],"}"}]}],"}"}]}]}],"]"}],",","\[IndentingNewLine]",RowBox[
{"Plot","[",RowBox[{RowBox[{"PDF","[",RowBox[{"dist1",",","x"}],"]"}],",",RowBox[
{"{",RowBox[{"x",",",RowBox[{"-","5"}],",","5"}],"}"}],","," ",RowBox[{"PlotStyle","\[Rule]","colorExc"}]}],"]"}],",","\[IndentingNewLine]",RowBox[
{"Plot","[",RowBox[{RowBox[{"PDF","[",RowBox[{"dist2",",","x"}],"]"}],",",RowBox[
{"{",RowBox[{"x",",",RowBox[{"-","5"}],",","5"}],"}"}],","," ",RowBox[{"PlotStyle","\[Rule]","colorNexc"}]}],"]"}]}],"\[IndentingNewLine]","]"}],"\[IndentingNewLine]","\[IndentingNewLine]","dist1","\[IndentingNewLine]","dist2","\[IndentingNewLine]"}]}]],
"Input",CellChangeTimes->{{3.684334948946391*^9,3.684334971672577*^9},{3.684335104839964*^9,3.684335198519266*^9},{3.684335237359984*^9,3.684335308883058*^9},{3.6843355352148943`*^9,3.6843355874033747`*^9},{3.68433567397793*^9,3.684335761197178*^9},{3.684335858162735*^9,3.684335872938388*^9},{3.6843382852861853`*^9,3.684338470101778*^9},{3.684389941866206*^9,3.684389944576454*^9},{3.684390100427952*^9,3.684390108737999*^9},{3.684390309160647*^9,3.684390357739579*^9},3.6843906327489653`*^9,{3.684390820051765*^9,3.684390826283306*^9},3.684391186042304*^9,{3.684391481056122*^9,3.684391488029114*^9},{3.684391694224106*^9,3.684391733371789*^9},{3.684392134401952*^9,3.684392136701256*^9},{3.684392174009961*^9,3.684392226963099*^9},{3.684396927864174*^9,3.684396927935124*^9},{3.684979969900015*^9,3.6849799756481943`*^9},{3.6860613923719053`*^9,3.6860613936556883`*^9},{3.686188679888514*^9,3.686188728634488*^9},{3.6861893989928493`*^9,3.686189442661214*^9},{3.6861897054249563`*^9,3.686189836094665*^9},{3.686194080649531*^9,3.6861943796765213`*^9},{3.686194437573495*^9,3.686194530728962*^9},{3.686194568440229*^9,3.686194635149336*^9},{3.686194670097664*^9,3.686194784366507*^9},{3.686194844997156*^9,3.6861948822520533`*^9},{3.686195038956007*^9,3.6861950422726183`*^9},{3.6862189360461283`*^9,3.686219001762865*^9},3.687086543368808*^9,{3.687086660240098*^9,3.687086855556097*^9},{3.687086888036936*^9,3.687086969362567*^9},3.687087032042914*^9,{3.713153870001009*^9,3.713153872130987*^9},{3.71316569057078*^9,3.713165700755166*^9},{3.713350047041119*^9,3.713350091892808*^9}},
CellLabel->"In[11]:=",ExpressionUUID->"e4f83bfc-0e05-489d-ba45-03ce3cd47c64"]},{1}],
ExpressionUUID->"93c27b93-bad9-4427-aaff-60f4de500610"],Cell[
CellGroupData[{Cell[
"\<Mean Vectors and Sample Polar Plot\>","Section",CellChangeTimes->{{3.686123279358382*^9,3.686123297002919*^9},{3.713156826068161*^9,3.7131568434451637`*^9},3.7131574029660273`*^9,3.713159905894031*^9,{3.713166882241346*^9,3.713166888906176*^9}},
ExpressionUUID->"a8392f57-e2e0-4df9-b26f-26519de348cb"],Cell[
BoxData[RowBox[{"\[IndentingNewLine]",RowBox[
{RowBox[{RowBox[{"SetDirectory","[",RowBox[{"NotebookDirectory","[","]"}],"]"}],";"," ",RowBox[
{RowBox[{"FileNames","[","]"}],"//","TableForm"}]}],"\[IndentingNewLine]",RowBox[
{RowBox[{"<<","\"dataAllowedEvoked.txt\""}],";"}],"\[IndentingNewLine]",RowBox[{RowBox[
{"dataAllowedEvoked"," ","="," ",RowBox[{"%","[",RowBox[{"[",RowBox[{"All",","," ",RowBox[
{"2",";;","11"}]}],"]"}],"]"}]}],";"}],"\[IndentingNewLine]",RowBox[{RowBox[{"<<","\"dataAllowedPacing.txt\""}],";"}],"\[IndentingNewLine]",RowBox[
{RowBox[{"dataAllowedPacing"," ","="," ",RowBox[{"%","[",RowBox[{"[",RowBox[{"All",","," ",RowBox[
{"2",";;","11"}]}],"]"}],"]"}]}],";"}],"\[IndentingNewLine]",RowBox[{RowBox[{"<<","\"dataNotallowed.txt\""}],";"}],"\[IndentingNewLine]",RowBox[
{RowBox[{"dataNotallowed"," ","="," ",RowBox[{"%","[",RowBox[{"[",RowBox[{"All",","," ",RowBox[
{"2",";;","11"}]}],"]"}],"]"}]}],";"}],"\[IndentingNewLine]","\[IndentingNewLine]",RowBox[
{RowBox[{"labels"," ","="," ",RowBox[{"{"," ",RowBox[{"\"<\:f7c1\:f7c9\:f7c8SubscriptBox[\:f7c9\[Alpha]\:f7c0, \:f7c9n\:f7c0]\:f7c0> \"",",","\"<\:f7c1\:f7c9\:f7c8SubscriptBox[\:f7c9\[Beta]\:f7c0, \:f7c9n\:f7c0]\:f7c0>\"",","," ","\"<\:f7c1\:f7c9\:f7c8SubscriptBox[\:f7c9\[Alpha]\:f7c0, \:f7c9m\:f7c0]\:f7c0>\"",",","\"<\:f7c1\:f7c9\:f7c8SubscriptBox[\:f7c9\[Beta]\:f7c0, \:f7c9m\:f7c0]\:f7c0>\"",","," ","\"<\:f7c1\:f7c9\:f7c8SubscriptBox[\:f7c9\[Alpha]\:f7c0, \:f7c9h\:f7c0]\:f7c0>\"",","," ","\" <\:f7c1\:f7c9\:f7c8SubscriptBox[\:f7c9\[Beta]\:f7c0, \:f7c9h\:f7c0]\:f7c0> \"",","," ","\"<\:f7c1\:f7c9\:f7c8SubscriptBox[\:f7c9C\:f7c0, \:f7c9m\:f7c0]\:f7c0>\"",","," ","\"<\:f7c1\:f7c9\:f7c8SubscriptBox[OverscriptBox[\:f7c9g\:f7c0, \:f7c9_\:f7c0], \:f7c9Leak\:f7c0]\:f7c0>\"",","," ","\"<\:f7c1\:f7c9\:f7c8SubscriptBox[OverscriptBox[\:f7c9g\:f7c0, \:f7c9_\:f7c0], \:f7c9K\:f7c0]\:f7c0>\"",",","\"<\:f7c1\:f7c9\:f7c8SubscriptBox[OverscriptBox[\:f7c9g\:f7c0, \:f7c9_\:f7c0], \:f7c9Na\:f7c0]\:f7c0>\""}],"}"}]}],";"}],"\[IndentingNewLine]",RowBox[
{RowBox[{"ticks"," ","="," ",RowBox[{"Transpose","[",RowBox[{"{",RowBox[{RowBox[{"Table","[",RowBox[
{RowBox[{"i"," ",RowBox[{"Pi","/","10"}]}],","," ",RowBox[{"{",RowBox[{"i",","," ","0",","," ","18",","," ","2"}],"}"}]}],"]"}],","," ","labels"}],"}"}],"]"}]}],";"}],"\[IndentingNewLine]",RowBox[
{RowBox[{"parameterMarksSize"," ","="," ","40"}],";"}],"\[IndentingNewLine]",RowBox[
{"polar"," ","="," ",RowBox[{"ListPolarPlot","[","\[IndentingNewLine]",RowBox[{RowBox[
{"{","\[IndentingNewLine]",RowBox[{RowBox[{"Mean","[","dataNotallowed","]"}],",","\[IndentingNewLine]",RowBox[
{RowBox[{"Mean","[","dataNotallowed","]"}],"-",RowBox[{"StandardDeviation","[","dataNotallowed","]"}]}],","," ","\[IndentingNewLine]",RowBox[
{RowBox[{"Mean","[","dataNotallowed","]"}],"+",RowBox[{"StandardDeviation","[","dataNotallowed","]"}]}],","," ","\[IndentingNewLine]","\[IndentingNewLine]",RowBox[
{"Mean","[","dataAllowedEvoked","]"}],","," ","\[IndentingNewLine]",RowBox[{RowBox[
{"Mean","[","dataAllowedEvoked","]"}],"-",RowBox[{"StandardDeviation","[","dataAllowedEvoked","]"}]}],",","\[IndentingNewLine]",RowBox[
{RowBox[{"Mean","[","dataAllowedEvoked","]"}],"+",RowBox[{"StandardDeviation","[","dataAllowedEvoked","]"}]}],",","\[IndentingNewLine]","\[IndentingNewLine]",RowBox[
{"Mean","[","dataAllowedPacing","]"}],",","\[IndentingNewLine]",RowBox[{RowBox[{"Mean","[","dataAllowedPacing","]"}],"-",RowBox[
{"StandardDeviation","[","dataAllowedPacing","]"}]}],",","\[IndentingNewLine]",RowBox[
{RowBox[{"Mean","[","dataAllowedPacing","]"}],"+",RowBox[{"StandardDeviation","[","dataAllowedPacing","]"}]}]}],"\[IndentingNewLine]","}"}],",","\[IndentingNewLine]","\[IndentingNewLine]",RowBox[
{"Joined","\[Rule]","True"}],",",RowBox[{"PolarAxes","\[Rule]",RowBox[{"{",RowBox[
{"True",","," ","True"}],"}"}]}],",","\[IndentingNewLine]",RowBox[{"PolarAxesOrigin","\[Rule]",RowBox[
{"{",RowBox[{RowBox[{"2"," ","Pi"}],",","1.3"}],"}"}]}],",",RowBox[{"PolarTicks","\[Rule]",RowBox[
{"{",RowBox[{"ticks",",",RowBox[{"{"," ",RowBox[{"0",",","1"}],"}"}]}],"}"}]}],",","\[IndentingNewLine]",RowBox[
{"PlotRange","\[Rule]","All"}],","," ","\[IndentingNewLine]",RowBox[{"PlotStyle","\[Rule]",RowBox[
{"{","\[IndentingNewLine]",RowBox[{RowBox[{"{",RowBox[{"colorNexc",","," ",RowBox[
{"Thickness","[","0.005","]"}],",",RowBox[{"PointSize","[","Tiny","]"}]}],"}"}],",","\[IndentingNewLine]",RowBox[
{"{",RowBox[{"colorNexc",","," ",RowBox[{"Thickness","[","0.002","]"}],",",RowBox[
{"PointSize","[","Tiny","]"}],","," ","Dashed"}],"}"}],",","\[IndentingNewLine]",RowBox[
{"{",RowBox[{"colorNexc",","," ",RowBox[{"Thickness","[","0.002","]"}],",",RowBox[
{"PointSize","[","Tiny","]"}],","," ","Dashed"}],"}"}],",","\[IndentingNewLine]","\[IndentingNewLine]",RowBox[
{"{",RowBox[{"colorExc",","," ",RowBox[{"Thickness","[","0.005","]"}],",",RowBox[
{"PointSize","[","Tiny","]"}]}],"}"}],",","\[IndentingNewLine]",RowBox[{"{",RowBox[
{"colorExc",","," ",RowBox[{"Thickness","[","0.002","]"}],",",RowBox[{"PointSize","[","Tiny","]"}],","," ","Dashed"}],"}"}],","," ","\[IndentingNewLine]",RowBox[
{"{",RowBox[{"colorExc",","," ",RowBox[{"Thickness","[","0.002","]"}],",",RowBox[
{"PointSize","[","Tiny","]"}],","," ","Dashed"}],"}"}],","," ","\[IndentingNewLine]"," ","\[IndentingNewLine]",RowBox[
{"{",RowBox[{"colorOsc",","," ",RowBox[{"Thickness","[","0.005","]"}],",",RowBox[
{"PointSize","[","Small","]"}]}],"}"}],",","\[IndentingNewLine]",RowBox[{"{",RowBox[
{"colorOsc",","," ",RowBox[{"Thickness","[","0.002","]"}],",",RowBox[{"PointSize","[","Small","]"}],","," ","Dashed"}],"}"}],",","\[IndentingNewLine]",RowBox[
{"{",RowBox[{"colorOsc",","," ",RowBox[{"Thickness","[","0.002","]"}],",",RowBox[
{"PointSize","[","Small","]"}],","," ","Dashed"}],"}"}]}],"\[IndentingNewLine]","}"}]}],",","\[IndentingNewLine]",RowBox[
{"TicksStyle","\[Rule]",RowBox[{"Directive","["," ",RowBox[{"{",RowBox[{"Black",","," ",RowBox[
{"FontFamily","\[Rule]","\"Times\""}],","," ","parameterMarksSize"}],"}"}],"]"}]}]}],"\[IndentingNewLine]","]"}]}],"\[IndentingNewLine]","\[IndentingNewLine]",RowBox[
{"Do","[","\[IndentingNewLine]",RowBox[{RowBox[{RowBox[{"polar1"," ","="," ",RowBox[
{"ListPolarPlot","[","\[IndentingNewLine]",RowBox[{RowBox[{"{","\[IndentingNewLine]",RowBox[
{RowBox[{"RandomSample","[",RowBox[{"dataNotallowed",","," ","1"}],"]"}],",","\[IndentingNewLine]",RowBox[
{"RandomSample","[",RowBox[{"dataAllowedEvoked",","," ","1"}],"]"}],","," ","\[IndentingNewLine]",RowBox[
{"RandomSample","[",RowBox[{"dataAllowedPacing",","," ","1"}],"]"}]}],"\[IndentingNewLine]","}"}],",","\[IndentingNewLine]","\[IndentingNewLine]",RowBox[
{"Joined","\[Rule]","True"}],",",RowBox[{"PolarAxes","\[Rule]",RowBox[{"{",RowBox[
{"True",","," ","True"}],"}"}]}],",","\[IndentingNewLine]",RowBox[{"PolarAxesOrigin","\[Rule]",RowBox[
{"{",RowBox[{RowBox[{"2"," ","Pi"}],",","1.3"}],"}"}]}],",",RowBox[{"PolarTicks","\[Rule]",RowBox[
{"{",RowBox[{"ticks",",",RowBox[{"{"," ",RowBox[{"0",",","1"}],"}"}]}],"}"}]}],",","\[IndentingNewLine]",RowBox[
{"PlotRange","\[Rule]","All"}],","," ","\[IndentingNewLine]",RowBox[{"PlotStyle","\[Rule]",RowBox[
{"{","\[IndentingNewLine]",RowBox[{RowBox[{"{",RowBox[{"colorNexc",","," ",RowBox[
{"Thickness","[","0.0025","]"}],",",RowBox[{"PointSize","[","Tiny","]"}]}],"}"}],",","\[IndentingNewLine]",RowBox[
{"{",RowBox[{"colorExc",","," ",RowBox[{"Thickness","[","0.0025","]"}],",",RowBox[
{"PointSize","[","Tiny","]"}]}],"}"}],",","\[IndentingNewLine]",RowBox[{"{",RowBox[
{"colorOsc",","," ",RowBox[{"Thickness","[","0.0025","]"}],",",RowBox[{"PointSize","[","Small","]"}]}],"}"}]}],"\[IndentingNewLine]","}"}]}],",","\[IndentingNewLine]",RowBox[
{"TicksStyle","\[Rule]",RowBox[{"Directive","["," ",RowBox[{"{",RowBox[{"Black",","," ",RowBox[
{"FontFamily","\[Rule]","\"Times\""}],","," ","parameterMarksSize"}],"}"}],"]"}]}]}],"\[IndentingNewLine]","]"}]}],";","\[IndentingNewLine]",RowBox[
{"Print","[","polar1","]"}]}],"\[IndentingNewLine]",",","\[IndentingNewLine]","5"}],"\[IndentingNewLine]","]"}],"\[IndentingNewLine]","\[IndentingNewLine]","\[IndentingNewLine]"}]}]],
"Input",CellChangeTimes->{{3.686109937440172*^9,3.686109961219747*^9},{3.6861101830352182`*^9,3.686110221902191*^9},3.6861109741355953`*^9,{3.6861110698580923`*^9,3.686111070614848*^9},3.6861111884366426`*^9,{3.686111246158942*^9,3.686111246580961*^9},{3.6861228906789837`*^9,3.686122892276959*^9},3.686123297003405*^9,{3.686205517428133*^9,3.686205727671844*^9},{3.686205773513732*^9,3.6862058181342583`*^9},{3.686206082741981*^9,3.686206087140835*^9},{3.686206163998995*^9,3.686206207041709*^9},{3.686206239811016*^9,3.686206305330205*^9},{3.686206354034318*^9,3.6862063780983143`*^9},{3.686206413943769*^9,3.686206415654874*^9},{3.686206477717626*^9,3.686206495052712*^9},{3.6862065453637447`*^9,3.686206553871141*^9},{3.686206585985927*^9,3.686206617231965*^9},{3.686206681204835*^9,3.686206791537887*^9},3.6862068218606462`*^9,{3.68620686550366*^9,3.68620716899965*^9},{3.686207221530203*^9,3.686207318516069*^9},{3.686207370824583*^9,3.6862074586901293`*^9},{3.686207599092889*^9,3.686207630154598*^9},{3.686207682061883*^9,3.686207686724451*^9},{3.686207901005365*^9,3.6862080038782473`*^9},{3.686208142414445*^9,3.686208144382759*^9},3.686208185216071*^9,3.686208265887586*^9,{3.686208367004936*^9,3.686208457807336*^9},{3.686208495498073*^9,3.686208558688539*^9},{3.686211984124379*^9,3.68621205496986*^9},{3.686212101498353*^9,3.686212105896096*^9},{3.686212161624535*^9,3.686212184663617*^9},{3.686212255208802*^9,3.686212262337129*^9},{3.686212341242298*^9,3.686212395538402*^9},3.6862125060529327`*^9,{3.6862125405836782`*^9,3.686212636349163*^9},{3.686212668806843*^9,3.686212684041277*^9},{3.6862127421084003`*^9,3.686212742786727*^9},{3.686212803586844*^9,3.686212816978713*^9},{3.6862128702298403`*^9,3.686213028458486*^9},{3.686213085190151*^9,3.686213100711784*^9},{3.686213732058261*^9,3.68621375009261*^9},{3.6862138251057*^9,3.686213918334065*^9},{3.687350466988077*^9,3.687350468018277*^9},3.691300399688303*^9,{3.691300431304191*^9,3.691300438772978*^9},{3.691300538543004*^9,3.6913005725867853`*^9},{3.713153986585826*^9,3.713153993343762*^9},{3.713154024194756*^9,3.7131540259243402`*^9},{3.713154129667911*^9,3.713154192516494*^9},3.7131542420431633`*^9,{3.713154294820406*^9,3.713154332530588*^9},{3.7131543929956427`*^9,3.713154415732004*^9},3.713154619798296*^9,{3.7131546676628923`*^9,3.713154684244362*^9},{3.713154719481762*^9,3.713154811163835*^9},{3.713156264198007*^9,3.713156269157908*^9},{3.713156670448285*^9,3.713156671229246*^9},{3.713156701366564*^9,3.713156742827693*^9},{3.713156803130784*^9,3.713156808462994*^9},{3.71315693578463*^9,3.71315696881054*^9},3.713157002413319*^9,{3.71315723665553*^9,3.713157238179946*^9},{3.713157416559472*^9,3.7131574248156843`*^9},3.713159905895947*^9,{3.7131656015219507`*^9,3.713165632131729*^9},{3.713166028245434*^9,3.71316612091426*^9},{3.713178077962974*^9,3.713178088900107*^9},{3.713178334485395*^9,3.7131783345937634`*^9},{3.7131783764184523`*^9,3.7131783995795107`*^9},{3.713179442097604*^9,3.71317947182286*^9},{3.7133246327091637`*^9,3.713324633416524*^9},{3.71335020396036*^9,3.713350299030347*^9},{3.728707957178329*^9,3.7287079954382057`*^9},{3.7287081166677322`*^9,3.728708143706378*^9},{3.728708239203043*^9,3.728708249620234*^9},{3.728708644612282*^9,3.728708661982362*^9},{3.7287086965805197`*^9,3.7287087980338373`*^9},{3.7339709001804943`*^9,3.733970935228915*^9}},
CellLabel->"In[434]:=",ExpressionUUID->"c159698e-7b2b-40c0-9f9d-67c2ddff15c2"]},{1}],
ExpressionUUID->"5d67e325-34b3-44cc-ba03-567a84d21b00"],Cell[
CellGroupData[{Cell[
"\<Solutions histograms\>","Section",CellChangeTimes->{{3.713157430788896*^9,3.7131574384494543`*^9}},
ExpressionUUID->"17fa1d62-c00e-4ca8-a31d-b0b0aebd4358"],Cell[
BoxData[{RowBox[{RowBox[
{"SetDirectory","[",RowBox[{"NotebookDirectory","[","]"}],"]"}],";"," ",RowBox[{RowBox[
{"FileNames","[","]"}],"//","TableForm"}]}],"\[IndentingNewLine]",RowBox[{RowBox[
{"<<","\"dataAllowedEvoked.txt\""}],";"}],"\[IndentingNewLine]",RowBox[{RowBox[{"dataAllowedEvoked"," ","="," ",RowBox[
{"%","[",RowBox[{"[",RowBox[{"All",","," ",RowBox[{"2",";;","11"}]}],"]"}],"]"}]}],";"}],"\[IndentingNewLine]",RowBox[
{RowBox[{"<<","\"dataAllowedPacing.txt\""}],";"}],"\[IndentingNewLine]",RowBox[{RowBox[
{"dataAllowedPacing"," ","="," ",RowBox[{"%","[",RowBox[{"[",RowBox[{"All",","," ",RowBox[
{"2",";;","11"}]}],"]"}],"]"}]}],";"}],"\[IndentingNewLine]",RowBox[{RowBox[{"<<","\"dataNotallowed.txt\""}],";"}],"\[IndentingNewLine]",RowBox[
{RowBox[{RowBox[{"dataNotallowed"," ","="," ",RowBox[{"%","[",RowBox[{"[",RowBox[
{"All",","," ",RowBox[{"2",";;","11"}]}],"]"}],"]"}]}],";"}],"\[IndentingNewLine]","\[IndentingNewLine]"}],"\[IndentingNewLine]",RowBox[
{RowBox[{RowBox[{"labels"," ","="," ",RowBox[{"{"," ",RowBox[{"\"<\:f7c1\:f7c9\:f7c8SubscriptBox[\:f7c9\[Alpha]\:f7c0, \:f7c9n\:f7c0]\:f7c0> \"",",","\"<\:f7c1\:f7c9\:f7c8SubscriptBox[\:f7c9\[Beta]\:f7c0, \:f7c9n\:f7c0]\:f7c0>\"",","," ","\"<\:f7c1\:f7c9\:f7c8SubscriptBox[\:f7c9\[Alpha]\:f7c0, \:f7c9m\:f7c0]\:f7c0>\"",",","\"<\:f7c1\:f7c9\:f7c8SubscriptBox[\:f7c9\[Beta]\:f7c0, \:f7c9m\:f7c0]\:f7c0>\"",","," ","\"<\:f7c1\:f7c9\:f7c8SubscriptBox[\:f7c9\[Alpha]\:f7c0, \:f7c9h\:f7c0]\:f7c0>\"",","," ","\" <\:f7c1\:f7c9\:f7c8SubscriptBox[\:f7c9\[Beta]\:f7c0, \:f7c9h\:f7c0]\:f7c0> \"",","," ","\"<\:f7c1\:f7c9\:f7c8SubscriptBox[\:f7c9C\:f7c0, \:f7c9m\:f7c0]\:f7c0>\"",","," ","\"<\:f7c1\:f7c9\:f7c8SubscriptBox[OverscriptBox[\:f7c9g\:f7c0, \:f7c9_\:f7c0], \:f7c9Leak\:f7c0]\:f7c0>\"",","," ","\"<\:f7c1\:f7c9\:f7c8SubscriptBox[OverscriptBox[\:f7c9g\:f7c0, \:f7c9_\:f7c0], \:f7c9K\:f7c0]\:f7c0>\"",",","\"<\:f7c1\:f7c9\:f7c8SubscriptBox[OverscriptBox[\:f7c9g\:f7c0, \:f7c9_\:f7c0], \:f7c9Na\:f7c0]\:f7c0>\""}],"}"}]}],";"}],"\[IndentingNewLine]"}],"\[IndentingNewLine]",RowBox[
{"histogs"," ","="," ",RowBox[{"GraphicsGrid","[","\[IndentingNewLine]",RowBox[{"Partition","[","\[IndentingNewLine]",RowBox[
{RowBox[{"Table","[","\[IndentingNewLine]",RowBox[{RowBox[{"Histogram","[","\[IndentingNewLine]",RowBox[
{RowBox[{"{",RowBox[{RowBox[{"dataNotallowed","[",RowBox[{"[",RowBox[{"All",","," ","i"}],"]"}],"]"}],",",RowBox[
{"dataAllowedEvoked","[",RowBox[{"[",RowBox[{"All",","," ","i"}],"]"}],"]"}],","," ",RowBox[
{"dataAllowedPacing","[",RowBox[{"[",RowBox[{"All",","," ","i"}],"]"}],"]"}]}],"}"}],","," ",RowBox[
{"{","0.025","}"}],","," ","\"Count\"",","," ",RowBox[{"ChartLayout","\[Rule]","\"Stacked\""}],","," ",RowBox[
{"ChartStyle","\[Rule]",RowBox[{"{",RowBox[{"colorNexc",",","colorExc",","," ","colorOsc"}],"}"}]}],","," ",RowBox[
{"Axes","->","False"}],","," ",RowBox[{"PlotLabel","\[Rule]",RowBox[{"labels","[",RowBox[
{"[","i","]"}],"]"}]}],","," ",RowBox[{"LabelStyle","\[Rule]",RowBox[{"{",RowBox[
{RowBox[{"FontFamily","\[Rule]","\"Times\""}],","," ","20"}],"}"}]}]}],"\[IndentingNewLine]","]"}],","," ","\[IndentingNewLine]",RowBox[
{"{",RowBox[{"i",","," ","1",","," ","10"}],"}"}]}],"\[IndentingNewLine]","]"}],",","\[IndentingNewLine]","2"}],"\[IndentingNewLine]","]"}],"\[IndentingNewLine]","]"}]}]}],
"Input",CellChangeTimes->{3.7131574475309668`*^9,{3.713165659915333*^9,3.713165667192004*^9},{3.7133503362888727`*^9,3.713350350913013*^9},{3.715488878786932*^9,3.715488881970634*^9},{3.715488916917572*^9,3.715488918457183*^9},{3.715488965412188*^9,3.71548898921091*^9}},
CellLabel->"In[29]:=",ExpressionUUID->"59bc0670-d11d-42b8-b7b7-0308dabfaca8"]},{1}],
ExpressionUUID->"60955f6f-61fe-4014-9045-48064e63c856"],Cell[
CellGroupData[{Cell[
"\<Principal Component Analysis\>","Section",CellChangeTimes->{{3.734017629491055*^9,3.734017645632811*^9},{3.734018708391552*^9,3.7340187196038857`*^9},{3.734092457404935*^9,3.734092464671206*^9}},
ExpressionUUID->"ad33e4dd-ea26-4491-b976-c3fd96a304c0"],Cell[
BoxData[RowBox[{"\[IndentingNewLine]",RowBox[
{RowBox[{RowBox[{"SetDirectory","[",RowBox[{"NotebookDirectory","[","]"}],"]"}],";"}],"\[IndentingNewLine]",RowBox[
{RowBox[{"<<","\"dataAllowedEvoked.txt\""}],";"}],"\[IndentingNewLine]",RowBox[{RowBox[
{"dataAllowedEvoked"," ","="," ",RowBox[{"%","[",RowBox[{"[",RowBox[{"All",","," ",RowBox[
{"2",";;","11"}]}],"]"}],"]"}]}],";"}],"\[IndentingNewLine]",RowBox[{RowBox[{"<<","\"dataAllowedPacing.txt\""}],";"}],"\[IndentingNewLine]",RowBox[
{RowBox[{"dataAllowedPacing"," ","="," ",RowBox[{"%","[",RowBox[{"[",RowBox[{"All",","," ",RowBox[
{"2",";;","11"}]}],"]"}],"]"}]}],";"}],"\[IndentingNewLine]",RowBox[{RowBox[{"<<","\"dataNotallowed.txt\""}],";"}],"\[IndentingNewLine]",RowBox[
{RowBox[{"dataNotallowed"," ","="," ",RowBox[{"%","[",RowBox[{"[",RowBox[{"All",","," ",RowBox[
{"2",";;","11"}]}],"]"}],"]"}]}],";"}],"\[IndentingNewLine]","\[IndentingNewLine]",RowBox[
{RowBox[{"labels"," ","="," ",RowBox[{"{"," ",RowBox[{"\"<\:f7c1\:f7c9\:f7c8SubscriptBox[\:f7c9\[Alpha]\:f7c0, \:f7c9n\:f7c0]\:f7c0>\"",",","\"<\:f7c1\:f7c9\:f7c8SubscriptBox[\:f7c9\[Beta]\:f7c0, \:f7c9n\:f7c0]\:f7c0>\"",","," ","\"<\:f7c1\:f7c9\:f7c8SubscriptBox[\:f7c9\[Alpha]\:f7c0, \:f7c9m\:f7c0]\:f7c0>\"",",","\"<\:f7c1\:f7c9\:f7c8SubscriptBox[\:f7c9\[Beta]\:f7c0, \:f7c9m\:f7c0]\:f7c0>\"",","," ","\"<\:f7c1\:f7c9\:f7c8SubscriptBox[\:f7c9\[Alpha]\:f7c0, \:f7c9h\:f7c0]\:f7c0>\"",","," ","\"<\:f7c1\:f7c9\:f7c8SubscriptBox[\:f7c9\[Beta]\:f7c0, \:f7c9h\:f7c0]\:f7c0> \"",","," ","\"<\:f7c1\:f7c9\:f7c8SubscriptBox[\:f7c9C\:f7c0, \:f7c9m\:f7c0]\:f7c0>\"",","," ","\"<\:f7c1\:f7c9\:f7c8SubscriptBox[OverscriptBox[\:f7c9g\:f7c0, \:f7c9_\:f7c0], \:f7c9Leak\:f7c0]\:f7c0>\"",","," ","\"<\:f7c1\:f7c9\:f7c8SubscriptBox[OverscriptBox[\:f7c9g\:f7c0, \:f7c9_\:f7c0], \:f7c9K\:f7c0]\:f7c0>\"",",","\"<\:f7c1\:f7c9\:f7c8SubscriptBox[OverscriptBox[\:f7c9g\:f7c0, \:f7c9_\:f7c0], \:f7c9Na\:f7c0]\:f7c0>\""}],"}"}]}],";"}],"\[IndentingNewLine]"}]}]],
"Input",CellChangeTimes->{3.733502492794875*^9,{3.733502712228219*^9,3.733502724068426*^9},{3.7340924833958263`*^9,3.73409248505759*^9},{3.734228922839838*^9,3.7342289311690607`*^9}},
CellLabel->"In[93]:=",ExpressionUUID->"21402163-322f-4416-bb93-10f7e975bbf3"],Cell[
BoxData[
{RowBox[{RowBox[{"data"," ","="," ",RowBox[{"Join","[",RowBox[{"dataNotallowed",","," ","dataAllowedPacing"}],"]"}]}],";"," ",RowBox[
{"(*"," ",RowBox[{"using"," ","the"," ","two"," ","\"far apart\""," ","excitability"," ","statuses"," ","to"," ","extract"," ","principal"," ","components"}]," ","*)"}],"\n",RowBox[
{"pc","=",RowBox[{"PrincipalComponents","[",RowBox[{"data",",",RowBox[{"Method","\[Rule]","\"Correlation\""}]}],"]"}]}],";"}],"\n",RowBox[
{RowBox[{RowBox[{"k","=",RowBox[{RowBox[{"Dimensions","[","data","]"}],"[",RowBox[
{"[","2","]"}],"]"}]}],";"," ",RowBox[{"(*"," ",RowBox[{"number"," ","of"," ","parameters"," ",RowBox[
{"(",RowBox[{"i",".","e","."," ","10"}],")"}]}]," ","*)"}],"\n",RowBox[{"x"," ","="," ",RowBox[
{"Table","[",RowBox[{RowBox[{"Correlation","[",RowBox[{RowBox[{"pc","[",RowBox[{"[",RowBox[
{"All",",","i"}],"]"}],"]"}],",",RowBox[{"data","[",RowBox[{"[",RowBox[{"All",",","j"}],"]"}],"]"}]}],"]"}],",",RowBox[
{"{",RowBox[{"i",",","k"}],"}"}],",",RowBox[{"{",RowBox[{"j",",","k"}],"}"}]}],"]"}]}],";"," ",RowBox[
{"(*",RowBox[{"\"loading\"",":"," ",RowBox[{"correlations"," ","between"," ","components"," ","and"," ","parameters"}]}],"*)"}],"\[IndentingNewLine]",RowBox[
{"TableForm","[",RowBox[{"x",","," ",RowBox[{"TableHeadings","\[Rule]",RowBox[{"{",RowBox[
{RowBox[{"Table","[",RowBox[{RowBox[{"\"pc\"","<>",RowBox[{"ToString","[","i","]"}]}],","," ",RowBox[
{"{",RowBox[{"i",","," ","1",","," ","k"}],"}"}]}],"]"}],",","labels"}],"}"}]}]}],"]"}]}]," ",RowBox[
{"(*",RowBox[{"arranged"," ","in"," ","a"," ","nice"," ","table"}],"*)"}],"\[IndentingNewLine]"}],"\[IndentingNewLine]",RowBox[
{RowBox[{RowBox[{"pc1"," ","="," ",RowBox[{"x","[",RowBox[{"[","1","]"}],"]"}]}],";"," ",RowBox[
{"(*",RowBox[{"first"," ","pc"}],"*)"}],"\[IndentingNewLine]",RowBox[{"pc2"," ","="," ",RowBox[
{"x","[",RowBox[{"[","2","]"}],"]"}]}],";",RowBox[{"(*",RowBox[{"second"," ","pc"}],"*)"}],"\[IndentingNewLine]",RowBox[
{"(*"," ",RowBox[{RowBox[{"pc3"," ","="," ",RowBox[{"x","[",RowBox[{"[","3","]"}],"]"}]}],","," ",RowBox[
{RowBox[{"etc"," ","..."}],"."}]}],"*)"}],"\[IndentingNewLine]","\[IndentingNewLine]",RowBox[
{"(*",RowBox[{"calculate"," ","mean"," ","for"," ","each"," ","excitability"," ","statuses"," ","in"," ","those"," ","2"," ",RowBox[
{"pc","'"}],"s"}],"*)"}],"\[IndentingNewLine]",RowBox[{"means"," ","="," ",RowBox[
{"{","\[IndentingNewLine]",RowBox[{RowBox[{"{",RowBox[{RowBox[{"Mean","[",RowBox[
{"Map","[",RowBox[{RowBox[{RowBox[{"#",".","pc1"}]," ","&"}],","," ","dataAllowedPacing"}],"]"}],"]"}],",",RowBox[
{"Mean","[",RowBox[{"Map","[",RowBox[{RowBox[{RowBox[{"#",".","pc2"}]," ","&"}],","," ","dataAllowedPacing"}],"]"}],"]"}]}],"}"}],","," ","\[IndentingNewLine]",RowBox[
{"{",RowBox[{RowBox[{"Mean","[",RowBox[{"Map","[",RowBox[{RowBox[{RowBox[{"#",".","pc1"}]," ","&"}],","," ","dataAllowedEvoked"}],"]"}],"]"}],","," ",RowBox[
{"Mean","[",RowBox[{"Map","[",RowBox[{RowBox[{RowBox[{"#",".","pc2"}]," ","&"}],","," ","dataAllowedEvoked"}],"]"}],"]"}]}],"}"}],","," ","\[IndentingNewLine]",RowBox[
{"{",RowBox[{RowBox[{"Mean","[",RowBox[{"Map","[",RowBox[{RowBox[{RowBox[{"#",".","pc1"}]," ","&"}],","," ","dataNotallowed"}],"]"}],"]"}],",",RowBox[
{"Mean","[",RowBox[{"Map","[",RowBox[{RowBox[{RowBox[{"#",".","pc2"}]," ","&"}],","," ","dataNotallowed"}],"]"}],"]"}]}],"}"}]}],"\[IndentingNewLine]","}"}]}],";"}],"\[IndentingNewLine]","\[IndentingNewLine]",RowBox[
{"(*"," ",RowBox[{RowBox[{"now"," ","plot"," ","it"," ","all"}],","," ",RowBox[{"including"," ","the"," ","excitable"," ","status"}]}]," ","*)"}]}],"\[IndentingNewLine]",RowBox[
{RowBox[{"lp"," ","="," ",RowBox[{"ListPlot","[",RowBox[{RowBox[{"{","\[IndentingNewLine]",RowBox[
{RowBox[{"Transpose","[",RowBox[{"{",RowBox[{RowBox[{"Map","[",RowBox[{RowBox[{RowBox[
{"#",".","pc1"}]," ","&"}],","," ","dataNotallowed"}],"]"}],",",RowBox[{"Map","[",RowBox[
{RowBox[{RowBox[{"#",".","pc2"}]," ","&"}],","," ","dataNotallowed"}],"]"}]}],"}"}],"]"}],",","\[IndentingNewLine]",RowBox[
{"Transpose","[",RowBox[{"{",RowBox[{RowBox[{"Map","[",RowBox[{RowBox[{RowBox[{"#",".","pc1"}]," ","&"}],","," ","dataAllowedEvoked"}],"]"}],",",RowBox[
{"Map","[",RowBox[{RowBox[{RowBox[{"#",".","pc2"}]," ","&"}],","," ","dataAllowedEvoked"}],"]"}]}],"}"}],"]"}],",","\[IndentingNewLine]",RowBox[
{"Transpose","[",RowBox[{"{",RowBox[{RowBox[{"Map","[",RowBox[{RowBox[{RowBox[{"#",".","pc1"}]," ","&"}],","," ","dataAllowedPacing"}],"]"}],",",RowBox[
{"Map","[",RowBox[{RowBox[{RowBox[{"#",".","pc2"}]," ","&"}],","," ","dataAllowedPacing"}],"]"}]}],"}"}],"]"}]}],"\[IndentingNewLine]","}"}],",","\[IndentingNewLine]","\[IndentingNewLine]",RowBox[
{"PlotStyle","\[Rule]",RowBox[{"{",RowBox[{RowBox[{"{",RowBox[{"Lighter","[","colorNexc","]"}],"}"}],","," ",RowBox[
{"{",RowBox[{"Lighter","[","colorExc","]"}],"}"}],",",RowBox[{"{",RowBox[{"Lighter","[","colorOsc","]"}],"}"}]}],"}"}]}],","," ",RowBox[
{"LabelStyle","\[Rule]",RowBox[{"{",RowBox[{RowBox[{"FontFamily","\[Rule]","\"Times\""}],",","20"}],"}"}]}],",",RowBox[
{"AxesLabel","\[Rule]",RowBox[{"{",RowBox[{"\"pc1\"",","," ","\"pc2\""}],"}"}]}],","," ",RowBox[
{"Frame","\[Rule]","True"}],","," ",RowBox[{"Epilog","\[Rule]",RowBox[{"{",RowBox[
{"colorOsc",","," ",RowBox[{"PointSize","[",".02","]"}],",",RowBox[{"Point","[",RowBox[
{"means","[",RowBox[{"[","1","]"}],"]"}],"]"}],",","colorExc",","," ",RowBox[{"PointSize","[",".02","]"}],",",RowBox[
{"Point","[",RowBox[{"means","[",RowBox[{"[","2","]"}],"]"}],"]"}],",","colorNexc",","," ",RowBox[
{"PointSize","[",".02","]"}],",",RowBox[{"Point","[",RowBox[{"means","[",RowBox[{"[","3","]"}],"]"}],"]"}]}],"}"}]}]}],"\[IndentingNewLine]","]"}]}],"\[IndentingNewLine]"}],"\[IndentingNewLine]"}],
"Input",CellChangeTimes->{{3.734089223733677*^9,3.7340892237348347`*^9},3.734089266221293*^9,{3.7340893183648033`*^9,3.734089323369295*^9},3.7340893892979403`*^9,3.734089459774549*^9,3.734089513107991*^9,{3.73408964346671*^9,3.734089660146737*^9},{3.73408973405584*^9,3.7340897847902403`*^9},{3.734089830459179*^9,3.734089842549836*^9},{3.734089907995253*^9,3.734089932123886*^9},{3.7340900912441797`*^9,3.734090151569663*^9},{3.734090200696257*^9,3.7340902449987183`*^9},{3.734090573536347*^9,3.734090587168202*^9},{3.734090637329338*^9,3.734090684203506*^9},{3.734090752429071*^9,3.734090851417036*^9},{3.7340908814324713`*^9,3.734090899064919*^9},{3.734090942625436*^9,3.734091059264331*^9},{3.73409112823393*^9,3.734091208727097*^9},{3.7340912932796373`*^9,3.734091329955307*^9},{3.734091713426366*^9,3.734091770954135*^9},{3.734091808881097*^9,3.7340918600796003`*^9},{3.734091926876338*^9,3.73409198454608*^9},{3.7340920216869793`*^9,3.7340920856721992`*^9},{3.734092118046156*^9,3.7340921334648438`*^9},{3.734092234517582*^9,3.734092293917601*^9},{3.734092353775447*^9,3.734092392560152*^9},{3.734092532969853*^9,3.734092830498583*^9},{3.734092904327836*^9,3.7340930066000853`*^9},{3.7340931107036953`*^9,3.73409312026204*^9},{3.734093364139763*^9,3.734093379199306*^9},3.734228360150178*^9,{3.734228394995448*^9,3.734228416110589*^9},{3.7342289613074207`*^9,3.7342289821697283`*^9},{3.734229057666856*^9,3.734229087265202*^9}},
CellLabel->"In[117]:=",ExpressionUUID->"f85f0d97-e507-41a3-88ea-52cd55ff607d"]},{1}],
ExpressionUUID->"cb53522f-1fc1-450c-a507-bc37285fa304"],Cell[
CellGroupData[{Cell[
"\<Polar Plots\>","Section",CellChangeTimes->{{3.7131651636172113`*^9,3.7131651677242804`*^9}},
ExpressionUUID->"f9f1d467-8a30-4719-bd43-285d1d162349"],Cell[
BoxData[{RowBox[{RowBox[
{"SetDirectory","[",RowBox[{"NotebookDirectory","[","]"}],"]"}],";"," ",RowBox[{RowBox[
{"FileNames","[","]"}],"//","TableForm"}]}],"\[IndentingNewLine]",RowBox[{RowBox[
{"<<","\"dataAllowedEvoked.txt\""}],";"}],"\[IndentingNewLine]",RowBox[{RowBox[{"dataAllowedEvoked"," ","="," ",RowBox[
{"%","[",RowBox[{"[",RowBox[{"All",","," ",RowBox[{"2",";;","11"}]}],"]"}],"]"}]}],";"}],"\[IndentingNewLine]",RowBox[
{RowBox[{"<<","\"dataAllowedPacing.txt\""}],";"}],"\[IndentingNewLine]",RowBox[{RowBox[
{"dataAllowedPacing"," ","="," ",RowBox[{"%","[",RowBox[{"[",RowBox[{"All",","," ",RowBox[
{"2",";;","11"}]}],"]"}],"]"}]}],";"}],"\[IndentingNewLine]",RowBox[{RowBox[{"<<","\"dataNotallowed.txt\""}],";"}],"\[IndentingNewLine]",RowBox[
{RowBox[{RowBox[{"dataNotallowed"," ","="," ",RowBox[{"%","[",RowBox[{"[",RowBox[
{"All",","," ",RowBox[{"2",";;","11"}]}],"]"}],"]"}]}],";"}],"\[IndentingNewLine]"}],"\[IndentingNewLine]",RowBox[
{RowBox[{"labels"," ","="," ",RowBox[{"{"," ",StyleBox[RowBox[{"\"<\:f7c1\:f7c9\:f7c8SubscriptBox[\:f7c9\[Alpha]\:f7c0, \:f7c9n\:f7c0]\:f7c0> \"",",","\"<\:f7c1\:f7c9\:f7c8SubscriptBox[\:f7c9\[Beta]\:f7c0, \:f7c9n\:f7c0]\:f7c0>\"",","," ","\"<\:f7c1\:f7c9\:f7c8SubscriptBox[\:f7c9\[Alpha]\:f7c0, \:f7c9m\:f7c0]\:f7c0>\"",",","\"<\:f7c1\:f7c9\:f7c8SubscriptBox[\:f7c9\[Beta]\:f7c0, \:f7c9m\:f7c0]\:f7c0>\"",","," ","\"<\:f7c1\:f7c9\:f7c8SubscriptBox[\:f7c9\[Alpha]\:f7c0, \:f7c9h\:f7c0]\:f7c0>\"",","," ","\" <\:f7c1\:f7c9\:f7c8SubscriptBox[\:f7c9\[Beta]\:f7c0, \:f7c9h\:f7c0]\:f7c0> \"",","," ","\"<\:f7c1\:f7c9\:f7c8SubscriptBox[\:f7c9C\:f7c0, \:f7c9m\:f7c0]\:f7c0>\"",","," ","\"<\:f7c1\:f7c9\:f7c8SubscriptBox[OverscriptBox[\:f7c9g\:f7c0, \:f7c9_\:f7c0], \:f7c9Leak\:f7c0]\:f7c0>\"",","," ","\"<\:f7c1\:f7c9\:f7c8SubscriptBox[OverscriptBox[\:f7c9g\:f7c0, \:f7c9_\:f7c0], \:f7c9K\:f7c0]\:f7c0>\"",",","\"<\:f7c1\:f7c9\:f7c8SubscriptBox[OverscriptBox[\:f7c9g\:f7c0, \:f7c9_\:f7c0], \:f7c9Na\:f7c0]\:f7c0>\""}],
FontColor->GrayLevel[0]],"}"}]}],";"}],"\[IndentingNewLine]",RowBox[{RowBox[{RowBox[
{"ticks"," ","="," ",RowBox[{"Transpose","[",RowBox[{"{",RowBox[{RowBox[{"Table","[",RowBox[
{RowBox[{"i"," ",RowBox[{"Pi","/","10"}]}],","," ",RowBox[{"{",RowBox[{"i",","," ","0",","," ","18",","," ","2"}],"}"}]}],"]"}],","," ","labels"}],"}"}],"]"}]}],";"}],"\[IndentingNewLine]"}],"\[IndentingNewLine]",RowBox[
{RowBox[{"numnberOfSamples"," ","="," ","250"}],";"}],"\[IndentingNewLine]",RowBox[
{RowBox[{RowBox[{"parameterMarksSize"," ","="," ","40"}],";"}],"\[IndentingNewLine]"}],"\[IndentingNewLine]",RowBox[
{RowBox[{"Show","[","\[IndentingNewLine]",RowBox[{RowBox[{"ListPolarPlot","[",RowBox[
{RowBox[{"dataNotallowed","[",RowBox[{"[",RowBox[{"1",";;","numnberOfSamples"}],"]"}],"]"}],",",RowBox[
{"Joined","\[Rule]","True"}],",",RowBox[{"PolarAxes","\[Rule]",RowBox[{"{",RowBox[
{"True",","," ","True"}],"}"}]}],",",RowBox[{"PolarAxesOrigin","\[Rule]",RowBox[{"{",RowBox[
{RowBox[{"2"," ","Pi"}],",","1.3"}],"}"}]}],",",RowBox[{"PolarTicks","\[Rule]",RowBox[
{"{",RowBox[{"ticks",",",RowBox[{"{"," ",RowBox[{".5",","," ","1"}],"}"}]}],"}"}]}],","," ",RowBox[
{"PlotStyle","\[Rule]",RowBox[{"{",RowBox[{"{",RowBox[{"colorNexc",","," ",RowBox[
{"Thickness","[","0.0001","]"}],",",RowBox[{"PointSize","[","Tiny","]"}]}],"}"}],"}"}]}],",",RowBox[
{"PlotRange","\[Rule]","All"}],",",RowBox[{"TicksStyle","\[Rule]",RowBox[{"Directive","["," ",RowBox[
{"{",RowBox[{"Black",","," ",RowBox[{"FontFamily","\[Rule]","\"Times\""}],","," ","parameterMarksSize"}],"}"}],"]"}]}]}],"]"}],"\[IndentingNewLine]",",","\[IndentingNewLine]",RowBox[
{"ListPolarPlot","[",RowBox[{RowBox[{"Mean","[","dataNotallowed","]"}],",",RowBox[
{"Joined","\[Rule]","True"}],",",RowBox[{"PolarAxes","\[Rule]",RowBox[{"{",RowBox[
{"False",",","False"}],"}"}]}],","," ","\[IndentingNewLine]",RowBox[{"PlotStyle","\[Rule]",RowBox[
{"{",RowBox[{"{",RowBox[{"Black",",","Dashed",","," ",RowBox[{"Thickness","[","0.0025","]"}],",",RowBox[
{"PointSize","[","Tiny","]"}]}],"}"}],"}"}]}],",","\[IndentingNewLine]",RowBox[{"PlotRange","\[Rule]","All"}]}],"]"}]}],"\[IndentingNewLine]","]"}],"\[IndentingNewLine]"}],"\[IndentingNewLine]",RowBox[
{RowBox[{"Show","[","\[IndentingNewLine]",RowBox[{RowBox[{"ListPolarPlot","["," ",RowBox[
{RowBox[{"dataAllowedEvoked","[",RowBox[{"[",RowBox[{"1",";;","numnberOfSamples"}],"]"}],"]"}],",",RowBox[
{"Joined","\[Rule]","True"}],",",RowBox[{"PolarAxes","\[Rule]",RowBox[{"{",RowBox[
{"True",","," ","True"}],"}"}]}],",",RowBox[{"PolarAxesOrigin","\[Rule]",RowBox[{"{",RowBox[
{RowBox[{"2"," ","Pi"}],",","1.3"}],"}"}]}],",",RowBox[{"PolarTicks","\[Rule]",RowBox[
{"{",RowBox[{"ticks",",",RowBox[{"{"," ",RowBox[{".5",","," ","1"}],"}"}]}],"}"}]}],","," ","\[IndentingNewLine]",RowBox[
{"PlotStyle","\[Rule]",RowBox[{"{",RowBox[{"{",RowBox[{"colorExc",","," ",RowBox[
{"Thickness","[","0.0001","]"}],",",RowBox[{"PointSize","[","Tiny","]"}]}],"}"}],"}"}]}],",","\[IndentingNewLine]",RowBox[
{"PlotRange","\[Rule]","All"}],",",RowBox[{"TicksStyle","\[Rule]",RowBox[{"Directive","["," ",RowBox[
{"{",RowBox[{"Black",","," ",RowBox[{"FontFamily","\[Rule]","\"Times\""}],","," ","parameterMarksSize"}],"}"}],"]"}]}]}],"]"}],"\[IndentingNewLine]",",","\[IndentingNewLine]",RowBox[
{"ListPolarPlot","[",RowBox[{RowBox[{"Mean","["," ","dataAllowedEvoked","]"}],",",RowBox[
{"Joined","\[Rule]","True"}],",",RowBox[{"PolarAxes","\[Rule]",RowBox[{"{",RowBox[
{"False",",","False"}],"}"}]}],","," ","\[IndentingNewLine]",RowBox[{"PlotStyle","\[Rule]",RowBox[
{"{",RowBox[{"{",RowBox[{"Black",",","Dashed",","," ",RowBox[{"Thickness","[","0.0025","]"}],",",RowBox[
{"PointSize","[","Tiny","]"}]}],"}"}],"}"}]}],",","\[IndentingNewLine]",RowBox[{"PlotRange","\[Rule]","All"}]}],"]"}]}],"\[IndentingNewLine]","]"}],"\[IndentingNewLine]"}],"\[IndentingNewLine]",RowBox[
{RowBox[{"Show","[","\[IndentingNewLine]",RowBox[{RowBox[{"ListPolarPlot","[",RowBox[
{RowBox[{"dataAllowedPacing","[",RowBox[{"[",RowBox[{"1",";;","numnberOfSamples"}],"]"}],"]"}],",",RowBox[
{"Joined","\[Rule]","True"}],",",RowBox[{"PolarAxes","\[Rule]",RowBox[{"{",RowBox[
{"True",","," ","True"}],"}"}]}],",",RowBox[{"PolarAxesOrigin","\[Rule]",RowBox[{"{",RowBox[
{RowBox[{"2"," ","Pi"}],",","1.3"}],"}"}]}],",",RowBox[{"PolarTicks","\[Rule]",RowBox[
{"{",RowBox[{"ticks",",",RowBox[{"{"," ",RowBox[{".5",","," ","1"}],"}"}]}],"}"}]}],","," ",RowBox[
{"PlotStyle","\[Rule]",RowBox[{"{",RowBox[{"{",RowBox[{"colorOsc",","," ",RowBox[
{"Thickness","[","0.0001","]"}],",",RowBox[{"PointSize","[","Tiny","]"}]}],"}"}],"}"}]}]," ",","," ",RowBox[
{"PlotRange","\[Rule]","All"}],",",RowBox[{"TicksStyle","\[Rule]",RowBox[{"Directive","["," ",RowBox[
{"{",RowBox[{"Black",","," ",RowBox[{"FontFamily","\[Rule]","\"Times\""}],","," ","parameterMarksSize"}],"}"}],"]"}]}]}],"]"}],"\[IndentingNewLine]",",","\[IndentingNewLine]",RowBox[
{"ListPolarPlot","[",RowBox[{RowBox[{"Mean","["," ","dataAllowedPacing","]"}],",",RowBox[
{"Joined","\[Rule]","True"}],",",RowBox[{"PolarAxes","\[Rule]",RowBox[{"{",RowBox[
{"False",",","False"}],"}"}]}],","," ","\[IndentingNewLine]",RowBox[{"PlotStyle","\[Rule]",RowBox[
{"{",RowBox[{"{",RowBox[{"Black",",","Dashed",","," ",RowBox[{"Thickness","[","0.0025","]"}],",",RowBox[
{"PointSize","[","Tiny","]"}]}],"}"}],"}"}]}],",","\[IndentingNewLine]",RowBox[{"PlotRange","\[Rule]","All"}]}],"]"}]}],"\[IndentingNewLine]","]"}],"\[IndentingNewLine]"}],"\[IndentingNewLine]",RowBox[
{RowBox[{"Show","[","\[IndentingNewLine]",RowBox[{RowBox[{"ListPolarPlot","[",RowBox[
{RowBox[{"dataNotallowed","[",RowBox[{"[",RowBox[{"1",";;","50"}],"]"}],"]"}],",",RowBox[
{"Joined","\[Rule]","True"}],",",RowBox[{"PolarAxes","\[Rule]",RowBox[{"{",RowBox[
{"True",","," ","True"}],"}"}]}],",",RowBox[{"PolarAxesOrigin","\[Rule]",RowBox[{"{",RowBox[
{RowBox[{"2"," ","Pi"}],",","1.3"}],"}"}]}],",",RowBox[{"PolarTicks","\[Rule]",RowBox[
{"{",RowBox[{"ticks",",",RowBox[{"{"," ",RowBox[{".5",","," ","1"}],"}"}]}],"}"}]}],","," ",RowBox[
{"PlotStyle","\[Rule]",RowBox[{"{",RowBox[{"{",RowBox[{"colorNexc",","," ",RowBox[
{"Thickness","[","0.0005","]"}],",",RowBox[{"PointSize","[","Tiny","]"}]}],"}"}],"}"}]}],",",RowBox[
{"PlotRange","\[Rule]","All"}],",",RowBox[{"TicksStyle","\[Rule]",RowBox[{"Directive","["," ",RowBox[
{"{",RowBox[{"Black",","," ",RowBox[{"FontFamily","\[Rule]","\"Times\""}],","," ","parameterMarksSize"}],"}"}],"]"}]}]}],"]"}],"\[IndentingNewLine]",",","\[IndentingNewLine]",RowBox[
{"ListPolarPlot","["," ",RowBox[{RowBox[{"dataAllowedEvoked","[",RowBox[{"[",RowBox[
{"1",";;","50"}],"]"}],"]"}],",",RowBox[{"Joined","\[Rule]","True"}],",",RowBox[{"PolarAxes","\[Rule]",RowBox[
{"{",RowBox[{"True",","," ","True"}],"}"}]}],",",RowBox[{"PolarAxesOrigin","\[Rule]",RowBox[
{"{",RowBox[{RowBox[{"2"," ","Pi"}],",","1.3"}],"}"}]}],",",RowBox[{"PolarTicks","\[Rule]",RowBox[
{"{",RowBox[{"ticks",",",RowBox[{"{"," ",RowBox[{".5",","," ","1"}],"}"}]}],"}"}]}],","," ","\[IndentingNewLine]",RowBox[
{"PlotStyle","\[Rule]",RowBox[{"{",RowBox[{"{",RowBox[{"colorExc",","," ",RowBox[
{"Thickness","[","0.0005","]"}],",",RowBox[{"PointSize","[","Tiny","]"}]}],"}"}],"}"}]}],",","\[IndentingNewLine]",RowBox[
{"PlotRange","\[Rule]","All"}],",",RowBox[{"TicksStyle","\[Rule]",RowBox[{"Directive","["," ",RowBox[
{"{",RowBox[{"Black",","," ",RowBox[{"FontFamily","\[Rule]","\"Times\""}],","," ","parameterMarksSize"}],"}"}],"]"}]}]}],"]"}],"\[IndentingNewLine]",",","\[IndentingNewLine]",RowBox[
{"ListPolarPlot","[",RowBox[{RowBox[{"dataAllowedPacing","[",RowBox[{"[",RowBox[{"1",";;","50"}],"]"}],"]"}],",",RowBox[
{"Joined","\[Rule]","True"}],",",RowBox[{"PolarAxes","\[Rule]",RowBox[{"{",RowBox[
{"True",","," ","True"}],"}"}]}],",",RowBox[{"PolarAxesOrigin","\[Rule]",RowBox[{"{",RowBox[
{RowBox[{"2"," ","Pi"}],",","1.3"}],"}"}]}],",",RowBox[{"PolarTicks","\[Rule]",RowBox[
{"{",RowBox[{"ticks",",",RowBox[{"{"," ",RowBox[{".5",","," ","1"}],"}"}]}],"}"}]}],","," ",RowBox[
{"PlotStyle","\[Rule]",RowBox[{"{",RowBox[{"{",RowBox[{"colorOsc",","," ",RowBox[
{"Thickness","[","0.0005","]"}],",",RowBox[{"PointSize","[","Tiny","]"}]}],"}"}],"}"}]}]," ",","," ",RowBox[
{"PlotRange","\[Rule]","All"}],",",RowBox[{"TicksStyle","\[Rule]",RowBox[{"Directive","["," ",RowBox[
{"{",RowBox[{"Black",","," ",RowBox[{"FontFamily","\[Rule]","\"Times\""}],","," ","parameterMarksSize"}],"}"}],"]"}]}]}],"]"}]}],"\[IndentingNewLine]","]"}],"\[IndentingNewLine]"}],"\[IndentingNewLine]"}],
"Input",CellChangeTimes->{3.542468772078072*^9,{3.542470387257688*^9,3.542470387735755*^9},{3.54247048776474*^9,3.5424705215867853`*^9},{3.542470563578599*^9,3.542470610759947*^9},{3.542470661004607*^9,3.542470662896473*^9},{3.542470723953775*^9,3.542470754182824*^9},3.542501844322741*^9,{3.542501901350546*^9,3.5425019221253853`*^9},3.5425094187982397`*^9,3.542509494958785*^9,{3.542543916504562*^9,3.5425440741833286`*^9},{3.5425441066575756`*^9,3.5425441316220713`*^9},3.5425442066185703`*^9,{3.542544246379546*^9,3.5425442690688148`*^9},{3.542544447110617*^9,3.542544483692275*^9},{3.5425472996511374`*^9,3.542547365749468*^9},{3.542547567015587*^9,3.542547570226445*^9},{3.5425478930051727`*^9,3.5425479039292645`*^9},{3.54254793738361*^9,3.542547945869458*^9},{3.5425481978306518`*^9,3.542548203126181*^9},{3.542737709563147*^9,3.542737731117104*^9},{3.542737932890369*^9,3.542737933592244*^9},{3.542738102011055*^9,3.542738105256566*^9},3.542738137055975*^9,3.542738198678076*^9,{3.5427382431667757`*^9,3.542738248493141*^9},{3.542738287077598*^9,3.542738288202374*^9},{3.5427383971980667`*^9,3.542738413549061*^9},{3.542738466166238*^9,3.542738481259453*^9},{3.542738525131095*^9,3.542738526479774*^9},{3.5427385610476913`*^9,3.5427386046576023`*^9},{3.542738759807838*^9,3.5427387892939587`*^9},3.54273930857906*^9,{3.5439335158513536`*^9,3.5439337645053043`*^9},{3.543933843463426*^9,3.543933854289846*^9},{3.5439339018641367`*^9,3.5439341145463943`*^9},{3.5439341842197943`*^9,3.543934197910592*^9},{3.6202714491672907`*^9,3.620271672034357*^9},{3.620271712355556*^9,3.6202717181296377`*^9},{3.620271897610652*^9,3.620271936854909*^9},{3.620272055210672*^9,3.6202722012715883`*^9},{3.6202722390864353`*^9,3.6202722403581448`*^9},{3.620272277029841*^9,3.620272313498201*^9},{3.6202723941228037`*^9,3.6202723972730913`*^9},3.620272556847019*^9,{3.6202728859856052`*^9,3.620272988398696*^9},{3.6202730569918747`*^9,3.6202730589169807`*^9},{3.6202730908097963`*^9,3.6202731305169573`*^9},{3.620273184561551*^9,3.620273230193671*^9},{3.6202732671922493`*^9,3.6202732892763243`*^9},{3.620273329386121*^9,3.620273428806539*^9},{3.6202735012546473`*^9,3.620273708314415*^9},{3.620273772008029*^9,3.6202738220382843`*^9},{3.62027386061854*^9,3.620274102973831*^9},{3.620274146650961*^9,3.620274297911413*^9},{3.620274480039236*^9,3.62027451121098*^9},{3.620274856673461*^9,3.620274859925913*^9},{3.620274938770008*^9,3.620274954164433*^9},{3.620274991688528*^9,3.620275005976315*^9},{3.620275047087886*^9,3.620275173350843*^9},{3.6202753293803*^9,3.620275376743471*^9},{3.620275408158474*^9,3.620275412683132*^9},{3.620275517172244*^9,3.620275528168524*^9},{3.6202773284438553`*^9,3.62027732981674*^9},{3.620277372981469*^9,3.6202774029846907`*^9},{3.620278757825514*^9,3.620278758941814*^9},{3.62027883639224*^9,3.62027884446903*^9},{3.620278962173231*^9,3.620278971563635*^9},{3.620280237818659*^9,3.6202803084879227`*^9},{3.6202804060580378`*^9,3.6202804068940887`*^9},{3.620280489281331*^9,3.620280499228992*^9},{3.620280599054407*^9,3.620280599186014*^9},{3.6202822980569553`*^9,3.620282299116868*^9},{3.6202826323493357`*^9,3.620282737666821*^9},{3.6202831358520603`*^9,3.620283136089116*^9},{3.620283379353149*^9,3.620283384758235*^9},{3.620283478750286*^9,3.620283491675147*^9},{3.620284020270759*^9,3.6202840580486307`*^9},{3.6202848805054293`*^9,3.6202849176742277`*^9},{3.620285009419915*^9,3.62028511706269*^9},{3.620290674770875*^9,3.6202907871322927`*^9},{3.620290832329544*^9,3.620290838244348*^9},{3.620290884081958*^9,3.6202908852411947`*^9},3.62035167278102*^9,3.6203517254367647`*^9,{3.6203518721250896`*^9,3.620351984624151*^9},{3.6203523319420347`*^9,3.620352344655365*^9},{3.6203527693120117`*^9,3.6203527749821863`*^9},{3.62035334583425*^9,3.62035336161981*^9},{3.620353409092223*^9,3.6203534157200603`*^9},{3.620353765221561*^9,3.62035376529842*^9},{3.6203542710536346`*^9,3.620354314168222*^9},{3.620359616158207*^9,3.6203596823473673`*^9},{3.6203598453997087`*^9,3.620359866703883*^9},{3.620359977246052*^9,3.620360046700371*^9},{3.620360099594473*^9,3.62036011980695*^9},{3.620360164066683*^9,3.62036017443419*^9},{3.62037334409935*^9,3.620373346398114*^9},{3.620376722484436*^9,3.62037677937094*^9},{3.620376828230755*^9,3.620376871190557*^9},{3.620377120783411*^9,3.620377159830327*^9},{3.6203772828979588`*^9,3.620377306290922*^9},{3.6203776435921373`*^9,3.62037765992978*^9},{3.6203795896650476`*^9,3.620379621372263*^9},{3.620381446845971*^9,3.620381553266059*^9},{3.620382303861223*^9,3.6203823416089087`*^9},{3.620382532888568*^9,3.620382546822345*^9},{3.620383294853034*^9,3.62038334218309*^9},{3.620383404209557*^9,3.620383456565722*^9},{3.620383550634651*^9,3.62038358057722*^9},{3.6203837665166893`*^9,3.620383778703875*^9},{3.620384141310048*^9,3.62038415336593*^9},{3.620629599183226*^9,3.620629717328251*^9},{3.620629774657947*^9,3.620629789659053*^9},3.620632403539468*^9,{3.620633099987935*^9,3.620633311723579*^9},{3.620633393045699*^9,3.620633507784539*^9},{3.620633628704577*^9,3.620633658304655*^9},{3.620634258293572*^9,3.620634260553956*^9},{3.6208764954797487`*^9,3.620876538031987*^9},{3.620876618548027*^9,3.6208766198259907`*^9},{3.6208767295117893`*^9,3.620876755450199*^9},{3.620876816441536*^9,3.620876816944044*^9},{3.6208768874818707`*^9,3.620876889104643*^9},{3.620876979268128*^9,3.6208769882356052`*^9},3.62087704865062*^9,{3.6208778028544703`*^9,3.6208778345365677`*^9},{3.620879011843356*^9,3.6208790443341303`*^9},{3.620881245786584*^9,3.6208812653947563`*^9},{3.62088131801143*^9,3.6208813276026697`*^9},{3.6208816041616297`*^9,3.620881702908801*^9},{3.620881801528273*^9,3.620881819344452*^9},{3.620881881968668*^9,3.620881882531578*^9},{3.620881949202539*^9,3.6208821798921947`*^9},{3.620882210317004*^9,3.620882235792243*^9},{3.620882632433939*^9,3.620882636858729*^9},{3.6208827166369953`*^9,3.6208827925784597`*^9},3.620882915881967*^9,{3.620883556044689*^9,3.620883575050679*^9},{3.620883858183766*^9,3.620883859027287*^9},{3.620883895302827*^9,3.6208839005309267`*^9},{3.620884172156013*^9,3.620884178266548*^9},{3.620884262546541*^9,3.62088427984892*^9},{3.62088656938737*^9,3.62088657891495*^9},{3.620886636301105*^9,3.62088666787665*^9},{3.6208868866613913`*^9,3.620886907535824*^9},{3.620909322753169*^9,3.620909349214952*^9},{3.6209123865427094`*^9,3.6209123871792994`*^9},{3.6209158813744173`*^9,3.62091588473803*^9},{3.6209785414259033`*^9,3.62097858187875*^9},{3.620978642726411*^9,3.620978657463879*^9},{3.62097872713682*^9,3.620978736119678*^9},{3.620978850005869*^9,3.6209789208678837`*^9},{3.620978952347314*^9,3.620978986171467*^9},{3.620979025953076*^9,3.620979026294869*^9},{3.620979057492242*^9,3.620979058932589*^9},{3.620980208597949*^9,3.620980266679237*^9},{3.620980319814295*^9,3.62098033819904*^9},{3.620980527950449*^9,3.620980544541465*^9},{3.620980612663015*^9,3.620980630398261*^9},{3.620980828042901*^9,3.620980858776236*^9},{3.620980979871849*^9,3.620980993366662*^9},3.620981312500807*^9,{3.620981450635119*^9,3.620981456116518*^9},{3.620985531776524*^9,3.620985562059825*^9},{3.620985802374845*^9,3.620985809701372*^9},{3.620986524405484*^9,3.6209867833855877`*^9},{3.620986814629223*^9,3.620986978878233*^9},3.620987031678178*^9,{3.620987065752811*^9,3.620987077497786*^9},{3.620987107725173*^9,3.6209871370877438`*^9},{3.620987177070517*^9,3.6209871858769283`*^9},{3.620987290201551*^9,3.620987350086443*^9},{3.62098740951128*^9,3.620987418981551*^9},{3.620987457780697*^9,3.620987484901897*^9},{3.620987535702186*^9,3.6209876173495617`*^9},{3.6209876655250263`*^9,3.6209877192812347`*^9},{3.620987798080659*^9,3.620987857454343*^9},3.620987898349654*^9,{3.620987954763809*^9,3.6209879553847723`*^9},{3.620988062007455*^9,3.620988065726091*^9},{3.620988493580688*^9,3.620988526270994*^9},{3.620988559180957*^9,3.6209886606211987`*^9},{3.6209887010480347`*^9,3.620988713275297*^9},{3.6209888628213053`*^9,3.620988951127551*^9},{3.6209925373143272`*^9,3.620992541616935*^9},{3.6209925775165367`*^9,3.6209925779770193`*^9},{3.620992608187112*^9,3.6209926085194674`*^9},{3.620992672702753*^9,3.620992677263751*^9},{3.620992732320518*^9,3.6209927448625793`*^9},{3.6209927935008373`*^9,3.620992795228341*^9},{3.620992827004019*^9,3.6209928297639847`*^9},{3.6209928705147676`*^9,3.620992927224908*^9},{3.620992985207507*^9,3.6209929868954067`*^9},{3.620995009779303*^9,3.620995039904427*^9},{3.620995849331113*^9,3.620995854681477*^9},{3.620995907275688*^9,3.620995931805023*^9},{3.62099626148256*^9,3.620996261678817*^9},{3.620996292457569*^9,3.620996330950683*^9},{3.620996367696151*^9,3.62099636909236*^9},{3.620996419856184*^9,3.620996490312901*^9},{3.620996952584234*^9,3.620996989562696*^9},{3.6220825504253807`*^9,3.622082550765708*^9},{3.6220826428156223`*^9,3.6220826940938*^9},{3.622083740618196*^9,3.6220837476734867`*^9},{3.6220838658460712`*^9,3.622083872076688*^9},{3.622084063252619*^9,3.6220840638419456`*^9},{3.622085209915538*^9,3.622085211927245*^9},{3.622090771898528*^9,3.622090822419726*^9},{3.622091797345943*^9,3.6220918158402777`*^9},{3.622102135041541*^9,3.622102135700913*^9},{3.622102189818725*^9,3.622102213038066*^9},{3.622103310336116*^9,3.6221033109189043`*^9},{3.62210349005728*^9,3.622103514555616*^9},{3.622207873688199*^9,3.622207876991602*^9},{3.6230477476236677`*^9,3.623047771065031*^9},{3.623047831737096*^9,3.623047867364923*^9},{3.623048169175543*^9,3.6230481832325153`*^9},{3.623048253863296*^9,3.623048325460843*^9},{3.623048670982191*^9,3.62304888733429*^9},{3.623048919105193*^9,3.623048946762587*^9},{3.62304904464285*^9,3.623049058746518*^9},3.6230494463830442`*^9,{3.623049733517541*^9,3.62304975967515*^9},3.62304979662344*^9,{3.623050312131596*^9,3.623050339163807*^9},{3.623050524378716*^9,3.623050616992559*^9},{3.623050664847333*^9,3.62305066868931*^9},{3.6230583728109407`*^9,3.623058400350136*^9},{3.623058494961218*^9,3.6230585256456013`*^9},{3.623058917339821*^9,3.623058917811741*^9},{3.623058966978882*^9,3.623058976805747*^9},{3.6230591056623697`*^9,3.623059127656857*^9},{3.623059175588385*^9,3.623059206009781*^9},{3.623059246929062*^9,3.6230592473104067`*^9},{3.623059478929653*^9,3.6230594793186207`*^9},{3.623059515277618*^9,3.6230595169549923`*^9},{3.623060300048202*^9,3.623060301157516*^9},{3.62306121435259*^9,3.623061233593096*^9},{3.6230613054755373`*^9,3.6230613240279922`*^9},{3.623061354455762*^9,3.623061368434184*^9},{3.623316623051736*^9,3.623316628024427*^9},{3.62331684038501*^9,3.623316854745398*^9},{3.623316918313032*^9,3.623316940455076*^9},{3.623316981966935*^9,3.6233169942147837`*^9},{3.6233172593087673`*^9,3.6233172604263973`*^9},{3.664095891091798*^9,3.664095953764456*^9},{3.6640959961583233`*^9,3.6640960350725822`*^9},{3.6640961583969*^9,3.664096165485488*^9},{3.664096252639449*^9,3.6640962626520767`*^9},{3.664096315082902*^9,3.664096327398739*^9},{3.6640963588991203`*^9,3.664096389285289*^9},{3.664096586224391*^9,3.6640965868977013`*^9},{3.664097169133974*^9,3.66409717125956*^9},{3.664097353245532*^9,3.664097353942193*^9},{3.664119272164351*^9,3.6641192874755*^9},3.664119326470989*^9,{3.667305185661009*^9,3.667305226923573*^9},3.6673053459123373`*^9,{3.6836857043938503`*^9,3.6836857089702883`*^9},{3.6836858018773108`*^9,3.6836858208504744`*^9},{3.683685977536563*^9,3.683685984890114*^9},{3.6836860373922443`*^9,3.683686052379346*^9},{3.6836860870334797`*^9,3.683686090832168*^9},{3.68368612497991*^9,3.683686158861867*^9},{3.683686193966621*^9,3.683686227454039*^9},{3.683686259320479*^9,3.6836862918228493`*^9},{3.6836863263670473`*^9,3.683686329853973*^9},{3.683686372366578*^9,3.6836863744367237`*^9},{3.683711819245017*^9,3.683711820259347*^9},{3.683711859599167*^9,3.6837119001724854`*^9},3.6837119849654207`*^9,{3.68371202485474*^9,3.6837120388283367`*^9},3.68371212328433*^9,3.6837122982022333`*^9,{3.683712339024437*^9,3.683712357793255*^9},{3.683712391151764*^9,3.683712459453115*^9},{3.683712493462138*^9,3.683712539337915*^9},{3.683712570985632*^9,3.6837125869193897`*^9},{3.683712619933876*^9,3.68371266654003*^9},{3.6837127003604507`*^9,3.6837127458547173`*^9},{3.683996818305523*^9,3.6839968699304*^9},3.683996914014098*^9,{3.683996977495614*^9,3.683997006167804*^9},3.6839970413375673`*^9,3.6839972358709106`*^9,3.683997308144658*^9,3.684106002101858*^9,{3.6842929901528873`*^9,3.684292995799696*^9},{3.684302729670527*^9,3.6843028085672483`*^9},{3.684303056309681*^9,3.684303056677143*^9},{3.6843031745236263`*^9,3.68430318875426*^9},{3.684303226385233*^9,3.684303226675961*^9},3.684303334706601*^9,{3.684331047753181*^9,3.684331048021954*^9},{3.684331104263854*^9,3.684331128779065*^9},{3.684331168828257*^9,3.684331201114709*^9},{3.684332326606189*^9,3.684332327001672*^9},{3.68433269856769*^9,3.684332742463449*^9},{3.6843328297105427`*^9,3.6843328969269533`*^9},{3.684332972883284*^9,3.6843329912021914`*^9},3.684392543377488*^9,{3.686061574694771*^9,3.686061610366768*^9},{3.686205057403336*^9,3.686205062124826*^9},{3.713165196591585*^9,3.713165209287327*^9},{3.713165258548008*^9,3.713165297127284*^9},{3.713165364785955*^9,3.713165386722556*^9},{3.713165438056319*^9,3.713165488216786*^9},{3.713165536546756*^9,3.713165554062886*^9},{3.713177307063513*^9,3.71317737120336*^9},{3.713177438055688*^9,3.713177443505336*^9},{3.7131774851813383`*^9,3.713177607177596*^9},{3.713177691906766*^9,3.713177712754281*^9},{3.713178013139184*^9,3.713178015039893*^9},3.71317804929495*^9,{3.713324876248003*^9,3.713324915084897*^9},{3.713324965379133*^9,3.7133249668192*^9},{3.7133249996246033`*^9,3.713325110634408*^9},{3.713325195739204*^9,3.713325198841571*^9},{3.713325236856914*^9,3.71332524188096*^9},{3.713325352876708*^9,3.713325437817072*^9},{3.71332560923825*^9,3.713325999160825*^9},{3.713326033422031*^9,3.7133261678758097`*^9},{3.713330485538615*^9,3.713330613399934*^9},{3.713343451282836*^9,3.713343543987241*^9},{3.7133435956718483`*^9,3.713343611043562*^9},{3.7136881275903997`*^9,3.713688161616644*^9},{3.713688236253744*^9,3.713688287742094*^9},3.713688334083375*^9,3.713688371664053*^9,{3.714535633430355*^9,3.714535639902919*^9},{3.714535691851042*^9,3.714535704124097*^9},{3.733968176753683*^9,3.733968223782248*^9},{3.733968398502029*^9,3.733968406430375*^9},{3.733969047315011*^9,3.7339690951943903`*^9},{3.7339692120597553`*^9,3.7339692121825323`*^9},{3.73396932242528*^9,3.7339693747257338`*^9},{3.733969819894904*^9,3.733969847344561*^9},{3.733969963236938*^9,3.733970002133786*^9},{3.7339700630144157`*^9,3.733970124287057*^9},{3.7339702319230967`*^9,3.733970261926653*^9},{3.7339702968205137`*^9,3.7339703018672543`*^9}},
CellLabel->"In[419]:=",ExpressionUUID->"3c369078-354a-4f18-9782-7ffdd8914b53"]},{1}],
ExpressionUUID->"5ec63b99-c7fb-468c-a494-a61bbf40bff5"],Cell[
CellGroupData[{Cell[
"\<Distance Matrix\>","Section",CellChangeTimes->{{3.71318040079108*^9,3.713180406170493*^9}},
ExpressionUUID->"cccd5b70-031e-40ca-b9f1-82ceae013cd6"],Cell[
BoxData[{RowBox[{RowBox[
{"SetDirectory","[",RowBox[{"NotebookDirectory","[","]"}],"]"}],";"," ",RowBox[{RowBox[
{"FileNames","[","]"}],"//","TableForm"}]}],"\[IndentingNewLine]",RowBox[{RowBox[
{"<<","\"dataAllowedEvoked.txt\""}],";"}],"\[IndentingNewLine]",RowBox[{RowBox[{"dataAllowedEvoked"," ","="," ",RowBox[
{"%","[",RowBox[{"[",RowBox[{"All",","," ",RowBox[{"2",";;","11"}]}],"]"}],"]"}]}],";"}],"\[IndentingNewLine]",RowBox[
{RowBox[{"<<","\"dataAllowedPacing.txt\""}],";"}],"\[IndentingNewLine]",RowBox[{RowBox[
{"dataAllowedPacing"," ","="," ",RowBox[{"%","[",RowBox[{"[",RowBox[{"All",","," ",RowBox[
{"2",";;","11"}]}],"]"}],"]"}]}],";"}],"\[IndentingNewLine]",RowBox[{RowBox[{"<<","\"dataNotallowed.txt\""}],";"}],"\[IndentingNewLine]",RowBox[
{RowBox[{RowBox[{"dataNotallowed"," ","="," ",RowBox[{"%","[",RowBox[{"[",RowBox[
{"All",","," ",RowBox[{"2",";;","11"}]}],"]"}],"]"}]}],";"}],"\[IndentingNewLine]"}],"\[IndentingNewLine]"}],
"Input",CellChangeTimes->{{3.713189208862412*^9,3.7131892196182613`*^9}},CellLabel->"In[51]:=",
ExpressionUUID->"647767fb-9dd6-4385-ae3d-0d18cc2fc397"],Cell[
BoxData[{RowBox[{RowBox[
{"dm1","=",RowBox[{"DeleteCases","["," ",RowBox[{RowBox[{"Flatten","["," ",RowBox[
{"UpperTriangularize","[",RowBox[{RowBox[{"DistanceMatrix","[",RowBox[{"dataAllowedEvoked",","," ",RowBox[
{"DistanceFunction","\[Rule]","EuclideanDistance"}]}],"]"}],","," ","1"}],"]"}]," ","]"}],","," ","0."}],"]"}]}],";"}],"\[IndentingNewLine]",RowBox[
{RowBox[{"dm2","=",RowBox[{"DeleteCases","["," ",RowBox[{RowBox[{"Flatten","["," ",RowBox[
{"UpperTriangularize","[",RowBox[{RowBox[{"DistanceMatrix","[",RowBox[{"dataAllowedPacing",","," ",RowBox[
{"DistanceFunction","\[Rule]","EuclideanDistance"}]}],"]"}],","," ","1"}],"]"}]," ","]"}],","," ","0."}],"]"}]}],";"}],"\[IndentingNewLine]",RowBox[
{RowBox[{RowBox[{"dm3","=",RowBox[{"DeleteCases","["," ",RowBox[{RowBox[{"Flatten","["," ",RowBox[
{"UpperTriangularize","[",RowBox[{RowBox[{"DistanceMatrix","[",RowBox[{"dataNotallowed",","," ",RowBox[
{"DistanceFunction","\[Rule]","EuclideanDistance"}]}],"]"}],","," ","1"}],"]"}]," ","]"}],","," ","0."}],"]"}]}],";"}],"\[IndentingNewLine]"}],"\[IndentingNewLine]",RowBox[
{RowBox[{"DistanceMatrix","[",RowBox[{RowBox[{"{",RowBox[{RowBox[{"Mean","[","dataAllowedEvoked","]"}],","," ",RowBox[
{"Mean","[","dataAllowedPacing","]"}],",",RowBox[{"Mean","[","dataNotallowed","]"}]}],"}"}],","," ",RowBox[
{"DistanceFunction","\[Rule]","EuclideanDistance"}]}],"]"}],"\[IndentingNewLine]"}],"\[IndentingNewLine]",RowBox[
{"dist1","=",RowBox[{"EstimatedDistribution","[",RowBox[{"dm1",",",RowBox[{"NormalDistribution","[",RowBox[
{StyleBox["\[Mu]","TR"],",",StyleBox["\[Sigma]","TR"]}],"]"}]}],"]"}]}],"\[IndentingNewLine]",RowBox[
{"dist2","=",RowBox[{"EstimatedDistribution","[",RowBox[{"dm2",",",RowBox[{"NormalDistribution","[",RowBox[
{StyleBox["\[Mu]","TR"],",",StyleBox["\[Sigma]","TR"]}],"]"}]}],"]"}]}],"\[IndentingNewLine]",RowBox[
{RowBox[{"dist3","=",RowBox[{"EstimatedDistribution","[",RowBox[{"dm3",",",RowBox[
{"NormalDistribution","[",RowBox[{StyleBox["\[Mu]","TR"],",",StyleBox["\[Sigma]",
"TR"]}],"]"}]}],"]"}]}],"\[IndentingNewLine]"}],"\[IndentingNewLine]"}],"Input",CellChangeTimes->CompressedData[
"\n1:eJwdzE0oQwEAB/BZr9kT0WNaG0lyWdxGmxZv5SPKDmvabJG0LckoEW1x8BE2\npS122EVZodUOUm4+2shhF7aaaB/ybYtmB5R6ef93+Pc7/P/9a4cntBY+j8eT\nsoEaV7ZTF8iqvVthPXRaRm2wtemd03z8OQmzj8QUXKBW1qB1Ju2GIWHkT89K\n+/v4BlbFrE8AeymahM8xgoI58lQE+bKMFNb7mSp4zsgcULVML8KY6c4FQ3ul\n67B6O7UBX4xKL1wytPvgKu3c4X49jiDX588uofboJAoffhrj3P4+XdjPWpDS\nlsD8YLISCiqmJZBoJkdgV9A+Bn/ctxc2Vqp7PwmvdF8M7FAKeOOscnNLMfzO\nMGVQGX5rgPGiVwU0iRMqKPnItcFryqOBhP6Xc0gkjs6xJiK6G1hjrHuCu4dy\nzgF1QDjP2rNpJ2F53kpB6iAkgv/5KuD+\n "],
CellLabel->"In[58]:=",ExpressionUUID->"be8fdcf7-97c4-4db5-847e-98ab60ea33f9"],Cell[
BoxData[
RowBox[{RowBox[{"Show","[","\[IndentingNewLine]",RowBox[{RowBox[{"Histogram","[",RowBox[
{RowBox[{"{",RowBox[{"dm1",","," ","dm2",",","dm3"}],"}"}],",","Automatic",","," ","\"PDF\"",","," ",RowBox[
{"ChartStyle","\[Rule]",RowBox[{"{",RowBox[{"Lighter","[","Gray","]"}],"}"}]}],","," ",RowBox[
{"ImageSize","\[Rule]","Medium"}],","," ",RowBox[{"Frame","\[Rule]",RowBox[{"{",RowBox[
{RowBox[{"{",RowBox[{"True",",","False"}],"}"}],",",RowBox[{"{",RowBox[{"True",",","False"}],"}"}]}],"}"}]}],","," ",RowBox[
{"FrameLabel","\[Rule]","None"}],","," ",RowBox[{"FrameTicks","\[Rule]",RowBox[{"{",RowBox[
{RowBox[{"{",RowBox[{"0.3",",","0.6",","," ","0.9"}],"}"}],",","None"}],"}"}]}],",",RowBox[
{"LabelStyle","\[Rule]",RowBox[{"{",RowBox[{RowBox[{"{",RowBox[{RowBox[{"FontFamily","\[Rule]","\"Times\""}],","," ","20"}],"}"}],","," ",RowBox[
{"{",RowBox[{RowBox[{"FontFamily","\[Rule]","\"Times\""}],","," ","20"}],"}"}]}],"}"}]}]}],"]"}],"\[IndentingNewLine]",",","\[IndentingNewLine]",RowBox[
{"Plot","[",RowBox[{RowBox[{"PDF","[",RowBox[{RowBox[{"NormalDistribution","[",RowBox[
{"0.614",",","0.12"}],"]"}],","," ","x"}],"]"}],",",RowBox[{"{",RowBox[{"x",",","0.2",",","1"}],"}"}],","," ",RowBox[
{"PlotStyle","\[Rule]","colorNexc"}]}],"]"}],",","\[IndentingNewLine]",RowBox[{"Plot","[",RowBox[
{RowBox[{"PDF","[",RowBox[{"dist2",",","x"}],"]"}],",",RowBox[{"{",RowBox[{"x",",","0.2",",","1"}],"}"}],","," ",RowBox[
{"PlotStyle","\[Rule]","colorOsc"}]}],"]"}],",","\[IndentingNewLine]",RowBox[{"Plot","[",RowBox[
{RowBox[{"PDF","[",RowBox[{"dist3",",","x"}],"]"}],",",RowBox[{"{",RowBox[{"x",",","0.2",",","1"}],"}"}],","," ",RowBox[
{"PlotStyle","\[Rule]","colorExc"}]}],"]"}]}],"\[IndentingNewLine]","\[IndentingNewLine]","]"}],"\[IndentingNewLine]"}]],
"Input",CellChangeTimes->{{3.713180215360755*^9,3.71318035011201*^9},{3.713180523324895*^9,3.7131805272877493`*^9},{3.713180567460619*^9,3.713180576152822*^9},{3.7131807482210093`*^9,3.713180814983325*^9},{3.713187806344819*^9,3.713187858676178*^9},{3.713187892827175*^9,3.713187914002234*^9},{3.713187984150866*^9,3.713188013969963*^9},{3.713188063317628*^9,3.713188071957415*^9},{3.7131888253435993`*^9,3.713188890016264*^9},{3.713188958823709*^9,3.7131889604892282`*^9},{3.713188990956923*^9,3.713189041792346*^9},{3.713189074135805*^9,3.7131891403203773`*^9},{3.7131892278616867`*^9,3.7131894380296507`*^9},{3.713189525959756*^9,3.713189553436509*^9},{3.7131896044699574`*^9,3.713189640308126*^9},{3.7131897761792583`*^9,3.713189808904365*^9},{3.713190143352646*^9,3.71319014857073*^9},{3.713190345196621*^9,3.713190379316051*^9},{3.713190494579783*^9,3.713190570048842*^9},{3.713190657136731*^9,3.713190657773539*^9},{3.713191277399225*^9,3.713191343866962*^9},{3.713191375254764*^9,3.7131913763138847`*^9},{3.713191468902198*^9,3.7131915669990587`*^9},{3.713191647668923*^9,3.7131917919986467`*^9},{3.713232656490982*^9,3.713232677189477*^9},{3.7132335661395206`*^9,3.7132335686565657`*^9},{3.713233720260889*^9,3.713233721166911*^9},{3.713233752045874*^9,3.713233754403006*^9},{3.7132338016384087`*^9,3.713233807836273*^9},{3.713233914256199*^9,3.7132339151791143`*^9},{3.7132343670514297`*^9,3.7132343692476254`*^9},{3.713264681750449*^9,3.713264683256731*^9},{3.7132647854114037`*^9,3.713264789719618*^9},{3.713264845050498*^9,3.713264866089354*^9},{3.713264932839149*^9,3.713264944267054*^9},{3.7132658752905912`*^9,3.713265906959547*^9},{3.713265939180997*^9,3.713265958325364*^9},{3.713266141419609*^9,3.713266144014523*^9},3.713266182833459*^9,{3.713266496197208*^9,3.7132665226295433`*^9},{3.713266677538897*^9,3.7132666781430883`*^9},{3.7133239975086393`*^9,3.7133240352894783`*^9},{3.7133431660364847`*^9,3.7133431884674997`*^9},{3.71334323007364*^9,3.713343234222978*^9},{3.713343265716158*^9,3.713343266518836*^9}},
CellLabel->"In[65]:=",ExpressionUUID->"50ab35b8-deea-47e9-9029-69ade6d6ceec"]},{1}],
ExpressionUUID->"c17bd419-9650-4dcf-b05c-452b2ce03476"],Cell[
CellGroupData[{Cell[
TextData[
{"Plot Structural ",StyleBox["vs",FontSlant->"Italic"]," Kinetic in 2D with Scaled Parameters [0.75, 1.25]"}],
"Section",CellChangeTimes->{{3.686123311351616*^9,3.686123345468418*^9},3.7139344266810207`*^9,{3.732114226155787*^9,3.732114226752654*^9}},
ExpressionUUID->"0cb06b70-af75-461a-893a-d453151c616f"],Cell[
BoxData[{RowBox[{RowBox[
{RowBox[{"SetDirectory","[",RowBox[{"NotebookDirectory","[","]"}],"]"}],";"}],"\[IndentingNewLine]"}],"\[IndentingNewLine]",RowBox[
{RowBox[{"<<","\"dataAllowedEvoked.txt\""}],";"}],"\[IndentingNewLine]",RowBox[{RowBox[
{"dataAllowedEvoked"," ","="," ",RowBox[{"%","[",RowBox[{"[",RowBox[{"All",","," ",RowBox[
{"2",";;","12"}]}],"]"}],"]"}]}],";"}],"\[IndentingNewLine]",RowBox[{RowBox[{"<<","\"dataAllowedPacing.txt\""}],";"}],"\[IndentingNewLine]",RowBox[
{RowBox[{"dataAllowedPacing"," ","="," ",RowBox[{"%","[",RowBox[{"[",RowBox[{"All",","," ",RowBox[
{"2",";;","12"}]}],"]"}],"]"}]}],";"}],"\[IndentingNewLine]",RowBox[{RowBox[{"<<","\"dataNotallowed.txt\""}],";"}],"\[IndentingNewLine]",RowBox[
{RowBox[{RowBox[{"dataNotallowed"," ","="," ",RowBox[{"%","[",RowBox[{"[",RowBox[
{"All",","," ",RowBox[{"2",";;","12"}]}],"]"}],"]"}]}],";"}],"\[IndentingNewLine]"}],"\[IndentingNewLine]",RowBox[
{"p22"," ","="," ",RowBox[{"ListPlot","[",RowBox[{RowBox[{"{","\[IndentingNewLine]",RowBox[
{RowBox[{"Transpose","[",RowBox[{"{","\[IndentingNewLine]",RowBox[{RowBox[{RowBox[
{"(",RowBox[{RowBox[{"dataAllowedEvoked","[",RowBox[{"[",RowBox[{"All",","," ","1"}],"]"}],"]"}],"+"," ",RowBox[
{"dataAllowedEvoked","[",RowBox[{"[",RowBox[{"All",","," ","4"}],"]"}],"]"}]}]," ",")"}],"/"," ","\[IndentingNewLine]",RowBox[
{"(",RowBox[{RowBox[{"dataAllowedEvoked","[",RowBox[{"[",RowBox[{"All",","," ","2"}],"]"}],"]"}],"+"," ",RowBox[
{"dataAllowedEvoked","[",RowBox[{"[",RowBox[{"All",","," ","3"}],"]"}],"]"}],"+",RowBox[
{"dataAllowedEvoked","[",RowBox[{"[",RowBox[{"All",","," ","1"}],"]"}],"]"}],"+"," ",RowBox[
{"dataAllowedEvoked","[",RowBox[{"[",RowBox[{"All",","," ","4"}],"]"}],"]"}]}],")"}]}],"\[IndentingNewLine]",",","\[IndentingNewLine]",RowBox[
{"(*",RowBox[{"dataAllowedEvoked","[",RowBox[{"[",RowBox[{"All",","," ","7"}],"]"}],"]"}]," ","*)"}],RowBox[
{RowBox[{"dataAllowedEvoked","[",RowBox[{"[",RowBox[{"All",","," ","10"}],"]"}],"]"}],"/",RowBox[
{"(",RowBox[{RowBox[{"dataAllowedEvoked","[",RowBox[{"[",RowBox[{"All",","," ","9"}],"]"}],"]"}],"+",RowBox[
{"dataAllowedEvoked","[",RowBox[{"[",RowBox[{"All",","," ","10"}],"]"}],"]"}]}],")"}]}]}],"\[IndentingNewLine]","\[IndentingNewLine]","}"}],"]"}],","," ","\[IndentingNewLine]",RowBox[
{"Transpose","[",RowBox[{"{","\[IndentingNewLine]",RowBox[{RowBox[{RowBox[{"(",RowBox[
{RowBox[{"dataNotallowed","[",RowBox[{"[",RowBox[{"All",","," ","1"}],"]"}],"]"}],"+"," ",RowBox[
{"dataNotallowed","[",RowBox[{"[",RowBox[{"All",","," ","4"}],"]"}],"]"}]}]," ",")"}],"/"," ","\[IndentingNewLine]",RowBox[
{"(",RowBox[{RowBox[{"dataNotallowed","[",RowBox[{"[",RowBox[{"All",","," ","2"}],"]"}],"]"}],"+"," ",RowBox[
{"dataNotallowed","[",RowBox[{"[",RowBox[{"All",","," ","3"}],"]"}],"]"}],"+",RowBox[
{"dataNotallowed","[",RowBox[{"[",RowBox[{"All",","," ","1"}],"]"}],"]"}],"+"," ",RowBox[
{"dataNotallowed","[",RowBox[{"[",RowBox[{"All",","," ","4"}],"]"}],"]"}]}],")"}]}],"\[IndentingNewLine]",",","\[IndentingNewLine]",RowBox[
{"(*",RowBox[{"dataNotallowed","[",RowBox[{"[",RowBox[{"All",","," ","7"}],"]"}],"]"}],"*)"}]," ",RowBox[
{RowBox[{"dataNotallowed","[",RowBox[{"[",RowBox[{"All",","," ","10"}],"]"}],"]"}]," ","/",RowBox[
{"(",RowBox[{RowBox[{"dataNotallowed","[",RowBox[{"[",RowBox[{"All",","," ","9"}],"]"}],"]"}],"+",RowBox[
{"dataNotallowed","[",RowBox[{"[",RowBox[{"All",","," ","10"}],"]"}],"]"}]}],")"}]}]}],"\[IndentingNewLine]","}"}],"]"}],"\[IndentingNewLine]",","," ","\[IndentingNewLine]","\[IndentingNewLine]",RowBox[
{"Transpose","[",RowBox[{"{","\[IndentingNewLine]",RowBox[{RowBox[{RowBox[{"(",RowBox[
{RowBox[{"dataAllowedPacing","[",RowBox[{"[",RowBox[{"All",","," ","1"}],"]"}],"]"}],"+"," ",RowBox[
{"dataAllowedPacing","[",RowBox[{"[",RowBox[{"All",","," ","4"}],"]"}],"]"}]}],")"}],"/"," ","\[IndentingNewLine]",RowBox[
{"(",RowBox[{RowBox[{"dataAllowedPacing","[",RowBox[{"[",RowBox[{"All",","," ","2"}],"]"}],"]"}],"+"," ",RowBox[
{"dataAllowedPacing","[",RowBox[{"[",RowBox[{"All",","," ","3"}],"]"}],"]"}],"+",RowBox[
{"dataAllowedPacing","[",RowBox[{"[",RowBox[{"All",","," ","1"}],"]"}],"]"}],"+"," ",RowBox[
{"dataAllowedPacing","[",RowBox[{"[",RowBox[{"All",","," ","4"}],"]"}],"]"}]}],")"}]}],"\[IndentingNewLine]",",","\[IndentingNewLine]",RowBox[
{"(*",RowBox[{"dataAllowedPacing","[",RowBox[{"[",RowBox[{"All",","," ","7"}],"]"}],"]"}],"*)"}],RowBox[
{RowBox[{"dataAllowedPacing","[",RowBox[{"[",RowBox[{"All",","," ","10"}],"]"}],"]"}]," ","/",RowBox[
{"(",RowBox[{RowBox[{"dataAllowedPacing","[",RowBox[{"[",RowBox[{"All",","," ","9"}],"]"}],"]"}]," ","+",RowBox[
{"dataAllowedPacing","[",RowBox[{"[",RowBox[{"All",","," ","10"}],"]"}],"]"}]}],")"}]}]}],"\[IndentingNewLine]","}"}],"]"}]}],"\[IndentingNewLine]","}"}],",","\[IndentingNewLine]",RowBox[
{"PlotStyle","\[Rule]",RowBox[{"{",RowBox[{RowBox[{"{",RowBox[{RowBox[{"PointSize","[",".01","]"}],","," ","colorExc",","," ",RowBox[
{"Opacity","[","0.75","]"}]}],"}"}],",",RowBox[{"{",RowBox[{RowBox[{"PointSize","[",".01","]"}],","," ","colorNexc",","," ",RowBox[
{"Opacity","[","0.5","]"}]}],"}"}],","," ",RowBox[{"{",RowBox[{RowBox[{"PointSize","[",".01","]"}],","," ","colorOsc",","," ",RowBox[
{"Opacity","[","0.5","]"}]}],"}"}]}],"}"}]}],",","\[IndentingNewLine]",RowBox[{"Frame","\[Rule]","True"}],","," ",RowBox[
{"FrameLabel","\[Rule]",RowBox[{"{",RowBox[{"\"\:f7c1\:f7c9\:f7c8StyleBox[\"Kinetic\",FontSlant->\"Italic\"]\:f7c0 Restoring \[RightArrow] (\:f7c1\:f7c9\:f7c8SubscriptBox[\:f7c9\[Alpha]\:f7c0, \:f7c9n\:f7c0]\:f7c0+\:f7c1\:f7c9\:f7c8SubscriptBox[\:f7c9\[Beta]\:f7c0, \:f7c9m\:f7c0]\:f7c0)/(\:f7c1\:f7c9\:f7c8SubscriptBox[\:f7c9\[Alpha]\:f7c0, \:f7c9n\:f7c0]\:f7c0+\:f7c1\:f7c9\:f7c8SubscriptBox[\:f7c9\[Beta]\:f7c0, \:f7c9n\:f7c0]\:f7c0+\:f7c1\:f7c9\:f7c8SubscriptBox[\:f7c9\[Alpha]\:f7c0, \:f7c9m\:f7c0]\:f7c0+\:f7c1\:f7c9\:f7c8SubscriptBox[\:f7c9\[Beta]\:f7c0, \:f7c9m\:f7c0]\:f7c0)\"",","," ","\"\:f7c1\:f7c9\:f7c8StyleBox[\"Structural\",FontSlant->\"Italic\"]\:f7c0 Restoring \[RightArrow] \:f7c1\:f7c9\:f7c8SubscriptBox[OverscriptBox[\:f7c9G\:f7c0, \:f7c9_\:f7c0], \:f7c9Na\:f7c0]\:f7c0/(\:f7c1\:f7c9\:f7c8SubscriptBox[OverscriptBox[\:f7c9G\:f7c0, \:f7c9_\:f7c0], \:f7c9Na\:f7c0]\:f7c0+\:f7c1\:f7c9\:f7c8SubscriptBox[OverscriptBox[\:f7c9G\:f7c0, \:f7c9_\:f7c0], \:f7c9K\:f7c0]\:f7c0)\""}],"}"}]}],","," ",RowBox[
{"PlotRange","\[Rule]",RowBox[{"{",RowBox[{"All",","," ","All"}],"}"}]}],",",RowBox[
{"AspectRatio","\[Rule]","1"}],",",RowBox[{"LabelStyle","\[Rule]",RowBox[{"{",RowBox[
{RowBox[{"FontFamily","\[Rule]","\"Times\""}],",","18",","," ","Black"}],"}"}]}],",",RowBox[
{"PlotLabel","\[Rule]","\"Kinetic \:f7c1\:f7c9\:f7c8StyleBox[\"vs\",FontSlant->\"Italic\"]\:f7c0 Structural dimensions\""}],","," ","\[IndentingNewLine]"," ",RowBox[
{"ImageSize","\[Rule]","Large"}]}]," ","]"}]}],"\[IndentingNewLine]"}],"Input",CellChangeTimes->{{3.6860337328665857`*^9,3.6860337672679157`*^9},3.6860339532632837`*^9,{3.6860340178059797`*^9,3.6860340353018103`*^9},{3.686034197553603*^9,3.686034213128727*^9},{3.6860342731740437`*^9,3.686034337835693*^9},{3.686034370240172*^9,3.6860344188641872`*^9},{3.686055364323491*^9,3.686055369915394*^9},{3.686061837102738*^9,3.6860619036425657`*^9},{3.686061939140369*^9,3.6860619643634453`*^9},{3.686062020613407*^9,3.686062057563916*^9},{3.686062240148514*^9,3.6860622911784067`*^9},{3.686062647308238*^9,3.686062648771844*^9},{3.686106695759481*^9,3.686106788473811*^9},{3.686106822116497*^9,3.6861068408262577`*^9},{3.686106901492466*^9,3.686106942101801*^9},{3.686108004609765*^9,3.686108033208713*^9},{3.686109175057066*^9,3.686109176588357*^9},{3.686109286188048*^9,3.686109291061268*^9},{3.686109325146559*^9,3.686109335769438*^9},{3.686109386633931*^9,3.686109477069681*^9},{3.686109546868346*^9,3.686109576501199*^9},{3.6861096141501904`*^9,3.686109640429977*^9},{3.686109688708474*^9,3.6861096904589453`*^9},3.686109752994307*^9,{3.686111283506185*^9,3.6861113077398643`*^9},{3.6861113378477163`*^9,3.6861113455093603`*^9},{3.686111457751382*^9,3.686111501967065*^9},{3.686122945631735*^9,3.686122976575603*^9},{3.686123013743671*^9,3.6861230317307453`*^9},{3.686123092363789*^9,3.686123100554288*^9},3.686123345469095*^9,{3.686123541648747*^9,3.686123595351836*^9},{3.686206451108287*^9,3.686206452555901*^9},{3.686219176307048*^9,3.686219297771638*^9},{3.686220114700815*^9,3.6862201201475554`*^9},{3.6862201971193047`*^9,3.686220210381647*^9},{3.6862202738891068`*^9,3.6862202935386133`*^9},{3.686220334752275*^9,3.686220335950199*^9},{3.686220399237913*^9,3.686220405045628*^9},{3.686295838754837*^9,3.686295884478682*^9},3.686466238427825*^9,{3.686466270129465*^9,3.686466303977027*^9},{3.686466336296591*^9,3.6864663392304287`*^9},3.686466399279221*^9,{3.6864664529111032`*^9,3.686466500785177*^9},{3.686466635540112*^9,3.6864667037938623`*^9},3.686466897565998*^9,{3.6864670916705103`*^9,3.68646723476363*^9},{3.686833171872911*^9,3.686833176263495*^9},{3.687077827448502*^9,3.687077830056065*^9},{3.687350641303424*^9,3.687350680755048*^9},{3.687350716926866*^9,3.687350793063912*^9},{3.7133517184824867`*^9,3.713351747905746*^9},{3.7133517877917023`*^9,3.7133518117770243`*^9},{3.7133518421776333`*^9,3.713351890955007*^9},{3.7136888851025257`*^9,3.713688900762329*^9},3.713934426681115*^9},
CellLabel->"In[66]:=",ExpressionUUID->"076f6862-5cf6-4770-b24c-34943f6bb943"]},{1}],
ExpressionUUID->"a49bb53a-d0ae-47fb-8f37-810af23a59a9"],Cell[
CellGroupData[{Cell[
"\<Fit Excitable Cloud with Scaled Parameters [0.75, 1.25]\>","Section",CellChangeTimes->{{3.713934442890553*^9,3.7139344508577547`*^9},{3.73211423860226*^9,3.7321142391216927`*^9}},
ExpressionUUID->"63af76e0-012a-419a-b5cd-7ab7a4264276"],Cell[
BoxData[{RowBox[{RowBox[
{"SetDirectory","[",RowBox[{"NotebookDirectory","[","]"}],"]"}],";"," ",RowBox[{RowBox[
{"FileNames","[","]"}],"//","TableForm"}]}],"\[IndentingNewLine]",RowBox[{RowBox[
{"<<","\"dataAllowedEvoked.txt\""}],";"}],"\[IndentingNewLine]",RowBox[{RowBox[{"dataAllowedEvoked"," ","="," ",RowBox[
{"%","[",RowBox[{"[",RowBox[{"All",","," ",RowBox[{"2",";;","11"}]}],"]"}],"]"}]}],";"}],"\[IndentingNewLine]",RowBox[
{RowBox[{"<<","\"dataAllowedPacing.txt\""}],";"}],"\[IndentingNewLine]",RowBox[{RowBox[
{"dataAllowedPacing"," ","="," ",RowBox[{"%","[",RowBox[{"[",RowBox[{"All",","," ",RowBox[
{"2",";;","11"}]}],"]"}],"]"}]}],";"}],"\[IndentingNewLine]",RowBox[{RowBox[{"<<","\"dataNotallowed.txt\""}],";"}],"\[IndentingNewLine]",RowBox[
{RowBox[{RowBox[{"dataNotallowed"," ","="," ",RowBox[{"%","[",RowBox[{"[",RowBox[
{"All",","," ",RowBox[{"2",";;","11"}]}],"]"}],"]"}]}],";"}],"\[IndentingNewLine]"}],"\[IndentingNewLine]"}],
"Input",CellChangeTimes->{3.687349097292791*^9,{3.6873491399456053`*^9,3.68734925155199*^9},{3.687349310427105*^9,3.687349326663497*^9},{3.713352029819471*^9,3.713352033259417*^9},{3.71392071924697*^9,3.713920728153985*^9},3.713934426683155*^9,3.7139344837693367`*^9,3.7321083657344*^9},
CellLabel->"In[74]:=",ExpressionUUID->"e9011ce3-9921-453e-9ab5-5e5911cf95fe"],Cell[
BoxData[
RowBox[{"\[IndentingNewLine]",RowBox[{RowBox[{RowBox[{"data"," ","="," ",RowBox[{"Transpose","[",RowBox[
{"{","\[IndentingNewLine]",RowBox[{RowBox[{RowBox[{"(",RowBox[{RowBox[{"dataAllowedEvoked","[",RowBox[
{"[",RowBox[{"All",","," ","1"}],"]"}],"]"}],"+"," ",RowBox[{"dataAllowedEvoked","[",RowBox[
{"[",RowBox[{"All",","," ","4"}],"]"}],"]"}]}]," ",")"}],"/"," ","\[IndentingNewLine]",RowBox[
{"(",RowBox[{RowBox[{"dataAllowedEvoked","[",RowBox[{"[",RowBox[{"All",","," ","2"}],"]"}],"]"}],"+"," ",RowBox[
{"dataAllowedEvoked","[",RowBox[{"[",RowBox[{"All",","," ","3"}],"]"}],"]"}],"+",RowBox[
{"dataAllowedEvoked","[",RowBox[{"[",RowBox[{"All",","," ","1"}],"]"}],"]"}],"+"," ",RowBox[
{"dataAllowedEvoked","[",RowBox[{"[",RowBox[{"All",","," ","4"}],"]"}],"]"}]}],")"}]}],"\[IndentingNewLine]",",","\[IndentingNewLine]",RowBox[
{RowBox[{"dataAllowedEvoked","[",RowBox[{"[",RowBox[{"All",","," ","10"}],"]"}],"]"}],"/",RowBox[
{"(",RowBox[{RowBox[{"dataAllowedEvoked","[",RowBox[{"[",RowBox[{"All",","," ","9"}],"]"}],"]"}],"+",RowBox[
{"dataAllowedEvoked","[",RowBox[{"[",RowBox[{"All",","," ","10"}],"]"}],"]"}]}],")"}]}]}],"\[IndentingNewLine]","\[IndentingNewLine]","}"}],"]"}]}],";"}],"\[IndentingNewLine]","\[IndentingNewLine]",RowBox[
{"fit1"," ","="," ",RowBox[{"LinearModelFit","[",RowBox[{"data",",","x",",","x"}],"]"}]}],"\[IndentingNewLine]","\[IndentingNewLine]",RowBox[
{"Show","[","\[IndentingNewLine]","\[IndentingNewLine]",RowBox[{RowBox[{"ListPlot","[",RowBox[
{"data",",",RowBox[{"PlotStyle","\[Rule]",RowBox[{"{",RowBox[{RowBox[{"PointSize","[",".01","]"}],","," ","colorExc",","," ",RowBox[
{"Opacity","[","0.75","]"}]}],"}"}]}],",","\[IndentingNewLine]",RowBox[{"Frame","\[Rule]","True"}],","," ",RowBox[
{"FrameLabel","\[Rule]",RowBox[{"{",RowBox[{"\"\:f7c1\:f7c9\:f7c8StyleBox[\"Kinetic\",FontSlant->\"Italic\"]\:f7c0 Restoring \[RightArrow] (\:f7c1\:f7c9\:f7c8SubscriptBox[\:f7c9\[Alpha]\:f7c0, \:f7c9n\:f7c0]\:f7c0+\:f7c1\:f7c9\:f7c8SubscriptBox[\:f7c9\[Beta]\:f7c0, \:f7c9m\:f7c0]\:f7c0)/(\:f7c1\:f7c9\:f7c8SubscriptBox[\:f7c9\[Alpha]\:f7c0, \:f7c9n\:f7c0]\:f7c0+\:f7c1\:f7c9\:f7c8SubscriptBox[\:f7c9\[Beta]\:f7c0, \:f7c9n\:f7c0]\:f7c0+\:f7c1\:f7c9\:f7c8SubscriptBox[\:f7c9\[Alpha]\:f7c0, \:f7c9m\:f7c0]\:f7c0+\:f7c1\:f7c9\:f7c8SubscriptBox[\:f7c9\[Beta]\:f7c0, \:f7c9m\:f7c0]\:f7c0)\"",","," ","\"\:f7c1\:f7c9\:f7c8StyleBox[\"Structural\",FontSlant->\"Italic\"]\:f7c0 Restoring \[RightArrow] \:f7c1\:f7c9\:f7c8SubscriptBox[OverscriptBox[\:f7c9G\:f7c0, \:f7c9_\:f7c0], \:f7c9Na\:f7c0]\:f7c0/(\:f7c1\:f7c9\:f7c8SubscriptBox[OverscriptBox[\:f7c9G\:f7c0, \:f7c9_\:f7c0], \:f7c9Na\:f7c0]\:f7c0+\:f7c1\:f7c9\:f7c8SubscriptBox[OverscriptBox[\:f7c9G\:f7c0, \:f7c9_\:f7c0], \:f7c9K\:f7c0]\:f7c0)\""}],"}"}]}],","," ",RowBox[
{"PlotRange","\[Rule]",RowBox[{"{",RowBox[{"All",","," ",RowBox[{"{",RowBox[{"0.35",","," ","All"}],"}"}]}],"}"}]}],",",RowBox[
{"AspectRatio","\[Rule]","1"}],",",RowBox[{"LabelStyle","\[Rule]",RowBox[{"{",RowBox[
{RowBox[{"FontFamily","\[Rule]","\"Times\""}],",","18",","," ","Black"}],"}"}]}],",",RowBox[
{"PlotLabel","\[Rule]","\"Kinetic \:f7c1\:f7c9\:f7c8StyleBox[\"vs\",FontSlant->\"Italic\"]\:f7c0 Structural dimensions\""}],","," ","\[IndentingNewLine]"," ",RowBox[
{"ImageSize","\[Rule]","Large"}]}],"]"}],",","\[IndentingNewLine]"," ","\[IndentingNewLine]",RowBox[
{"Plot","[",RowBox[{RowBox[{"fit1","[","\"BestFit\"","]"}],","," ",RowBox[{"{",RowBox[
{"x",","," ","0.425",","," ","0.58"}],"}"}],","," ",RowBox[{"PlotRange","\[Rule]","All"}]}],"]"}],",","\[IndentingNewLine]","\[IndentingNewLine]",RowBox[
{"Epilog","->",RowBox[{"{",RowBox[{"Inset","[",RowBox[{"fit1",","," ",RowBox[{"{",RowBox[
{"0.47",","," ","0.8"}],"}"}]}]," ","]"}],"}"}]}]}],"\[IndentingNewLine]","\[IndentingNewLine]","]"}],"\[IndentingNewLine]"}]}]],
"Input",CellChangeTimes->{3.687349097292791*^9,{3.6873491399456053`*^9,3.68734925155199*^9},{3.687349310427105*^9,3.687349342697584*^9},{3.6873494308603783`*^9,3.6873494651574287`*^9},{3.68734949531313*^9,3.687349527002121*^9},3.687349569730369*^9,{3.687349765736257*^9,3.6873498356949453`*^9},{3.687349943540173*^9,3.687349961454693*^9},{3.687350027026519*^9,3.68735011829879*^9},{3.687350148805552*^9,3.687350250727109*^9},{3.687350287061613*^9,3.687350304630907*^9},{3.7133520599718924`*^9,3.7133521060792828`*^9},{3.713688918268558*^9,3.713688925534108*^9},3.7139194953960648`*^9,{3.7139208000497723`*^9,3.713920811785005*^9},{3.713920865134411*^9,3.713920917500311*^9},3.7139344266849117`*^9,3.713934483769619*^9,{3.732108456740745*^9,3.732108457102762*^9}},
CellLabel->"In[81]:=",ExpressionUUID->"feec748f-9f61-4d11-af9f-50f2094bea27"]},{1}],
ExpressionUUID->"3f3c182e-cd44-4c5b-a51d-e11fbc602a19"],Cell[
CellGroupData[{Cell[
"\<Fit Excitable Cloud with Wider Range of Scaled Parameters\>","Section",CellChangeTimes->{{3.713934442890553*^9,3.7139344508577547`*^9},{3.73211423860226*^9,3.7321142391216927`*^9},{3.732114392242709*^9,3.7321144030992737`*^9}},
ExpressionUUID->"f0581a7d-4383-4c55-b55b-37df6b76fb19"],Cell[
BoxData[{RowBox[{RowBox[
{"SetDirectory","[",RowBox[{"NotebookDirectory","[","]"}],"]"}],";"," ",RowBox[{RowBox[
{"FileNames","[","]"}],"//","TableForm"}]}],"\[IndentingNewLine]",RowBox[{RowBox[
{"<<","\"dataAllowedEvokedWideRange.txt\""}],";"}],"\[IndentingNewLine]",RowBox[{RowBox[
{"dataAllowedEvoked"," ","="," ",RowBox[{"%","[",RowBox[{"[",RowBox[{"All",","," ",RowBox[
{"2",";;","11"}]}],"]"}],"]"}]}],";"}],"\[IndentingNewLine]",RowBox[{RowBox[{"<<","\"dataAllowedPacingWideRange.txt\""}],";"}],"\[IndentingNewLine]",RowBox[
{RowBox[{"dataAllowedPacing"," ","="," ",RowBox[{"%","[",RowBox[{"[",RowBox[{"All",","," ",RowBox[
{"2",";;","11"}]}],"]"}],"]"}]}],";"}],"\[IndentingNewLine]",RowBox[{RowBox[{"<<","\"dataNotallowedWideRange.txt\""}],";"}],"\[IndentingNewLine]",RowBox[
{RowBox[{RowBox[{"dataNotallowed"," ","="," ",RowBox[{"%","[",RowBox[{"[",RowBox[
{"All",","," ",RowBox[{"2",";;","11"}]}],"]"}],"]"}]}],";"}],"\[IndentingNewLine]"}],"\[IndentingNewLine]"}],
"Input",CellChangeTimes->{3.687349097292791*^9,{3.6873491399456053`*^9,3.68734925155199*^9},{3.687349310427105*^9,3.687349326663497*^9},{3.713352029819471*^9,3.713352033259417*^9},{3.71392071924697*^9,3.713920728153985*^9},3.713934426683155*^9,3.7139344837693367`*^9,3.7321083657344*^9,{3.7321144174764977`*^9,3.732114434074151*^9}},
CellLabel->"In[101]:=",ExpressionUUID->"d0ff247e-9cb3-4a17-8bc7-9ac95c65c25e"],Cell[
BoxData[
RowBox[{"\[IndentingNewLine]",RowBox[{RowBox[{RowBox[{"data"," ","="," ",RowBox[{"Transpose","[",RowBox[
{"{","\[IndentingNewLine]",RowBox[{RowBox[{RowBox[{"(",RowBox[{RowBox[{"dataAllowedEvoked","[",RowBox[
{"[",RowBox[{"All",","," ","1"}],"]"}],"]"}],"+"," ",RowBox[{"dataAllowedEvoked","[",RowBox[
{"[",RowBox[{"All",","," ","4"}],"]"}],"]"}]}]," ",")"}],"/"," ","\[IndentingNewLine]",RowBox[
{"(",RowBox[{RowBox[{"dataAllowedEvoked","[",RowBox[{"[",RowBox[{"All",","," ","2"}],"]"}],"]"}],"+"," ",RowBox[
{"dataAllowedEvoked","[",RowBox[{"[",RowBox[{"All",","," ","3"}],"]"}],"]"}],"+",RowBox[
{"dataAllowedEvoked","[",RowBox[{"[",RowBox[{"All",","," ","1"}],"]"}],"]"}],"+"," ",RowBox[
{"dataAllowedEvoked","[",RowBox[{"[",RowBox[{"All",","," ","4"}],"]"}],"]"}]}],")"}]}],"\[IndentingNewLine]",",","\[IndentingNewLine]",RowBox[
{RowBox[{"dataAllowedEvoked","[",RowBox[{"[",RowBox[{"All",","," ","10"}],"]"}],"]"}],"/",RowBox[
{"(",RowBox[{RowBox[{"dataAllowedEvoked","[",RowBox[{"[",RowBox[{"All",","," ","9"}],"]"}],"]"}],"+",RowBox[
{"dataAllowedEvoked","[",RowBox[{"[",RowBox[{"All",","," ","10"}],"]"}],"]"}]}],")"}]}]}],"\[IndentingNewLine]","\[IndentingNewLine]","}"}],"]"}]}],";"}],"\[IndentingNewLine]","\[IndentingNewLine]",RowBox[
{"fit1"," ","="," ",RowBox[{"LinearModelFit","[",RowBox[{"data",",","x",",","x"}],"]"}]}],"\[IndentingNewLine]","\[IndentingNewLine]",RowBox[
{"Show","[","\[IndentingNewLine]","\[IndentingNewLine]",RowBox[{RowBox[{"ListPlot","[",RowBox[
{"data",",",RowBox[{"PlotStyle","\[Rule]",RowBox[{"{",RowBox[{RowBox[{"PointSize","[",".01","]"}],","," ","colorExc",","," ",RowBox[
{"Opacity","[","0.75","]"}]}],"}"}]}],",","\[IndentingNewLine]",RowBox[{"Frame","\[Rule]","True"}],","," ",RowBox[
{"FrameLabel","\[Rule]",RowBox[{"{",RowBox[{"\"\:f7c1\:f7c9\:f7c8StyleBox[\"Kinetic\",FontSlant->\"Italic\"]\:f7c0 Restoring \[RightArrow] (\:f7c1\:f7c9\:f7c8SubscriptBox[\:f7c9\[Alpha]\:f7c0, \:f7c9n\:f7c0]\:f7c0+\:f7c1\:f7c9\:f7c8SubscriptBox[\:f7c9\[Beta]\:f7c0, \:f7c9m\:f7c0]\:f7c0)/(\:f7c1\:f7c9\:f7c8SubscriptBox[\:f7c9\[Alpha]\:f7c0, \:f7c9n\:f7c0]\:f7c0+\:f7c1\:f7c9\:f7c8SubscriptBox[\:f7c9\[Beta]\:f7c0, \:f7c9n\:f7c0]\:f7c0+\:f7c1\:f7c9\:f7c8SubscriptBox[\:f7c9\[Alpha]\:f7c0, \:f7c9m\:f7c0]\:f7c0+\:f7c1\:f7c9\:f7c8SubscriptBox[\:f7c9\[Beta]\:f7c0, \:f7c9m\:f7c0]\:f7c0)\"",","," ","\"\:f7c1\:f7c9\:f7c8StyleBox[\"Structural\",FontSlant->\"Italic\"]\:f7c0 Restoring \[RightArrow] \:f7c1\:f7c9\:f7c8SubscriptBox[OverscriptBox[\:f7c9G\:f7c0, \:f7c9_\:f7c0], \:f7c9Na\:f7c0]\:f7c0/(\:f7c1\:f7c9\:f7c8SubscriptBox[OverscriptBox[\:f7c9G\:f7c0, \:f7c9_\:f7c0], \:f7c9Na\:f7c0]\:f7c0+\:f7c1\:f7c9\:f7c8SubscriptBox[OverscriptBox[\:f7c9G\:f7c0, \:f7c9_\:f7c0], \:f7c9K\:f7c0]\:f7c0)\""}],"}"}]}],","," ",RowBox[
{"PlotRange","\[Rule]",RowBox[{"{",RowBox[{"All",","," ",RowBox[{"{",RowBox[{"0.35",","," ","All"}],"}"}]}],"}"}]}],",",RowBox[
{"AspectRatio","\[Rule]","1"}],",",RowBox[{"LabelStyle","\[Rule]",RowBox[{"{",RowBox[
{RowBox[{"FontFamily","\[Rule]","\"Times\""}],",","18",","," ","Black"}],"}"}]}],",",RowBox[
{"PlotLabel","\[Rule]","\"Kinetic \:f7c1\:f7c9\:f7c8StyleBox[\"vs\",FontSlant->\"Italic\"]\:f7c0 Structural dimensions\""}],","," ","\[IndentingNewLine]"," ",RowBox[
{"ImageSize","\[Rule]","Large"}]}],"]"}],",","\[IndentingNewLine]"," ","\[IndentingNewLine]",RowBox[
{"Plot","[",RowBox[{RowBox[{"fit1","[","\"BestFit\"","]"}],","," ",RowBox[{"{",RowBox[
{"x",","," ","0.425",","," ","0.58"}],"}"}],","," ",RowBox[{"PlotRange","\[Rule]","All"}]}],"]"}],",","\[IndentingNewLine]","\[IndentingNewLine]",RowBox[
{"Epilog","->",RowBox[{"{",RowBox[{"Inset","[",RowBox[{"fit1",","," ",RowBox[{"{",RowBox[
{"0.47",","," ","0.8"}],"}"}]}]," ","]"}],"}"}]}]}],"\[IndentingNewLine]","\[IndentingNewLine]","]"}],"\[IndentingNewLine]"}]}]],
"Input",CellChangeTimes->{3.687349097292791*^9,{3.6873491399456053`*^9,3.68734925155199*^9},{3.687349310427105*^9,3.687349342697584*^9},{3.6873494308603783`*^9,3.6873494651574287`*^9},{3.68734949531313*^9,3.687349527002121*^9},3.687349569730369*^9,{3.687349765736257*^9,3.6873498356949453`*^9},{3.687349943540173*^9,3.687349961454693*^9},{3.687350027026519*^9,3.68735011829879*^9},{3.687350148805552*^9,3.687350250727109*^9},{3.687350287061613*^9,3.687350304630907*^9},{3.7133520599718924`*^9,3.7133521060792828`*^9},{3.713688918268558*^9,3.713688925534108*^9},3.7139194953960648`*^9,{3.7139208000497723`*^9,3.713920811785005*^9},{3.713920865134411*^9,3.713920917500311*^9},3.7139344266849117`*^9,3.713934483769619*^9,{3.732108456740745*^9,3.732108457102762*^9}},
CellLabel->"In[108]:=",ExpressionUUID->"f6f18ed7-ff71-4277-9818-438db2f8d923"]},{1}],
ExpressionUUID->"5e459b8a-fd2b-45da-b645-c61c8630d14e"],Cell[
CellGroupData[{Cell[
TextData[
{"Plot Structural ",StyleBox["vs",FontSlant->"Italic"]," Kinetic in 2D, Wider Range Scaled Parameters"}],
"Section",CellChangeTimes->{{3.686123311351616*^9,3.686123345468418*^9},{3.6912037689768877`*^9,3.6912037715994453`*^9},3.713934426685238*^9,3.713934483769906*^9,{3.7321142697863817`*^9,3.732114279570449*^9}},
ExpressionUUID->"c59ff2d2-c526-4fcf-a304-0c37c49c773a"],Cell[
BoxData[{RowBox[{RowBox[
{RowBox[{"SetDirectory","[",RowBox[{"NotebookDirectory","[","]"}],"]"}],";"}],"\[IndentingNewLine]"}],"\[IndentingNewLine]",RowBox[
{RowBox[{"<<","\"dataAllowedEvokedWideRange.txt\""}],";"}],"\[IndentingNewLine]",RowBox[
{RowBox[{"dataAllowedEvoked"," ","="," ",RowBox[{"%","[",RowBox[{"[",RowBox[{"All",","," ",RowBox[
{"2",";;","12"}]}],"]"}],"]"}]}],";"}],"\[IndentingNewLine]",RowBox[{RowBox[{"<<","\"dataAllowedPacingWideRange.txt\""}],";"}],"\[IndentingNewLine]",RowBox[
{RowBox[{"dataAllowedPacing"," ","="," ",RowBox[{"%","[",RowBox[{"[",RowBox[{"All",","," ",RowBox[
{"2",";;","12"}]}],"]"}],"]"}]}],";"}],"\[IndentingNewLine]",RowBox[{RowBox[{"<<","\"dataNotallowedWideRange.txt\""}],";"}],"\[IndentingNewLine]",RowBox[
{RowBox[{RowBox[{"dataNotallowed"," ","="," ",RowBox[{"%","[",RowBox[{"[",RowBox[
{"All",","," ",RowBox[{"2",";;","12"}]}],"]"}],"]"}]}],";"}],"\[IndentingNewLine]"}],"\[IndentingNewLine]",RowBox[
{"p23"," ","="," ",RowBox[{"ListPlot","[",RowBox[{RowBox[{"{","\[IndentingNewLine]",RowBox[
{RowBox[{"Transpose","[",RowBox[{"{","\[IndentingNewLine]",RowBox[{RowBox[{RowBox[
{"(",RowBox[{RowBox[{"dataAllowedPacing","[",RowBox[{"[",RowBox[{"All",","," ","1"}],"]"}],"]"}],"+"," ",RowBox[
{"dataAllowedPacing","[",RowBox[{"[",RowBox[{"All",","," ","4"}],"]"}],"]"}]}],")"}],"/"," ","\[IndentingNewLine]",RowBox[
{"(",RowBox[{RowBox[{"dataAllowedPacing","[",RowBox[{"[",RowBox[{"All",","," ","2"}],"]"}],"]"}],"+"," ",RowBox[
{"dataAllowedPacing","[",RowBox[{"[",RowBox[{"All",","," ","3"}],"]"}],"]"}],"+",RowBox[
{"dataAllowedPacing","[",RowBox[{"[",RowBox[{"All",","," ","1"}],"]"}],"]"}],"+"," ",RowBox[
{"dataAllowedPacing","[",RowBox[{"[",RowBox[{"All",","," ","4"}],"]"}],"]"}]}],")"}]}],"\[IndentingNewLine]",",","\[IndentingNewLine]",RowBox[
{"(*",RowBox[{"dataAllowedPacing","[",RowBox[{"[",RowBox[{"All",","," ","7"}],"]"}],"]"}],"*)"}],RowBox[
{RowBox[{"dataAllowedPacing","[",RowBox[{"[",RowBox[{"All",","," ","10"}],"]"}],"]"}]," ","/",RowBox[
{"(",RowBox[{RowBox[{"dataAllowedPacing","[",RowBox[{"[",RowBox[{"All",","," ","9"}],"]"}],"]"}]," ","+",RowBox[
{"dataAllowedPacing","[",RowBox[{"[",RowBox[{"All",","," ","10"}],"]"}],"]"}]}],")"}]}]}],"\[IndentingNewLine]","}"}],"]"}],"\[IndentingNewLine]",",","\[IndentingNewLine]",RowBox[
{"Transpose","[",RowBox[{"{","\[IndentingNewLine]"," ",RowBox[{RowBox[{RowBox[{"(",RowBox[
{RowBox[{"dataNotallowed","[",RowBox[{"[",RowBox[{"All",","," ","1"}],"]"}],"]"}],"+"," ",RowBox[
{"dataNotallowed","[",RowBox[{"[",RowBox[{"All",","," ","4"}],"]"}],"]"}]}]," ",")"}],"/"," ","\[IndentingNewLine]",RowBox[
{"(",RowBox[{RowBox[{"dataNotallowed","[",RowBox[{"[",RowBox[{"All",","," ","2"}],"]"}],"]"}],"+"," ",RowBox[
{"dataNotallowed","[",RowBox[{"[",RowBox[{"All",","," ","3"}],"]"}],"]"}],"+",RowBox[
{"dataNotallowed","[",RowBox[{"[",RowBox[{"All",","," ","1"}],"]"}],"]"}],"+"," ",RowBox[
{"dataNotallowed","[",RowBox[{"[",RowBox[{"All",","," ","4"}],"]"}],"]"}]}],")"}]}],"\[IndentingNewLine]",",","\[IndentingNewLine]",RowBox[
{"(*",RowBox[{"dataNotallowed","[",RowBox[{"[",RowBox[{"All",","," ","7"}],"]"}],"]"}],"*)"}]," ",RowBox[
{RowBox[{"dataNotallowed","[",RowBox[{"[",RowBox[{"All",","," ","10"}],"]"}],"]"}]," ","/",RowBox[
{"(",RowBox[{RowBox[{"dataNotallowed","[",RowBox[{"[",RowBox[{"All",","," ","9"}],"]"}],"]"}],"+",RowBox[
{"dataNotallowed","[",RowBox[{"[",RowBox[{"All",","," ","10"}],"]"}],"]"}]}],")"}]}]}],"\[IndentingNewLine]","}"}],"]"}],"\[IndentingNewLine]",","," ","\[IndentingNewLine]","\[IndentingNewLine]",RowBox[
{"Transpose","[",RowBox[{"{","\[IndentingNewLine]"," ",RowBox[{RowBox[{RowBox[{"(",RowBox[
{RowBox[{"dataAllowedEvoked","[",RowBox[{"[",RowBox[{"All",","," ","1"}],"]"}],"]"}],"+"," ",RowBox[
{"dataAllowedEvoked","[",RowBox[{"[",RowBox[{"All",","," ","4"}],"]"}],"]"}]}]," ",")"}],"/"," ","\[IndentingNewLine]",RowBox[
{"(",RowBox[{RowBox[{"dataAllowedEvoked","[",RowBox[{"[",RowBox[{"All",","," ","2"}],"]"}],"]"}],"+"," ",RowBox[
{"dataAllowedEvoked","[",RowBox[{"[",RowBox[{"All",","," ","3"}],"]"}],"]"}],"+",RowBox[
{"dataAllowedEvoked","[",RowBox[{"[",RowBox[{"All",","," ","1"}],"]"}],"]"}],"+"," ",RowBox[
{"dataAllowedEvoked","[",RowBox[{"[",RowBox[{"All",","," ","4"}],"]"}],"]"}]}],")"}]}],"\[IndentingNewLine]",",","\[IndentingNewLine]",RowBox[
{"(*",RowBox[{"dataAllowedEvoked","[",RowBox[{"[",RowBox[{"All",","," ","7"}],"]"}],"]"}]," ","*)"}],RowBox[
{RowBox[{"dataAllowedEvoked","[",RowBox[{"[",RowBox[{"All",","," ","10"}],"]"}],"]"}],"/",RowBox[
{"(",RowBox[{RowBox[{"dataAllowedEvoked","[",RowBox[{"[",RowBox[{"All",","," ","9"}],"]"}],"]"}],"+",RowBox[
{"dataAllowedEvoked","[",RowBox[{"[",RowBox[{"All",","," ","10"}],"]"}],"]"}]}],")"}]}]}],"\[IndentingNewLine]","\[IndentingNewLine]","}"}],"]"}]}],"\[IndentingNewLine]","\[IndentingNewLine]","\[IndentingNewLine]","}"}],",","\[IndentingNewLine]",RowBox[
{"PlotStyle","\[Rule]",RowBox[{"{",RowBox[{RowBox[{"{",RowBox[{RowBox[{"PointSize","[",".01","]"}],","," ","colorOsc",","," ",RowBox[
{"Opacity","[","0.25","]"}]}],"}"}],","," ",RowBox[{"{",RowBox[{RowBox[{"PointSize","[",".01","]"}],","," ","colorNexc",","," ",RowBox[
{"Opacity","[","0.25","]"}]}],"}"}],",",RowBox[{"{",RowBox[{RowBox[{"PointSize","[",".01","]"}],","," ","colorExc",","," ",RowBox[
{"Opacity","[","0.25","]"}]}],"}"}]}],"}"}]}],",","\[IndentingNewLine]",RowBox[{"Frame","\[Rule]","True"}],","," ",RowBox[
{"FrameLabel","\[Rule]",RowBox[{"{",RowBox[{"\"\:f7c1\:f7c9\:f7c8StyleBox[\"K\",FontSlant->\"Italic\"]\:f7c0\:f7c1\:f7c9\:f7c8StyleBox[\" \",FontSlant->\"Italic\"]\:f7c0\:f7c1\:f7c9\:f7c8StyleBox[\"=\",FontSlant->\"Italic\"]\:f7c0 (\:f7c1\:f7c9\:f7c8SubscriptBox[\:f7c9\[Alpha]\:f7c0, \:f7c9n\:f7c0]\:f7c0+\:f7c1\:f7c9\:f7c8SubscriptBox[\:f7c9\[Beta]\:f7c0, \:f7c9m\:f7c0]\:f7c0)/(\:f7c1\:f7c9\:f7c8SubscriptBox[\:f7c9\[Alpha]\:f7c0, \:f7c9n\:f7c0]\:f7c0+\:f7c1\:f7c9\:f7c8SubscriptBox[\:f7c9\[Beta]\:f7c0, \:f7c9n\:f7c0]\:f7c0+\:f7c1\:f7c9\:f7c8SubscriptBox[\:f7c9\[Alpha]\:f7c0, \:f7c9m\:f7c0]\:f7c0+\:f7c1\:f7c9\:f7c8SubscriptBox[\:f7c9\[Beta]\:f7c0, \:f7c9m\:f7c0]\:f7c0)\"",","," ","\"\:f7c1\:f7c9\:f7c8StyleBox[\"S\",FontSlant->\"Italic\"]\:f7c0\:f7c1\:f7c9\:f7c8StyleBox[\" \",FontSlant->\"Italic\"]\:f7c0\:f7c1\:f7c9\:f7c8StyleBox[\"=\",FontSlant->\"Italic\"]\:f7c0 \:f7c1\:f7c9\:f7c8SubscriptBox[OverscriptBox[\:f7c9g\:f7c0, \:f7c9_\:f7c0], \:f7c9Na\:f7c0]\:f7c0/(\:f7c1\:f7c9\:f7c8SubscriptBox[OverscriptBox[\:f7c9g\:f7c0, \:f7c9_\:f7c0], \:f7c9Na\:f7c0]\:f7c0+\:f7c1\:f7c9\:f7c8SubscriptBox[OverscriptBox[\:f7c9g\:f7c0, \:f7c9_\:f7c0], \:f7c9K\:f7c0]\:f7c0)\""}],"}"}]}],","," ",RowBox[
{"PlotRange","\[Rule]",RowBox[{"{",RowBox[{"All",","," ",RowBox[{"{",RowBox[{"0.2",","," ","All"}],"}"}]}],"}"}]}],",",RowBox[
{"AspectRatio","\[Rule]","1"}],",",RowBox[{"LabelStyle","\[Rule]",RowBox[{"{",RowBox[
{RowBox[{"FontFamily","\[Rule]","\"Times\""}],",","18",","," ","Black"}],"}"}]}],","," ","\[IndentingNewLine]"," ",RowBox[
{"ImageSize","\[Rule]","Large"}]}]," ","]"}]}],"\[IndentingNewLine]"}],"Input",CellChangeTimes->{{3.6860337328665857`*^9,3.6860337672679157`*^9},3.6860339532632837`*^9,{3.6860340178059797`*^9,3.6860340353018103`*^9},{3.686034197553603*^9,3.686034213128727*^9},{3.6860342731740437`*^9,3.686034337835693*^9},{3.686034370240172*^9,3.6860344188641872`*^9},{3.686055364323491*^9,3.686055369915394*^9},{3.686061837102738*^9,3.6860619036425657`*^9},{3.686061939140369*^9,3.6860619643634453`*^9},{3.686062020613407*^9,3.686062057563916*^9},{3.686062240148514*^9,3.6860622911784067`*^9},{3.686062647308238*^9,3.686062648771844*^9},{3.686106695759481*^9,3.686106788473811*^9},{3.686106822116497*^9,3.6861068408262577`*^9},{3.686106901492466*^9,3.686106942101801*^9},{3.686108004609765*^9,3.686108033208713*^9},{3.686109175057066*^9,3.686109176588357*^9},{3.686109286188048*^9,3.686109291061268*^9},{3.686109325146559*^9,3.686109335769438*^9},{3.686109386633931*^9,3.686109477069681*^9},{3.686109546868346*^9,3.686109576501199*^9},{3.6861096141501904`*^9,3.686109640429977*^9},{3.686109688708474*^9,3.6861096904589453`*^9},3.686109752994307*^9,{3.686111283506185*^9,3.6861113077398643`*^9},{3.6861113378477163`*^9,3.6861113455093603`*^9},{3.686111457751382*^9,3.686111501967065*^9},{3.686122945631735*^9,3.686122976575603*^9},{3.686123013743671*^9,3.6861230317307453`*^9},{3.686123092363789*^9,3.686123100554288*^9},3.686123345469095*^9,{3.686123541648747*^9,3.686123595351836*^9},{3.686206451108287*^9,3.686206452555901*^9},{3.686219176307048*^9,3.686219297771638*^9},{3.686220114700815*^9,3.6862201201475554`*^9},{3.6862201971193047`*^9,3.686220210381647*^9},{3.6862202738891068`*^9,3.6862202935386133`*^9},{3.686220334752275*^9,3.686220335950199*^9},{3.686220399237913*^9,3.686220405045628*^9},{3.686295838754837*^9,3.686295884478682*^9},3.686466238427825*^9,{3.686466270129465*^9,3.686466303977027*^9},{3.686466336296591*^9,3.6864663392304287`*^9},3.686466399279221*^9,{3.6864664529111032`*^9,3.686466500785177*^9},{3.686466635540112*^9,3.6864667037938623`*^9},3.686466897565998*^9,{3.6864670916705103`*^9,3.68646723476363*^9},{3.686833171872911*^9,3.686833176263495*^9},{3.687077827448502*^9,3.687077830056065*^9},{3.687350641303424*^9,3.687350680755048*^9},{3.687350716926866*^9,3.687350793063912*^9},{3.691203800955473*^9,3.6912038111209507`*^9},{3.6912040004215117`*^9,3.691204001052637*^9},{3.713352386682629*^9,3.7133524597890472`*^9},{3.713352529343584*^9,3.7133526130490723`*^9},{3.713352654974416*^9,3.713352751447019*^9},{3.7136884586293287`*^9,3.71368847187833*^9},{3.713688529279831*^9,3.713688589422278*^9},{3.713688692044797*^9,3.71368875298841*^9},3.713934426685329*^9,{3.713934541167553*^9,3.713934551680578*^9}},
CellLabel->"In[84]:=",ExpressionUUID->"158a1e8c-0a4a-4d09-bb8f-60e6e1b43e69"],Cell[
BoxData[
RowBox[{"Show","[",RowBox[{"{",RowBox[{"p23",","," ",RowBox[{"Plot","[",RowBox[{TagBox[
RowBox[{RowBox[{"-","1.639614980994499"}],"+",RowBox[{"4.407916551783086"," ","x"}]}],
Function[Short[Slot[1],2]]],","," ",RowBox[{"{",RowBox[{"x",","," ","0.43",","," ","0.59"}],"}"}],","," ",RowBox[
{"PlotStyle","->","colorExc"}]}],"]"}]}],"}"}],"]"}]],"Input",CellChangeTimes->{{3.715082537254443*^9,3.715082664042967*^9}},
CellLabel->"In[92]:=",ExpressionUUID->"c677c645-e033-401d-976a-2f8aaff33e17"]},{1}],
ExpressionUUID->"cc0f4638-10a5-4edc-a8e8-a0a79a42922e"],Cell[
CellGroupData[{Cell[
TextData[
{"Plot Structural ",StyleBox["vs",FontSlant->"Italic"]," Kinetic in 2D, Wider Range w\\o Excitable"}],
"Section",CellChangeTimes->{{3.686123311351616*^9,3.686123345468418*^9},{3.6912037689768877`*^9,3.6912037715994453`*^9},3.713934426685238*^9,3.713934483769906*^9,{3.715141237490739*^9,3.715141244655375*^9},{3.7321142881477213`*^9,3.7321142959212914`*^9}},
ExpressionUUID->"94fc256a-2a2c-44de-888e-991dffa071b5"],Cell[
BoxData[{RowBox[{RowBox[
{RowBox[{"SetDirectory","[",RowBox[{"NotebookDirectory","[","]"}],"]"}],";"}],"\[IndentingNewLine]"}],"\[IndentingNewLine]",RowBox[
{RowBox[{"<<","\"dataAllowedEvokedWideRange.txt\""}],";"}],"\[IndentingNewLine]",RowBox[
{RowBox[{"dataAllowedEvoked"," ","="," ",RowBox[{"%","[",RowBox[{"[",RowBox[{"All",","," ",RowBox[
{"2",";;","12"}]}],"]"}],"]"}]}],";"}],"\[IndentingNewLine]",RowBox[{RowBox[{"<<","\"dataAllowedPacingWideRange.txt\""}],";"}],"\[IndentingNewLine]",RowBox[
{RowBox[{"dataAllowedPacing"," ","="," ",RowBox[{"%","[",RowBox[{"[",RowBox[{"All",","," ",RowBox[
{"2",";;","12"}]}],"]"}],"]"}]}],";"}],"\[IndentingNewLine]",RowBox[{RowBox[{"<<","\"dataNotallowedWideRange.txt\""}],";"}],"\[IndentingNewLine]",RowBox[
{RowBox[{RowBox[{"dataNotallowed"," ","="," ",RowBox[{"%","[",RowBox[{"[",RowBox[
{"All",","," ",RowBox[{"2",";;","12"}]}],"]"}],"]"}]}],";"}],"\[IndentingNewLine]"}],"\[IndentingNewLine]",RowBox[
{"p23"," ","="," ",RowBox[{"ListPlot","[",RowBox[{RowBox[{"{","\[IndentingNewLine]",RowBox[
{RowBox[{"Transpose","[",RowBox[{"{","\[IndentingNewLine]",RowBox[{RowBox[{RowBox[
{"(",RowBox[{RowBox[{"dataAllowedPacing","[",RowBox[{"[",RowBox[{"All",","," ","1"}],"]"}],"]"}],"+"," ",RowBox[
{"dataAllowedPacing","[",RowBox[{"[",RowBox[{"All",","," ","4"}],"]"}],"]"}]}],")"}],"/"," ","\[IndentingNewLine]",RowBox[
{"(",RowBox[{RowBox[{"dataAllowedPacing","[",RowBox[{"[",RowBox[{"All",","," ","2"}],"]"}],"]"}],"+"," ",RowBox[
{"dataAllowedPacing","[",RowBox[{"[",RowBox[{"All",","," ","3"}],"]"}],"]"}],"+",RowBox[
{"dataAllowedPacing","[",RowBox[{"[",RowBox[{"All",","," ","1"}],"]"}],"]"}],"+"," ",RowBox[
{"dataAllowedPacing","[",RowBox[{"[",RowBox[{"All",","," ","4"}],"]"}],"]"}]}],")"}]}],"\[IndentingNewLine]",",","\[IndentingNewLine]",RowBox[
{"(*",RowBox[{"dataAllowedPacing","[",RowBox[{"[",RowBox[{"All",","," ","7"}],"]"}],"]"}],"*)"}],RowBox[
{RowBox[{"dataAllowedPacing","[",RowBox[{"[",RowBox[{"All",","," ","10"}],"]"}],"]"}]," ","/",RowBox[
{"(",RowBox[{RowBox[{"dataAllowedPacing","[",RowBox[{"[",RowBox[{"All",","," ","9"}],"]"}],"]"}]," ","+",RowBox[
{"dataAllowedPacing","[",RowBox[{"[",RowBox[{"All",","," ","10"}],"]"}],"]"}]}],")"}]}]}],"\[IndentingNewLine]","}"}],"]"}],"\[IndentingNewLine]",",","\[IndentingNewLine]",RowBox[
{"Transpose","[",RowBox[{"{","\[IndentingNewLine]"," ",RowBox[{RowBox[{RowBox[{"(",RowBox[
{RowBox[{"dataNotallowed","[",RowBox[{"[",RowBox[{"All",","," ","1"}],"]"}],"]"}],"+"," ",RowBox[
{"dataNotallowed","[",RowBox[{"[",RowBox[{"All",","," ","4"}],"]"}],"]"}]}]," ",")"}],"/"," ","\[IndentingNewLine]",RowBox[
{"(",RowBox[{RowBox[{"dataNotallowed","[",RowBox[{"[",RowBox[{"All",","," ","2"}],"]"}],"]"}],"+"," ",RowBox[
{"dataNotallowed","[",RowBox[{"[",RowBox[{"All",","," ","3"}],"]"}],"]"}],"+",RowBox[
{"dataNotallowed","[",RowBox[{"[",RowBox[{"All",","," ","1"}],"]"}],"]"}],"+"," ",RowBox[
{"dataNotallowed","[",RowBox[{"[",RowBox[{"All",","," ","4"}],"]"}],"]"}]}],")"}]}],"\[IndentingNewLine]",",","\[IndentingNewLine]",RowBox[
{"(*",RowBox[{"dataNotallowed","[",RowBox[{"[",RowBox[{"All",","," ","7"}],"]"}],"]"}],"*)"}]," ",RowBox[
{RowBox[{"dataNotallowed","[",RowBox[{"[",RowBox[{"All",","," ","10"}],"]"}],"]"}]," ","/",RowBox[
{"(",RowBox[{RowBox[{"dataNotallowed","[",RowBox[{"[",RowBox[{"All",","," ","9"}],"]"}],"]"}],"+",RowBox[
{"dataNotallowed","[",RowBox[{"[",RowBox[{"All",","," ","10"}],"]"}],"]"}]}],")"}]}]}],"\[IndentingNewLine]","}"}],"]"}]}],"\[IndentingNewLine]",RowBox[
{"(*",RowBox[{","," ","\[IndentingNewLine]","\[IndentingNewLine]",RowBox[{"Transpose","[",RowBox[
{"{","\[IndentingNewLine]"," ",RowBox[{RowBox[{RowBox[{"(",RowBox[{RowBox[{"dataAllowedEvoked","[",RowBox[
{"[",RowBox[{"All",","," ","1"}],"]"}],"]"}],"+"," ",RowBox[{"dataAllowedEvoked","[",RowBox[
{"[",RowBox[{"All",","," ","4"}],"]"}],"]"}]}]," ",")"}],"/"," ","\[IndentingNewLine]",RowBox[
{"(",RowBox[{RowBox[{"dataAllowedEvoked","[",RowBox[{"[",RowBox[{"All",","," ","2"}],"]"}],"]"}],"+"," ",RowBox[
{"dataAllowedEvoked","[",RowBox[{"[",RowBox[{"All",","," ","3"}],"]"}],"]"}],"+",RowBox[
{"dataAllowedEvoked","[",RowBox[{"[",RowBox[{"All",","," ","1"}],"]"}],"]"}],"+"," ",RowBox[
{"dataAllowedEvoked","[",RowBox[{"[",RowBox[{"All",","," ","4"}],"]"}],"]"}]}],")"}]}],"\[IndentingNewLine]",",","\[IndentingNewLine]",RowBox[
{"(*",RowBox[{"dataAllowedEvoked","[",RowBox[{"[",RowBox[{"All",","," ","7"}],"]"}],"]"}]," ","*)"}],RowBox[
{RowBox[{"dataAllowedEvoked","[",RowBox[{"[",RowBox[{"All",","," ","10"}],"]"}],"]"}],"/",RowBox[
{"(",RowBox[{RowBox[{"dataAllowedEvoked","[",RowBox[{"[",RowBox[{"All",","," ","9"}],"]"}],"]"}],"+",RowBox[
{"dataAllowedEvoked","[",RowBox[{"[",RowBox[{"All",","," ","10"}],"]"}],"]"}]}],")"}]}]}],"\[IndentingNewLine]","\[IndentingNewLine]","}"}],"]"}]}],"*)"}],"\[IndentingNewLine]","\[IndentingNewLine]","\[IndentingNewLine]","}"}],",","\[IndentingNewLine]",RowBox[
{"PlotStyle","\[Rule]",RowBox[{"{",RowBox[{RowBox[{"{",RowBox[{RowBox[{"PointSize","[",".01","]"}],","," ","colorOsc",","," ",RowBox[
{"Opacity","[","0.25","]"}]}],"}"}],","," ",RowBox[{"{",RowBox[{RowBox[{"PointSize","[",".01","]"}],","," ","colorNexc",","," ",RowBox[
{"Opacity","[","0.25","]"}]}],"}"}],",",RowBox[{"{",RowBox[{RowBox[{"PointSize","[",".01","]"}],","," ","colorExc",","," ",RowBox[
{"Opacity","[","0.25","]"}]}],"}"}]}],"}"}]}],",","\[IndentingNewLine]",RowBox[{"Frame","\[Rule]","True"}],","," ",RowBox[
{"FrameLabel","\[Rule]",RowBox[{"{",RowBox[{"\"\:f7c1\:f7c9\:f7c8StyleBox[\"K\",FontSlant->\"Italic\"]\:f7c0\:f7c1\:f7c9\:f7c8StyleBox[\" \",FontSlant->\"Italic\"]\:f7c0\:f7c1\:f7c9\:f7c8StyleBox[\"=\",FontSlant->\"Italic\"]\:f7c0 (\:f7c1\:f7c9\:f7c8SubscriptBox[\:f7c9\[Alpha]\:f7c0, \:f7c9n\:f7c0]\:f7c0+\:f7c1\:f7c9\:f7c8SubscriptBox[\:f7c9\[Beta]\:f7c0, \:f7c9m\:f7c0]\:f7c0)/(\:f7c1\:f7c9\:f7c8SubscriptBox[\:f7c9\[Alpha]\:f7c0, \:f7c9n\:f7c0]\:f7c0+\:f7c1\:f7c9\:f7c8SubscriptBox[\:f7c9\[Beta]\:f7c0, \:f7c9n\:f7c0]\:f7c0+\:f7c1\:f7c9\:f7c8SubscriptBox[\:f7c9\[Alpha]\:f7c0, \:f7c9m\:f7c0]\:f7c0+\:f7c1\:f7c9\:f7c8SubscriptBox[\:f7c9\[Beta]\:f7c0, \:f7c9m\:f7c0]\:f7c0)\"",","," ","\"\:f7c1\:f7c9\:f7c8StyleBox[\"S\",FontSlant->\"Italic\"]\:f7c0\:f7c1\:f7c9\:f7c8StyleBox[\" \",FontSlant->\"Italic\"]\:f7c0\:f7c1\:f7c9\:f7c8StyleBox[\"=\",FontSlant->\"Italic\"]\:f7c0 \:f7c1\:f7c9\:f7c8SubscriptBox[OverscriptBox[\:f7c9g\:f7c0, \:f7c9_\:f7c0], \:f7c9Na\:f7c0]\:f7c0/(\:f7c1\:f7c9\:f7c8SubscriptBox[OverscriptBox[\:f7c9g\:f7c0, \:f7c9_\:f7c0], \:f7c9Na\:f7c0]\:f7c0+\:f7c1\:f7c9\:f7c8SubscriptBox[OverscriptBox[\:f7c9g\:f7c0, \:f7c9_\:f7c0], \:f7c9K\:f7c0]\:f7c0)\""}],"}"}]}],","," ",RowBox[
{"PlotRange","\[Rule]",RowBox[{"{",RowBox[{"All",","," ",RowBox[{"{",RowBox[{"0.2",","," ","All"}],"}"}]}],"}"}]}],",",RowBox[
{"AspectRatio","\[Rule]","1"}],",",RowBox[{"LabelStyle","\[Rule]",RowBox[{"{",RowBox[
{RowBox[{"FontFamily","\[Rule]","\"Times\""}],",","18",","," ","Black"}],"}"}]}],","," ","\[IndentingNewLine]"," ",RowBox[
{"ImageSize","\[Rule]","Large"}]}]," ","]"}]}],"\[IndentingNewLine]"}],"Input",CellChangeTimes->{{3.6860337328665857`*^9,3.6860337672679157`*^9},3.6860339532632837`*^9,{3.6860340178059797`*^9,3.6860340353018103`*^9},{3.686034197553603*^9,3.686034213128727*^9},{3.6860342731740437`*^9,3.686034337835693*^9},{3.686034370240172*^9,3.6860344188641872`*^9},{3.686055364323491*^9,3.686055369915394*^9},{3.686061837102738*^9,3.6860619036425657`*^9},{3.686061939140369*^9,3.6860619643634453`*^9},{3.686062020613407*^9,3.686062057563916*^9},{3.686062240148514*^9,3.6860622911784067`*^9},{3.686062647308238*^9,3.686062648771844*^9},{3.686106695759481*^9,3.686106788473811*^9},{3.686106822116497*^9,3.6861068408262577`*^9},{3.686106901492466*^9,3.686106942101801*^9},{3.686108004609765*^9,3.686108033208713*^9},{3.686109175057066*^9,3.686109176588357*^9},{3.686109286188048*^9,3.686109291061268*^9},{3.686109325146559*^9,3.686109335769438*^9},{3.686109386633931*^9,3.686109477069681*^9},{3.686109546868346*^9,3.686109576501199*^9},{3.6861096141501904`*^9,3.686109640429977*^9},{3.686109688708474*^9,3.6861096904589453`*^9},3.686109752994307*^9,{3.686111283506185*^9,3.6861113077398643`*^9},{3.6861113378477163`*^9,3.6861113455093603`*^9},{3.686111457751382*^9,3.686111501967065*^9},{3.686122945631735*^9,3.686122976575603*^9},{3.686123013743671*^9,3.6861230317307453`*^9},{3.686123092363789*^9,3.686123100554288*^9},3.686123345469095*^9,{3.686123541648747*^9,3.686123595351836*^9},{3.686206451108287*^9,3.686206452555901*^9},{3.686219176307048*^9,3.686219297771638*^9},{3.686220114700815*^9,3.6862201201475554`*^9},{3.6862201971193047`*^9,3.686220210381647*^9},{3.6862202738891068`*^9,3.6862202935386133`*^9},{3.686220334752275*^9,3.686220335950199*^9},{3.686220399237913*^9,3.686220405045628*^9},{3.686295838754837*^9,3.686295884478682*^9},3.686466238427825*^9,{3.686466270129465*^9,3.686466303977027*^9},{3.686466336296591*^9,3.6864663392304287`*^9},3.686466399279221*^9,{3.6864664529111032`*^9,3.686466500785177*^9},{3.686466635540112*^9,3.6864667037938623`*^9},3.686466897565998*^9,{3.6864670916705103`*^9,3.68646723476363*^9},{3.686833171872911*^9,3.686833176263495*^9},{3.687077827448502*^9,3.687077830056065*^9},{3.687350641303424*^9,3.687350680755048*^9},{3.687350716926866*^9,3.687350793063912*^9},{3.691203800955473*^9,3.6912038111209507`*^9},{3.6912040004215117`*^9,3.691204001052637*^9},{3.713352386682629*^9,3.7133524597890472`*^9},{3.713352529343584*^9,3.7133526130490723`*^9},{3.713352654974416*^9,3.713352751447019*^9},{3.7136884586293287`*^9,3.71368847187833*^9},{3.713688529279831*^9,3.713688589422278*^9},{3.713688692044797*^9,3.71368875298841*^9},3.713934426685329*^9,{3.713934541167553*^9,3.713934551680578*^9},{3.7151413216481657`*^9,3.7151413261478233`*^9}},
CellLabel->"In[93]:=",ExpressionUUID->"41c6b067-91da-44cb-86e6-2b97723a33b4"]},{1}],
ExpressionUUID->"180aed4c-a776-4bdc-97f7-eeae5cca61f2"],Cell[
CellGroupData[{Cell[
"\<Repetitions of different realizations of same point in 2D (0.55Null0.4) all free\>",
"Section",CellChangeTimes->{{3.691915187740089*^9,3.691915237128261*^9},{3.713159933889596*^9,3.713159941106769*^9},{3.713923541670745*^9,3.713923542820681*^9},{3.7287173416290503`*^9,3.728717342220213*^9},{3.728717393102244*^9,3.7287173959431067`*^9},3.728721181522943*^9,{3.728735301199147*^9,3.7287353044389153`*^9},{3.7287915225066223`*^9,3.728791527547529*^9}},
ExpressionUUID->"8fbcbdbe-f2ab-470b-8ab1-b7a1f97e1af9"],Cell[
BoxData[RowBox[{"\[IndentingNewLine]",RowBox[
{RowBox[{RowBox[{"SetDirectory","[",RowBox[{"NotebookDirectory","[","]"}],"]"}],";"}],"\[IndentingNewLine]","\[IndentingNewLine]","\[IndentingNewLine]","\[IndentingNewLine]",RowBox[
{RowBox[{"parameterList"," ","="," ",RowBox[{"{","}"}]}],";"}],"\[IndentingNewLine]","\[IndentingNewLine]",RowBox[
{"Do","[","\[IndentingNewLine]",RowBox[{RowBox[{RowBox[{"clampedKforce"," ","="," ","0.55"}],";",RowBox[
{"clampedSforce"," ","="," ","0.4"}],";","\[IndentingNewLine]",RowBox[{"(*","\[IndentingNewLine]","\[IndentingNewLine]","*)"}],"\[IndentingNewLine]",RowBox[
{"anF"," ","="," ",RowBox[{"RandomReal","[",RowBox[{"{"," ",RowBox[{".75",","," ","1.25"}],"}"}],"]"}]}],";","\[IndentingNewLine]",RowBox[
{"bnF"," ","="," ",RowBox[{"RandomReal","[",RowBox[{"{"," ",RowBox[{".75",","," ","1.25"}],"}"}],"]"}]}],";","\[IndentingNewLine]",RowBox[
{"bmF"," ","="," ",RowBox[{"RandomReal","[",RowBox[{"{",RowBox[{".75",","," ","1.25"}],"}"}],"]"}]}],";","\[IndentingNewLine]",RowBox[
{"amF"," ","="," ",RowBox[{"N","[",RowBox[{RowBox[{"(",RowBox[{RowBox[{"(",RowBox[
{"anF","+","bmF"}],")"}],"/","clampedKforce"}],")"}],"-",RowBox[{"(",RowBox[{"anF","+","bnF","+","bmF"}],")"}]}],"]"}]}],";","\[IndentingNewLine]","\[IndentingNewLine]",RowBox[
{"gNf"," ","="," ",RowBox[{"RandomReal","[",RowBox[{"{"," ",RowBox[{"0.75",","," ","1.25"}],"}"}],"]"}]}],";","\[IndentingNewLine]",RowBox[
{"gKf"," ","="," ",RowBox[{"N","[",RowBox[{RowBox[{"(",RowBox[{"gNf","/","clampedSforce"}],")"}],"-","gNf"}],"]"}]}],";","\[IndentingNewLine]","\[IndentingNewLine]",RowBox[
{"(*",RowBox[{RowBox[{"ahF","=","1"}],";",RowBox[{"bhF","=","1"}],";",RowBox[{"cF","=","1"}],";",RowBox[
{"gLf","=","1"}],";"}]," ","*)"}],"\[IndentingNewLine]",RowBox[{"ahF"," ","="," ",RowBox[
{"RandomReal","[",RowBox[{"{"," ",RowBox[{".75",","," ","1.25"}],"}"}],"]"}]}],";","\[IndentingNewLine]",RowBox[
{"bhF"," ","="," ",RowBox[{"RandomReal","[",RowBox[{"{"," ",RowBox[{".75",","," ","1.25"}],"}"}],"]"}]}],";","\[IndentingNewLine]",RowBox[
{"cF"," ","="," ",RowBox[{"RandomReal","[",RowBox[{"{"," ",RowBox[{"0.75",","," ","1.25"}],"}"}],"]"}]}],";","\[IndentingNewLine]",RowBox[
{"gLf"," ","="," ",RowBox[{"RandomReal","[",RowBox[{"{"," ",RowBox[{"0.75",","," ","1.25"}],"}"}],"]"}]}],";","\[IndentingNewLine]",RowBox[
{"AppendTo","[",RowBox[{"parameterList",","," ",RowBox[{"{",RowBox[{"anF",",","bnF",",","amF",",","bmF",",","ahF",","," ","bhF",","," ","cF",","," ","gLf",","," ","gKf",","," ","gNf"}],"}"}]}],"]"}]}],"\[IndentingNewLine]",",","\[IndentingNewLine]",RowBox[
{"{","30","}"}]}],"\[IndentingNewLine]","]"}],"\n","\[IndentingNewLine]",RowBox[{RowBox[
{"am"," ","="," ",RowBox[{"Compile","[",RowBox[{RowBox[{"{","v","}"}],","," ",RowBox[
{RowBox[{"(",RowBox[{"2.5","-",RowBox[{"0.1"," ","v"}]}],")"}],"/",RowBox[{"(",RowBox[
{RowBox[{"Exp","[",RowBox[{"2.5","-",RowBox[{"0.1","v"}]}],"]"}],"-","1"}],")"}]}]}],"]"}]}],";"}],"\[IndentingNewLine]",RowBox[
{RowBox[{"bm"," ","="," ",RowBox[{"Compile","[",RowBox[{RowBox[{"{","v","}"}],","," ",RowBox[
{"4","*",RowBox[{"Exp","[",RowBox[{RowBox[{"-","v"}],"/","18"}],"]"}]}]}],"]"}]}],";"}]," ","\[IndentingNewLine]",RowBox[
{RowBox[{"an"," ","="," ",RowBox[{"Compile","[",RowBox[{RowBox[{"{","v","}"}],","," ",RowBox[
{RowBox[{"(",RowBox[{"0.1","-",RowBox[{"0.01"," ","v"}]}],")"}],"/"," ",RowBox[{"("," ",RowBox[
{RowBox[{"Exp","[",RowBox[{"1","-",RowBox[{"0.1"," ","v"}]}],"]"}],"-","1"}],")"}]}]}]," ","]"}]}],";"}]," ","\[IndentingNewLine]",RowBox[
{RowBox[{"bn"," ","="," ",RowBox[{"Compile","[",RowBox[{RowBox[{"{","v","}"}],","," ",RowBox[
{"0.125","*",RowBox[{"Exp","[",RowBox[{RowBox[{"-","v"}],"/","80"}],"]"}]}]}],"]"}]}],";"}]," ","\[IndentingNewLine]",RowBox[
{RowBox[{"ah"," ","="," ",RowBox[{"Compile","[",RowBox[{RowBox[{"{","v","}"}],","," ",RowBox[
{"0.07","*",RowBox[{"Exp","[",RowBox[{RowBox[{"-","v"}],"/","20"}],"]"}]}]}],"]"}]}],";"}]," ","\[IndentingNewLine]",RowBox[
{RowBox[{"bh"," ","="," ",RowBox[{"Compile","[",RowBox[{RowBox[{"{","v","}"}],","," ",RowBox[
{"1","/",RowBox[{"(",RowBox[{RowBox[{"Exp","[",RowBox[{"3"," ","-"," ",RowBox[{"0.1"," ","v"}]}],"]"}]," ","+"," ","1"}],")"}]}]}],"]"}]}],";"}],"\[IndentingNewLine]","\[IndentingNewLine]",RowBox[
{"(*"," ",RowBox[{"INITIAL"," ","SEETING"," ","OF"," ","VARIABLES"}]," ","*)"}],"\[IndentingNewLine]",RowBox[
{RowBox[{"v"," ","="," ","0"}],";"}]," ",RowBox[{"(*",RowBox[{"resting"," ","potential"}],"*)"}],"\[IndentingNewLine]",RowBox[
{RowBox[{"t"," ","="," ","0."}],";"}]," ","\[IndentingNewLine]",RowBox[{RowBox[{"st"," ","="," ","0"}],";"}]," ","\[IndentingNewLine]",RowBox[
{RowBox[{"dt"," ","="," ","0.005"}],";"}]," ","\[IndentingNewLine]","\[IndentingNewLine]","\[IndentingNewLine]",RowBox[
{"(*"," ",RowBox[{"MODEL"," ","CONSTANTS"}]," ","*)"}],"\[IndentingNewLine]","\[IndentingNewLine]",RowBox[
{RowBox[{"gnmax"," ","="," ","120"}],";"}]," ","\[IndentingNewLine]",RowBox[{RowBox[
{"gkmax"," ","="," ","36"}],";"}]," ","\[IndentingNewLine]",RowBox[{RowBox[{"gleak"," ","="," ","0.3"}],";"}],"\[IndentingNewLine]",RowBox[
{RowBox[{"vna"," ","="," ","115."}],";"}]," ","\[IndentingNewLine]",RowBox[{RowBox[
{"vk"," ","="," ",RowBox[{"-","12."}]}],";"}]," ","\[IndentingNewLine]",RowBox[{RowBox[
{"vleak"," ","="," ","10.6"}],";"}]," ","\[IndentingNewLine]","\[IndentingNewLine]",RowBox[
{RowBox[{"iinj"," ","="," ","0"}],";"}],"\[IndentingNewLine]",RowBox[{RowBox[{"amp"," ","="," ","7"}],";"}],"\[IndentingNewLine]",RowBox[
{RowBox[{"c"," ","="," ","1"}],";"}],"\[IndentingNewLine]","\[IndentingNewLine]",RowBox[
{RowBox[{"m0"," ","="," ",RowBox[{RowBox[{"am","[","v","]"}],"/",RowBox[{"(",RowBox[
{RowBox[{"am","[","v","]"}]," ","+"," ",RowBox[{"bm","[","v","]"}]}],")"}]}]}],";"}],"\[IndentingNewLine]",RowBox[
{RowBox[{"n0"," ","="," ",RowBox[{RowBox[{"an","[","v","]"}],"/",RowBox[{"(",RowBox[
{RowBox[{"an","[","v","]"}]," ","+"," ",RowBox[{"bn","[","v","]"}]}],")"}]}]}]," ",";"}],"\[IndentingNewLine]",RowBox[
{RowBox[{"h0"," ","="," ",RowBox[{RowBox[{"ah","[","v","]"}],"/",RowBox[{"(",RowBox[
{RowBox[{"ah","[","v","]"}]," ","+"," ",RowBox[{"bh","[","v","]"}]}],")"}]}]}],";"}],"\n","\[IndentingNewLine]","\[IndentingNewLine]","\[IndentingNewLine]",RowBox[
{RowBox[{"allaVt"," ","="," ",RowBox[{"{","}"}]}],";"}],"\[IndentingNewLine]",RowBox[
{"Do","[","\[IndentingNewLine]",RowBox[{RowBox[{RowBox[{"aVt"," ","="," ",RowBox[
{"{","}"}]}],";","\[IndentingNewLine]",RowBox[{"m"," ","="," ",".0529325"}],";"," ","\[IndentingNewLine]",RowBox[
{"n"," ","="," ",".317677"}],";"," ","\[IndentingNewLine]",RowBox[{"h"," ","="," ",".596121"}],";"," ","\[IndentingNewLine]","\[IndentingNewLine]",RowBox[
{"wait"," ","="," ","20"}],";","\[IndentingNewLine]",RowBox[{"pd"," ","="," ","1"}],";",RowBox[
{"relaxtime"," ","="," ","50"}],";","\[IndentingNewLine]",RowBox[{"runFor"," ","="," ","40"}],";","\[IndentingNewLine]"," ","\[IndentingNewLine]",RowBox[
{"ampF"," ","=","2"}]," ",";","\[IndentingNewLine]",RowBox[{"anF"," ","="," ",RowBox[
{"parameterList","[",RowBox[{"[",RowBox[{"i",","," ","1"}],"]"}],"]"}]}],";","\[IndentingNewLine]",RowBox[
{"bnF"," ","="," ",RowBox[{"parameterList","[",RowBox[{"[",RowBox[{"i",","," ","2"}],"]"}],"]"}]}],";","\[IndentingNewLine]",RowBox[
{"amF"," ","="," ",RowBox[{"parameterList","[",RowBox[{"[",RowBox[{"i",","," ","3"}],"]"}],"]"}]}],";","\[IndentingNewLine]",RowBox[
{"bmF"," ","="," ",RowBox[{"parameterList","[",RowBox[{"[",RowBox[{"i",","," ","4"}],"]"}],"]"}]}],";","\[IndentingNewLine]",RowBox[
{"ahF"," ","="," ",RowBox[{"parameterList","[",RowBox[{"[",RowBox[{"i",","," ","5"}],"]"}],"]"}]}],";","\[IndentingNewLine]",RowBox[
{"bhF"," ","="," ",RowBox[{"parameterList","[",RowBox[{"[",RowBox[{"i",","," ","6"}],"]"}],"]"}]}],";","\[IndentingNewLine]",RowBox[
{"cF"," ","="," ",RowBox[{"parameterList","[",RowBox[{"[",RowBox[{"i",","," ","7"}],"]"}],"]"}]}],";","\[IndentingNewLine]",RowBox[
{"gLf"," ","="," ",RowBox[{"parameterList","[",RowBox[{"[",RowBox[{"i",","," ","8"}],"]"}],"]"}]}],";","\[IndentingNewLine]",RowBox[
{"gKf"," ","="," ",RowBox[{"parameterList","[",RowBox[{"[",RowBox[{"i",","," ","9"}],"]"}],"]"}]}],";","\[IndentingNewLine]",RowBox[
{"gNf"," ","="," ",RowBox[{"parameterList","[",RowBox[{"[",RowBox[{"i",","," ","10"}],"]"}],"]"}]}],";","\[IndentingNewLine]","\[IndentingNewLine]",RowBox[
{"While","[",RowBox[{RowBox[{"t"," ","<",RowBox[{"relaxtime","+"," ","runFor"}]}],",","\[IndentingNewLine]",RowBox[
{RowBox[{"m"," ","="," ",RowBox[{"m"," ","+"," ",RowBox[{"dt","*",RowBox[{"(",RowBox[
{RowBox[{"amF"," ",RowBox[{"am","[","v","]"}],"*",RowBox[{"(",RowBox[{"1"," ","-"," ","m"}],")"}]}]," ","-"," ",RowBox[
{"bmF"," ",RowBox[{"bm","[","v","]"}],"*","m"}]}],")"}]}]}]}],";","\[IndentingNewLine]",RowBox[
{"h"," ","="," ",RowBox[{"h"," ","+"," ",RowBox[{"dt","*",RowBox[{"("," ",RowBox[
{RowBox[{"ahF"," ",RowBox[{"ah","[","v","]"}],"*",RowBox[{"(",RowBox[{"1"," ","-"," ","h"}],")"}]}]," ","-"," ",RowBox[
{"bhF"," ",RowBox[{"bh","[","v","]"}],"*","h"}]}],")"}]}]}]}],";"," ","\[IndentingNewLine]",RowBox[
{"n"," ","="," ",RowBox[{"n"," ","+"," ",RowBox[{"dt","*",RowBox[{"("," ",RowBox[
{RowBox[{"anF"," ",RowBox[{"an","[","v","]"}],"*",RowBox[{"(",RowBox[{"1"," ","-"," ","n"}],")"}]}]," ","-"," ",RowBox[
{"bnF"," ",RowBox[{"bn","[","v","]"}],"*","n"}]}],")"}]}]}]}],";"," ","\[IndentingNewLine]",RowBox[
{"If","[",RowBox[{RowBox[{RowBox[{"t"," ",">"," ",RowBox[{"relaxtime","+","wait"}]}],"&&",RowBox[
{"t","<",RowBox[{"relaxtime","+","wait"," ","+"," ","pd"}]}]}],","," ",RowBox[{"iinj"," ","="," ",RowBox[
{"amp"," ","ampF"}]}],","," ",RowBox[{"iinj"," ","="," ","0"}]}],"]"}],";"," ",RowBox[
{"(*"," ","stimulation"," ","*)"}],"\[IndentingNewLine]",RowBox[{"ina"," ","="," ",RowBox[