File size: 3,398 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
{
  "global_settings": {
    "coupling": 70
  },
  "nodes": [
    {
      "id": 0,
      "class_name": "QualiaDetectorNode",
      "pos_x": -48.0,
      "pos_y": -54.0,
      "width": 480.0,
      "height": 345.0,
      "config": {
        "inputs": {
          "fast_latent": "spectrum",
          "slow_latent": "spectrum"
        },
        "outputs": {
          "qualia_intensity": "signal",
          "prediction_error": "signal",
          "error_fd": "signal",
          "predicted_sensation": "spectrum"
        },
        "node_title": "Qualia Detector",
        "history_length": 50,
        "qualia_intensity": 0.0,
        "error_fd": 1.0
      }
    },
    {
      "id": 1,
      "class_name": "DualTimescaleEncoderNode",
      "pos_x": 211.0,
      "pos_y": -283.0,
      "width": 200.0,
      "height": 180.0,
      "config": {
        "inputs": {
          "image_in": "image"
        },
        "outputs": {
          "fast_latent": "spectrum",
          "slow_latent": "spectrum",
          "mismatch": "signal",
          "fast_image": "image",
          "slow_image": "image"
        },
        "node_title": "Dual Timescale Encoder",
        "fast_dim": 8,
        "slow_dim": 64,
        "img_size": 64,
        "slow_momentum": 0.9
      }
    },
    {
      "id": 2,
      "class_name": "MediaSourceNode",
      "pos_x": -34.0,
      "pos_y": -276.0,
      "width": 200.0,
      "height": 180.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.031356004901960784
      }
    },
    {
      "id": 3,
      "class_name": "PhaseCouplingNode",
      "pos_x": 480.0,
      "pos_y": -273.0,
      "width": 543.0,
      "height": 411.0,
      "config": {
        "inputs": {
          "fast_stream": "spectrum",
          "slow_stream": "spectrum"
        },
        "outputs": {
          "phase_coherence": "signal",
          "coupling_strength": "signal",
          "sync_event": "signal",
          "desync_event": "signal",
          "dominant_coupling": "signal"
        },
        "node_title": "Phase Coupling",
        "history_length": 100,
        "phase_coherence": 0.9987432360649109,
        "coupling_strength": 0.9981026832379566,
        "sync_event": 5e-324,
        "desync_event": 0.0,
        "dominant_coupling": 2.0,
        "prev_coherence": 0.9987432360649109
      }
    }
  ],
  "edges": [
    {
      "from_node_id": 1,
      "from_port": "fast_latent",
      "to_node_id": 0,
      "to_port": "fast_latent"
    },
    {
      "from_node_id": 1,
      "from_port": "slow_latent",
      "to_node_id": 0,
      "to_port": "slow_latent"
    },
    {
      "from_node_id": 2,
      "from_port": "image",
      "to_node_id": 1,
      "to_port": "image_in"
    },
    {
      "from_node_id": 1,
      "from_port": "fast_latent",
      "to_node_id": 3,
      "to_port": "fast_stream"
    },
    {
      "from_node_id": 1,
      "from_port": "slow_latent",
      "to_node_id": 3,
      "to_port": "slow_stream"
    }
  ]
}