-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathall_tau_vecs.hoc
More file actions
102 lines (66 loc) · 1.86 KB
/
Copy pathall_tau_vecs.hoc
File metadata and controls
102 lines (66 loc) · 1.86 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
//**************************************************************************
// All_Tau_Vecs loads the tables used to define the taus for channels
objref taum_
objref tauh_
objref vtau_
objref file_
file_ = new File ()
taum_ = new Vector(16,0)
tauh_ = new Vector(16,0)
vtau_ = new Vector(16,0)
sprint(dirstr, "tau_tables/taum_naf.txt")
file_.ropen (dirstr)
taum_.scanf(file_)
file_.close()
sprint(dirstr, "tau_tables/tauh_naf.txt")
file_.ropen (dirstr)
tauh_.scanf(file_)
file_.close()
sprint(dirstr, "tau_tables/vtau_naf.txt")
file_.ropen (dirstr)
vtau_.scanf(file_)
file_.close()
table_taumnaf_naf(taum_,vtau_)
table_tauhnaf_naf(tauh_,vtau_)
//*************************
//*************************
objref mtau_kaf_
objref vtau_kaf_
objref file_kaf_
file_kaf_ = new File ()
mtau_kaf_ = new Vector(31,0)
vtau_kaf_ = new Vector(31,0)
sprint(dirstr, "tau_tables/taum_kaf.txt")
file_kaf_.ropen (dirstr)
mtau_kaf_.scanf(file_kaf_)
file_kaf_.close()
sprint(dirstr, "tau_tables/vtau_kaf.txt")
file_kaf_.ropen (dirstr)
vtau_kaf_.scanf(file_kaf_)
file_kaf_.close()
table_mtau_kaf(mtau_kaf_,vtau_kaf_)
//*************************
//*************************
objref taum_krp_
objref tauh_krp_
objref vtau_krp_
objref file_krp_
file_krp_ = new File ()
taum_krp_ = new Vector(31,0)
tauh_krp_ = new Vector(31,0)
vtau_krp_ = new Vector(31,0)
sprint(dirstr, "tau_tables/taum_krp.txt")
file_krp_.ropen (dirstr)
taum_krp_.scanf(file_krp_)
file_krp_.close()
sprint(dirstr, "tau_tables/tauh_krp.txt")
file_krp_.ropen (dirstr)
tauh_krp_.scanf(file_krp_)
file_krp_.close()
sprint(dirstr, "tau_tables/vtau_krp.txt")
file_krp_.ropen (dirstr)
vtau_krp_.scanf(file_krp_)
file_krp_.close()
table_taumkrp_krp(taum_krp_,vtau_krp_)
table_tauhkrp_krp(tauh_krp_,vtau_krp_)
//*************************