File size: 6,375 Bytes
3bb804c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
  "global_settings": {
    "coupling": 100
  },
  "nodes": [
    {
      "id": 0,
      "class_name": "ConstantSignalNode",
      "pos_x": -801.0,
      "pos_y": 3.0,
      "width": 200.0,
      "height": 100.0,
      "config": {
        "inputs": {},
        "outputs": {
          "signal": "signal"
        },
        "input_data": {},
        "node_title": "Train Gate",
        "value": 1.0
      },
      "custom_state_file": null
    },
    {
      "id": 1,
      "class_name": "EEGFileSourceNode",
      "pos_x": -856.0,
      "pos_y": 201.0,
      "width": 200.0,
      "height": 180.0,
      "config": {
        "inputs": {},
        "outputs": {
          "delta": "signal",
          "theta": "signal",
          "alpha": "signal",
          "beta": "signal",
          "gamma": "signal",
          "raw_signal": "signal"
        },
        "input_data": {},
        "node_title": "EEG (Occipital)",
        "edf_file_path": "e:\\docshouse\\450\\1.edf",
        "selected_region": "Occipital",
        "_last_path": "e:\\docshouse\\450\\1.edf",
        "_last_region": "Occipital",
        "fs": 100.0,
        "current_time": 31.033333333334035,
        "window_size": 1.0,
        "output_powers": {
          "delta": 3.392514448780797e-10,
          "theta": 1.5241075038017795e-10,
          "alpha": 1.333982264383608e-10,
          "beta": 1.1195493430886338e-10,
          "gamma": 2.137785711957825e-11,
          "raw_signal": -5.9920300870625935e-05
        }
      },
      "custom_state_file": null
    },
    {
      "id": 2,
      "class_name": "EEGProcessorNode",
      "pos_x": -622.0,
      "pos_y": 207.0,
      "width": 200.0,
      "height": 180.0,
      "config": {
        "inputs": {
          "delta_in": "signal",
          "theta_in": "signal",
          "alpha_in": "signal",
          "beta_in": "signal",
          "gamma_in": "signal",
          "raw_in": "signal",
          "scale_mod": "signal"
        },
        "outputs": {
          "latent_out": "spectrum",
          "delta_out": "signal",
          "theta_out": "signal",
          "alpha_out": "signal",
          "beta_out": "signal",
          "gamma_out": "signal",
          "raw_out": "signal"
        },
        "input_data": {
          "delta_in": [
            3.5229199567167544e-10
          ],
          "theta_in": [
            1.5494851714605022e-10
          ],
          "alpha_in": [
            1.3456769126530947e-10
          ],
          "beta_in": [
            1.0784433415768551e-10
          ],
          "gamma_in": [
            2.201061508086593e-11
          ],
          "raw_in": [],
          "scale_mod": []
        },
        "node_title": "EEG Processor",
        "base_scale": 10000000
      },
      "custom_state_file": null
    },
    {
      "id": 3,
      "class_name": "RealVAE_2_Node",
      "pos_x": -348.0,
      "pos_y": -47.0,
      "width": 200.0,
      "height": 180.0,
      "config": {
        "inputs": {
          "image_in": "image",
          "latent_in": "spectrum",
          "train": "signal",
          "use_injection": "signal"
        },
        "outputs": {
          "reconstruction": "image",
          "latent_out": "spectrum",
          "loss": "signal"
        },
        "node_title": "Real VAE (Injectable)",
        "latent_dim": 16,
        "img_size": 64,
        "current_loss": 0.0,
        "training_steps": 1809,
        "injecting": true
      },
      "custom_state_file": null
    },
    {
      "id": 4,
      "class_name": "RetrocausalConstraintNode",
      "pos_x": -83.0,
      "pos_y": -28.0,
      "width": 378.0,
      "height": 410.0,
      "config": {
        "inputs": {
          "state_in": "image",
          "constraint_strength": "signal",
          "noise_field": "image"
        },
        "outputs": {
          "present_state": "image",
          "constraint_violation": "signal",
          "temporal_flow": "image"
        },
        "node_title": "Retrocausal Constraint",
        "buffer_size": 30,
        "base_constraint_strength": 0.7,
        "backward_weight": 0.5,
        "forward_weight": 0.5,
        "noise_scale": 0.2,
        "constraint_violation": 0.004671273667833233
      },
      "custom_state_file": null
    },
    {
      "id": 5,
      "class_name": "TemporalBlurNode",
      "pos_x": 602.0,
      "pos_y": -134.0,
      "width": 926.0,
      "height": 638.0,
      "config": {
        "inputs": {
          "image_in": "image",
          "reset": "signal"
        },
        "outputs": {
          "image_out": "image"
        },
        "input_data": {
          "image_in": [],
          "reset": []
        },
        "node_title": "Temporal Blur (Ghosting)",
        "feedback": 0.9
      },
      "custom_state_file": null
    }
  ],
  "edges": [
    {
      "from_node_id": 1,
      "from_port": "delta",
      "to_node_id": 2,
      "to_port": "delta_in",
      "learned_weight": 1.0
    },
    {
      "from_node_id": 1,
      "from_port": "theta",
      "to_node_id": 2,
      "to_port": "theta_in",
      "learned_weight": 1.0
    },
    {
      "from_node_id": 1,
      "from_port": "alpha",
      "to_node_id": 2,
      "to_port": "alpha_in",
      "learned_weight": 1.0
    },
    {
      "from_node_id": 1,
      "from_port": "beta",
      "to_node_id": 2,
      "to_port": "beta_in",
      "learned_weight": 1.0
    },
    {
      "from_node_id": 1,
      "from_port": "gamma",
      "to_node_id": 2,
      "to_port": "gamma_in",
      "learned_weight": 1.0
    },
    {
      "from_node_id": 0,
      "from_port": "signal",
      "to_node_id": 3,
      "to_port": "train",
      "learned_weight": 1.0
    },
    {
      "from_node_id": 2,
      "from_port": "latent_out",
      "to_node_id": 3,
      "to_port": "latent_in",
      "learned_weight": 1.0
    },
    {
      "from_node_id": 0,
      "from_port": "signal",
      "to_node_id": 3,
      "to_port": "use_injection",
      "learned_weight": 1.0
    },
    {
      "from_node_id": 3,
      "from_port": "reconstruction",
      "to_node_id": 4,
      "to_port": "state_in",
      "learned_weight": 1.0
    }
  ]
}