File size: 3,359 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
{
  "global_settings": {
    "coupling": 100,
    "speed": 100
  },
  "nodes": [
    {
      "id": 0,
      "class_name": "GatedResonanceNode",
      "pos_x": -593.0,
      "pos_y": 37.0,
      "width": 200.0,
      "height": 188.0,
      "config": {
        "inputs": {
          "frequency_input": "spectrum",
          "threshold_mod": "signal",
          "coupling_mod": "signal",
          "reset": "signal"
        },
        "outputs": {
          "potential_map": "image",
          "spike_map": "image",
          "refractory_map": "image",
          "eigen_image": "image",
          "firing_rate": "signal",
          "synchrony": "signal",
          "eigenfrequencies": "spectrum"
        },
        "node_title": "Base Node",
        "size": 128,
        "center": 64,
        "threshold": 0.05,
        "refractory_period": 5,
        "leak": 0.05,
        "coupling": 0.15,
        "input_gain": 0.3,
        "kernel_type": "Star 5",
        "_last_kernel_type": "Star 5",
        "t": 1389
      },
      "custom_state_file": null
    },
    {
      "id": 1,
      "class_name": "ImageToVectorNode",
      "pos_x": -597.0,
      "pos_y": -213.0,
      "width": 200.0,
      "height": 180.0,
      "config": {
        "inputs": {
          "image_in": "image"
        },
        "outputs": {
          "vector_out": "spectrum"
        },
        "node_title": "Image -> Vector",
        "output_dim": 256
      },
      "custom_state_file": null
    },
    {
      "id": 2,
      "class_name": "MediaSourceNode",
      "pos_x": -575.0,
      "pos_y": -362.0,
      "width": 160.0,
      "height": 120.0,
      "config": {
        "inputs": {},
        "outputs": {
          "signal": "signal",
          "image": "image"
        },
        "input_data": {},
        "node_title": "Source (Webcam)",
        "device_id": 0,
        "source_type": "Webcam",
        "w": 160,
        "h": 120,
        "sample_rate": 44100,
        "signal_output": 0.1931701388888889
      },
      "custom_state_file": null
    },
    {
      "id": 3,
      "class_name": "SelfConsistentResonanceNode",
      "pos_x": -331.0,
      "pos_y": -383.0,
      "width": 739.0,
      "height": 600.0,
      "config": {
        "inputs": {
          "frequency_input": "spectrum",
          "feedback_modulation": "signal",
          "reset": "signal"
        },
        "outputs": {
          "structure": "image",
          "tension_map": "image",
          "scars_insulation": "image",
          "eigen_image": "image",
          "eigenfrequencies": "spectrum",
          "criticality_metric": "signal"
        },
        "node_title": "Base Node",
        "size": 128,
        "center": 64
      },
      "custom_state_file": null
    }
  ],
  "edges": [
    {
      "from_node_id": 1,
      "from_port": "vector_out",
      "to_node_id": 0,
      "to_port": "frequency_input",
      "learned_weight": 1.0
    },
    {
      "from_node_id": 2,
      "from_port": "image",
      "to_node_id": 1,
      "to_port": "image_in",
      "learned_weight": 1.0
    },
    {
      "from_node_id": 0,
      "from_port": "eigenfrequencies",
      "to_node_id": 3,
      "to_port": "frequency_input",
      "learned_weight": 1.0
    }
  ]
}