Logo ROOT  
Reference Guide
test.py
Go to the documentation of this file.
1from math import exp
2
3from math import tanh
4
5class test:
6 def value(self,index,in0,in1,in2):
7 self.input0 = (in0 - 0.459987)/0.0509152
8 self.input1 = (in1 - 0.188581)/0.0656804
9 self.input2 = (in2 - 134.719)/16.5033
10 if index==0: return self.neuron0x55a5f0c1aee0();
11 return 0.
13 return self.input0
15 return self.input1
17 return self.input2
19 input = 0.591557
20 input = input + self.synapse0x55a5f0c199c0()
21 input = input + self.synapse0x55a5f0c19a50()
22 input = input + self.synapse0x55a5f0c19a90()
23 if input<-709. : return 0
24 return ((1/(1+exp(-input)))*1)+0
26 input = -0.292795
27 input = input + self.synapse0x55a5f0c19bf0()
28 input = input + self.synapse0x55a5f0c19c30()
29 input = input + self.synapse0x55a5f0c19c70()
30 if input<-709. : return 0
31 return ((1/(1+exp(-input)))*1)+0
33 input = -2.58567
34 input = input + self.synapse0x55a5f0c19e60()
35 input = input + self.synapse0x55a5f0c19ea0()
36 input = input + self.synapse0x55a5f0c19ee0()
37 if input<-709. : return 0
38 return ((1/(1+exp(-input)))*1)+0
40 input = -1.617
41 input = input + self.synapse0x55a5f0c1a0d0()
42 input = input + self.synapse0x55a5f0c1a110()
43 input = input + self.synapse0x55a5f0c1a150()
44 if input<-709. : return 0
45 return ((1/(1+exp(-input)))*1)+0
47 input = 0.505817
48 input = input + self.synapse0x55a5f0c1a340()
49 input = input + self.synapse0x55a5f0c1a380()
50 input = input + self.synapse0x55a5f0c1a3c0()
51 if input<-709. : return 0
52 return ((1/(1+exp(-input)))*1)+0
54 input = 0.799354
55 input = input + self.synapse0x55a5f0c1a5b0()
56 input = input + self.synapse0x55a5f0c1a5f0()
57 input = input + self.synapse0x55a5f0c1a740()
58 input = input + self.synapse0x55a5f0c1a780()
59 input = input + self.synapse0x55a5f0c1a7c0()
60 if input<-709. : return 0
61 return ((1/(1+exp(-input)))*1)+0
63 input = 0.0637649
64 input = input + self.synapse0x55a5f0c1a920()
65 input = input + self.synapse0x55a5f0c1a960()
66 input = input + self.synapse0x55a5f0c1a9a0()
67 input = input + self.synapse0x55a5f0c1a9e0()
68 input = input + self.synapse0x55a5f0c1aa20()
69 if input<-709. : return 0
70 return ((1/(1+exp(-input)))*1)+0
72 input = 0.282192
73 input = input + self.synapse0x55a5f0c1ada0()
74 input = input + self.synapse0x55a5f0c1ade0()
75 input = input + self.synapse0x55a5f0c1ae20()
76 input = input + self.synapse0x55a5f0c1ae60()
77 input = input + self.synapse0x55a5f0c1aea0()
78 if input<-709. : return 0
79 return ((1/(1+exp(-input)))*1)+0
81 input = 0.380964
82 input = input + self.synapse0x55a5f0c1b220()
83 input = input + self.synapse0x55a5f0c1b260()
84 input = input + self.synapse0x55a5f0c1b2a0()
85 return (input*1)+0
87 return (self.neuron0x55a5edeb7070()*-1.06341)
89 return (self.neuron0x55a5f02d3630()*0.54656)
91 return (self.neuron0x55a5f01b1380()*2.24719)
93 return (self.neuron0x55a5edeb7070()*0.35496)
95 return (self.neuron0x55a5f02d3630()*0.283683)
97 return (self.neuron0x55a5f01b1380()*-0.750035)
99 return (self.neuron0x55a5edeb7070()*0.407864)
101 return (self.neuron0x55a5f02d3630()*-2.75106)
103 return (self.neuron0x55a5f01b1380()*2.81265)
105 return (self.neuron0x55a5edeb7070()*-0.616421)
107 return (self.neuron0x55a5f02d3630()*-1.66167)
109 return (self.neuron0x55a5f01b1380()*1.96843)
111 return (self.neuron0x55a5edeb7070()*-0.353022)
113 return (self.neuron0x55a5f02d3630()*-1.30715)
115 return (self.neuron0x55a5f01b1380()*-0.751448)
117 return (self.neuron0x55a5f01fd620()*-0.446266)
119 return (self.neuron0x55a5f01e5b80()*-0.540938)
121 return (self.neuron0x55a5f029f210()*0.129226)
123 return (self.neuron0x55a5f01ff3c0()*0.0730231)
125 return (self.neuron0x55a5efd89cf0()*-1.07317)
127 return (self.neuron0x55a5f01fd620()*0.490477)
129 return (self.neuron0x55a5f01e5b80()*1.12816)
131 return (self.neuron0x55a5f029f210()*1.91067)
133 return (self.neuron0x55a5f01ff3c0()*0.0252189)
135 return (self.neuron0x55a5efd89cf0()*-0.977267)
137 return (self.neuron0x55a5f01fd620()*-0.323487)
139 return (self.neuron0x55a5f01e5b80()*-0.441199)
141 return (self.neuron0x55a5f029f210()*-1.06889)
143 return (self.neuron0x55a5f01ff3c0()*-0.373079)
145 return (self.neuron0x55a5efd89cf0()*0.0270681)
147 return (self.neuron0x55a5ef3ee5b0()*-3.87753)
149 return (self.neuron0x55a5f01b77b0()*2.43565)
151 return (self.neuron0x55a5f0c1aa60()*-0.263564)
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void value
synapse0x55a5f0c1a7c0(self)
Definition test.py:124
synapse0x55a5f0c19bf0(self)
Definition test.py:92
neuron0x55a5f01b1380(self)
Definition test.py:16
neuron0x55a5f01ff3c0(self)
Definition test.py:39
synapse0x55a5f0c1a110(self)
Definition test.py:106
neuron0x55a5f0c1aee0(self)
Definition test.py:80
neuron0x55a5f0c1aa60(self)
Definition test.py:71
synapse0x55a5f0c1ae20(self)
Definition test.py:140
neuron0x55a5edeb7070(self)
Definition test.py:12
synapse0x55a5f0c19a50(self)
Definition test.py:88
synapse0x55a5f0c1a9e0(self)
Definition test.py:132
synapse0x55a5f0c19e60(self)
Definition test.py:98
synapse0x55a5f0c1ada0(self)
Definition test.py:136
synapse0x55a5f0c1a9a0(self)
Definition test.py:130
synapse0x55a5f0c199c0(self)
Definition test.py:86
synapse0x55a5f0c1a740(self)
Definition test.py:120
synapse0x55a5f0c1aea0(self)
Definition test.py:144
synapse0x55a5f0c1a340(self)
Definition test.py:110
neuron0x55a5f01b77b0(self)
Definition test.py:62
synapse0x55a5f0c1a5b0(self)
Definition test.py:116
neuron0x55a5ef3ee5b0(self)
Definition test.py:53
synapse0x55a5f0c1a960(self)
Definition test.py:128
synapse0x55a5f0c19ea0(self)
Definition test.py:100
synapse0x55a5f0c1a780(self)
Definition test.py:122
synapse0x55a5f0c19c70(self)
Definition test.py:96
synapse0x55a5f0c1ade0(self)
Definition test.py:138
synapse0x55a5f0c19a90(self)
Definition test.py:90
synapse0x55a5f0c1a150(self)
Definition test.py:108
synapse0x55a5f0c1a920(self)
Definition test.py:126
synapse0x55a5f0c19c30(self)
Definition test.py:94
synapse0x55a5f0c1a380(self)
Definition test.py:112
synapse0x55a5f0c1b220(self)
Definition test.py:146
synapse0x55a5f0c1b2a0(self)
Definition test.py:150
synapse0x55a5f0c1a3c0(self)
Definition test.py:114
synapse0x55a5f0c1aa20(self)
Definition test.py:134
synapse0x55a5f0c1a5f0(self)
Definition test.py:118
neuron0x55a5efd89cf0(self)
Definition test.py:46
synapse0x55a5f0c19ee0(self)
Definition test.py:102
tuple input2
Definition test.py:9
synapse0x55a5f0c1a0d0(self)
Definition test.py:104
tuple input0
Definition test.py:7
neuron0x55a5f029f210(self)
Definition test.py:32
neuron0x55a5f01fd620(self)
Definition test.py:18
tuple input1
Definition test.py:8
synapse0x55a5f0c1b260(self)
Definition test.py:148
neuron0x55a5f01e5b80(self)
Definition test.py:25
neuron0x55a5f02d3630(self)
Definition test.py:14
synapse0x55a5f0c1ae60(self)
Definition test.py:142