@science-corporation/synapse 2.2.3 → 2.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,236 +2,6 @@
2
2
  "nested": {
3
3
  "synapse": {
4
4
  "nested": {
5
- "FunctionProfile": {
6
- "fields": {
7
- "name": {
8
- "type": "string",
9
- "id": 1
10
- },
11
- "callCount": {
12
- "type": "uint64",
13
- "id": 2
14
- },
15
- "minDurationNs": {
16
- "type": "uint64",
17
- "id": 3
18
- },
19
- "maxDurationNs": {
20
- "type": "uint64",
21
- "id": 4
22
- },
23
- "averageDurationNs": {
24
- "type": "uint64",
25
- "id": 5
26
- },
27
- "medianDurationNs": {
28
- "type": "uint64",
29
- "id": 6
30
- },
31
- "p99DurationNs": {
32
- "type": "uint64",
33
- "id": 7
34
- },
35
- "latestDurationNs": {
36
- "type": "uint64",
37
- "id": 8
38
- }
39
- }
40
- },
41
- "NodeType": {
42
- "values": {
43
- "kNodeTypeUnknown": 0,
44
- "kBroadbandSource": 3,
45
- "kElectricalStimulation": 4,
46
- "kOpticalStimulation": 5,
47
- "kSpikeDetector": 6,
48
- "kSpikeSource": 7,
49
- "kSpectralFilter": 8,
50
- "kDiskWriter": 9,
51
- "kSpikeBinner": 10,
52
- "kApplication": 11
53
- },
54
- "reserved": [
55
- [
56
- 1,
57
- 1
58
- ],
59
- [
60
- 2,
61
- 2
62
- ]
63
- ]
64
- },
65
- "NodeConfig": {
66
- "oneofs": {
67
- "config": {
68
- "oneof": [
69
- "broadbandSource",
70
- "electricalStimulation",
71
- "opticalStimulation",
72
- "spikeDetector",
73
- "spectralFilter",
74
- "diskWriter",
75
- "spikeSource",
76
- "spikeBinner",
77
- "application"
78
- ]
79
- }
80
- },
81
- "fields": {
82
- "type": {
83
- "type": "NodeType",
84
- "id": 1
85
- },
86
- "id": {
87
- "type": "uint32",
88
- "id": 2
89
- },
90
- "broadbandSource": {
91
- "type": "BroadbandSourceConfig",
92
- "id": 5
93
- },
94
- "electricalStimulation": {
95
- "type": "ElectricalStimulationConfig",
96
- "id": 6
97
- },
98
- "opticalStimulation": {
99
- "type": "OpticalStimulationConfig",
100
- "id": 8
101
- },
102
- "spikeDetector": {
103
- "type": "SpikeDetectorConfig",
104
- "id": 9
105
- },
106
- "spectralFilter": {
107
- "type": "SpectralFilterConfig",
108
- "id": 10
109
- },
110
- "diskWriter": {
111
- "type": "DiskWriterConfig",
112
- "id": 11
113
- },
114
- "spikeSource": {
115
- "type": "SpikeSourceConfig",
116
- "id": 12
117
- },
118
- "spikeBinner": {
119
- "type": "SpikeBinnerConfig",
120
- "id": 13
121
- },
122
- "application": {
123
- "type": "ApplicationNodeConfig",
124
- "id": 14
125
- }
126
- },
127
- "reserved": [
128
- [
129
- 3,
130
- 3
131
- ],
132
- [
133
- 4,
134
- 4
135
- ]
136
- ]
137
- },
138
- "NodeStatus": {
139
- "oneofs": {
140
- "status": {
141
- "oneof": [
142
- "broadbandSource",
143
- "electricalStimulation",
144
- "application",
145
- "opticalStimulation",
146
- "diskWriter"
147
- ]
148
- }
149
- },
150
- "fields": {
151
- "type": {
152
- "type": "NodeType",
153
- "id": 1
154
- },
155
- "id": {
156
- "type": "uint32",
157
- "id": 2
158
- },
159
- "broadbandSource": {
160
- "type": "BroadbandSourceStatus",
161
- "id": 4
162
- },
163
- "electricalStimulation": {
164
- "type": "ElectricalStimulationStatus",
165
- "id": 6
166
- },
167
- "application": {
168
- "type": "ApplicationNodeStatus",
169
- "id": 7
170
- },
171
- "opticalStimulation": {
172
- "type": "OpticalStimulationStatus",
173
- "id": 8
174
- },
175
- "diskWriter": {
176
- "type": "DiskWriterStatus",
177
- "id": 10
178
- }
179
- },
180
- "reserved": [
181
- [
182
- 3,
183
- 3
184
- ],
185
- [
186
- 5,
187
- 5
188
- ]
189
- ]
190
- },
191
- "NodeConnection": {
192
- "fields": {
193
- "srcNodeId": {
194
- "type": "uint32",
195
- "id": 1
196
- },
197
- "dstNodeId": {
198
- "type": "uint32",
199
- "id": 2
200
- }
201
- }
202
- },
203
- "BroadbandSourceConfig": {
204
- "fields": {
205
- "peripheralId": {
206
- "type": "uint32",
207
- "id": 1
208
- },
209
- "bitWidth": {
210
- "type": "uint32",
211
- "id": 2
212
- },
213
- "sampleRateHz": {
214
- "type": "uint32",
215
- "id": 3
216
- },
217
- "gain": {
218
- "type": "float",
219
- "id": 4
220
- },
221
- "signal": {
222
- "type": "SignalConfig",
223
- "id": 5
224
- }
225
- }
226
- },
227
- "BroadbandSourceStatus": {
228
- "fields": {
229
- "status": {
230
- "type": "SignalStatus",
231
- "id": 1
232
- }
233
- }
234
- },
235
5
  "ElectrodeConfig": {
236
6
  "fields": {
237
7
  "channels": {
@@ -321,34 +91,56 @@
321
91
  }
322
92
  }
323
93
  },
324
- "ElectrodeStatus": {
94
+ "SpectralFilterMethod": {
95
+ "values": {
96
+ "kSpectralFilterUnknown": 0,
97
+ "kLowPass": 1,
98
+ "kHighPass": 2,
99
+ "kBandPass": 3,
100
+ "kBandStop": 4
101
+ }
102
+ },
103
+ "SpectralFilterConfig": {
325
104
  "fields": {
326
- "lsbUV": {
327
- "type": "float",
105
+ "method": {
106
+ "type": "SpectralFilterMethod",
328
107
  "id": 1
108
+ },
109
+ "lowCutoffHz": {
110
+ "type": "float",
111
+ "id": 2
112
+ },
113
+ "highCutoffHz": {
114
+ "type": "float",
115
+ "id": 3
329
116
  }
330
117
  }
331
118
  },
332
- "PixelStatus": {
333
- "fields": {}
334
- },
335
- "SignalStatus": {
336
- "oneofs": {
337
- "signalType": {
338
- "oneof": [
339
- "electrode",
340
- "pixel"
341
- ]
342
- }
343
- },
119
+ "SpikeSourceConfig": {
344
120
  "fields": {
345
- "electrode": {
346
- "type": "ElectrodeStatus",
121
+ "peripheralId": {
122
+ "type": "uint32",
347
123
  "id": 1
348
124
  },
349
- "pixel": {
350
- "type": "PixelStatus",
125
+ "sampleRateHz": {
126
+ "type": "uint32",
351
127
  "id": 2
128
+ },
129
+ "spikeWindowMs": {
130
+ "type": "float",
131
+ "id": 3
132
+ },
133
+ "gain": {
134
+ "type": "float",
135
+ "id": 4
136
+ },
137
+ "thresholdUV": {
138
+ "type": "float",
139
+ "id": 5
140
+ },
141
+ "electrodes": {
142
+ "type": "ElectrodeConfig",
143
+ "id": 6
352
144
  }
353
145
  }
354
146
  },
@@ -385,73 +177,40 @@
385
177
  }
386
178
  }
387
179
  },
388
- "OpticalStimulationConfig": {
180
+ "SpikeBinnerConfig": {
389
181
  "fields": {
390
- "peripheralId": {
391
- "type": "uint32",
392
- "id": 1
393
- },
394
- "pixelMask": {
395
- "rule": "repeated",
396
- "type": "uint32",
397
- "id": 2
398
- },
399
- "bitWidth": {
400
- "type": "uint32",
401
- "id": 3
402
- },
403
- "frameRate": {
182
+ "binSizeMs": {
404
183
  "type": "uint32",
405
- "id": 4
406
- },
407
- "gain": {
408
- "type": "float",
409
- "id": 5
410
- },
411
- "sendReceipts": {
412
- "type": "bool",
413
- "id": 6
184
+ "id": 1
414
185
  }
415
186
  }
416
187
  },
417
- "OpticalStimFrame": {
188
+ "ApplicationNodeConfig": {
418
189
  "fields": {
419
- "frameId": {
420
- "type": "uint64",
190
+ "name": {
191
+ "type": "string",
421
192
  "id": 1
422
193
  },
423
- "sequenceNumber": {
424
- "type": "uint64",
194
+ "parameters": {
195
+ "keyType": "string",
196
+ "type": "google.protobuf.Value",
425
197
  "id": 2
426
- },
427
- "timestampNs": {
428
- "type": "uint64",
429
- "id": 3
430
- },
431
- "rows": {
432
- "type": "uint32",
433
- "id": 4
434
- },
435
- "columns": {
436
- "type": "uint32",
437
- "id": 5
438
- },
439
- "intensity": {
440
- "rule": "repeated",
441
- "type": "float",
442
- "id": 6
443
- },
444
- "durationUs": {
445
- "type": "uint64",
446
- "id": 7
447
198
  }
448
199
  }
449
200
  },
450
- "OpticalStimulationStatus": {
201
+ "ApplicationNodeStatus": {
451
202
  "fields": {
452
- "framesWritten": {
453
- "type": "uint64",
203
+ "name": {
204
+ "type": "string",
454
205
  "id": 1
206
+ },
207
+ "running": {
208
+ "type": "bool",
209
+ "id": 2
210
+ },
211
+ "errorLogs": {
212
+ "type": "string",
213
+ "id": 3
455
214
  }
456
215
  }
457
216
  },
@@ -496,31 +255,6 @@
496
255
  }
497
256
  }
498
257
  },
499
- "SpectralFilterMethod": {
500
- "values": {
501
- "kSpectralFilterUnknown": 0,
502
- "kLowPass": 1,
503
- "kHighPass": 2,
504
- "kBandPass": 3,
505
- "kBandStop": 4
506
- }
507
- },
508
- "SpectralFilterConfig": {
509
- "fields": {
510
- "method": {
511
- "type": "SpectralFilterMethod",
512
- "id": 1
513
- },
514
- "lowCutoffHz": {
515
- "type": "float",
516
- "id": 2
517
- },
518
- "highCutoffHz": {
519
- "type": "float",
520
- "id": 3
521
- }
522
- }
523
- },
524
258
  "DiskWriterConfig": {
525
259
  "fields": {
526
260
  "filename": {
@@ -553,169 +287,101 @@
553
287
  }
554
288
  }
555
289
  },
556
- "SpikeSourceConfig": {
290
+ "ElectrodeStatus": {
557
291
  "fields": {
558
- "peripheralId": {
559
- "type": "uint32",
560
- "id": 1
561
- },
562
- "sampleRateHz": {
563
- "type": "uint32",
564
- "id": 2
565
- },
566
- "spikeWindowMs": {
567
- "type": "float",
568
- "id": 3
569
- },
570
- "gain": {
571
- "type": "float",
572
- "id": 4
573
- },
574
- "thresholdUV": {
292
+ "lsbUV": {
575
293
  "type": "float",
576
- "id": 5
577
- },
578
- "electrodes": {
579
- "type": "ElectrodeConfig",
580
- "id": 6
581
- }
582
- }
583
- },
584
- "SpikeBinnerConfig": {
585
- "fields": {
586
- "binSizeMs": {
587
- "type": "uint32",
588
294
  "id": 1
589
295
  }
590
296
  }
591
297
  },
592
- "ApplicationNodeConfig": {
593
- "fields": {
594
- "name": {
595
- "type": "string",
596
- "id": 1
597
- },
598
- "parameters": {
599
- "keyType": "string",
600
- "type": "google.protobuf.Value",
601
- "id": 2
602
- }
603
- }
298
+ "PixelStatus": {
299
+ "fields": {}
604
300
  },
605
- "ApplicationNodeStatus": {
301
+ "SignalStatus": {
302
+ "oneofs": {
303
+ "signalType": {
304
+ "oneof": [
305
+ "electrode",
306
+ "pixel"
307
+ ]
308
+ }
309
+ },
606
310
  "fields": {
607
- "name": {
608
- "type": "string",
311
+ "electrode": {
312
+ "type": "ElectrodeStatus",
609
313
  "id": 1
610
314
  },
611
- "running": {
612
- "type": "bool",
315
+ "pixel": {
316
+ "type": "PixelStatus",
613
317
  "id": 2
614
- },
615
- "errorLogs": {
616
- "type": "string",
617
- "id": 3
618
318
  }
619
319
  }
620
320
  },
621
- "TimeSyncPacket": {
321
+ "BroadbandSourceConfig": {
622
322
  "fields": {
623
- "clientId": {
624
- "type": "fixed32",
323
+ "peripheralId": {
324
+ "type": "uint32",
625
325
  "id": 1
626
326
  },
627
- "sequence": {
628
- "type": "fixed32",
327
+ "bitWidth": {
328
+ "type": "uint32",
629
329
  "id": 2
630
330
  },
631
- "clientSendTimeNs": {
632
- "type": "fixed64",
331
+ "sampleRateHz": {
332
+ "type": "uint32",
633
333
  "id": 3
634
334
  },
635
- "serverReceiveTimeNs": {
636
- "type": "fixed64",
335
+ "gain": {
336
+ "type": "float",
637
337
  "id": 4
638
338
  },
639
- "serverSendTimeNs": {
640
- "type": "fixed64",
339
+ "signal": {
340
+ "type": "SignalConfig",
641
341
  "id": 5
642
- },
643
- "clientReceiveTimeNs": {
644
- "type": "fixed64",
645
- "id": 6
646
342
  }
647
343
  }
648
344
  },
649
- "TimeSource": {
650
- "values": {
651
- "TIME_SOURCE_UNKNOWN": 0,
652
- "TIME_SOURCE_STEADY_CLOCK": 1,
653
- "TIME_SOURCE_SAMPLE_COUNTER": 2
654
- }
655
- },
656
- "DataType": {
657
- "values": {
658
- "kDataTypeUnknown": 0,
659
- "kAny": 1,
660
- "kBroadband": 2,
661
- "kSpiketrain": 3,
662
- "kTimestamps": 4,
663
- "kImage": 5,
664
- "kWaveforms": 6
345
+ "BroadbandSourceStatus": {
346
+ "fields": {
347
+ "status": {
348
+ "type": "SignalStatus",
349
+ "id": 1
350
+ }
665
351
  }
666
352
  },
667
- "Tensor": {
353
+ "OpticalStimulationConfig": {
668
354
  "fields": {
669
- "timestampNs": {
670
- "type": "uint64",
355
+ "peripheralId": {
356
+ "type": "uint32",
671
357
  "id": 1
672
358
  },
673
- "shape": {
359
+ "pixelMask": {
674
360
  "rule": "repeated",
675
- "type": "int32",
361
+ "type": "uint32",
676
362
  "id": 2
677
363
  },
678
- "dtype": {
679
- "type": "DType",
364
+ "bitWidth": {
365
+ "type": "uint32",
680
366
  "id": 3
681
367
  },
682
- "endianness": {
683
- "type": "Endianness",
368
+ "frameRate": {
369
+ "type": "uint32",
684
370
  "id": 4
685
371
  },
686
- "data": {
687
- "type": "bytes",
372
+ "gain": {
373
+ "type": "float",
688
374
  "id": 5
689
- }
690
- },
691
- "nested": {
692
- "DType": {
693
- "values": {
694
- "DT_INVALID": 0,
695
- "DT_FLOAT": 1,
696
- "DT_DOUBLE": 2,
697
- "DT_UINT8": 3,
698
- "DT_UINT16": 4,
699
- "DT_UINT32": 5,
700
- "DT_UINT64": 6,
701
- "DT_INT8": 7,
702
- "DT_INT16": 8,
703
- "DT_INT32": 9,
704
- "DT_INT64": 10,
705
- "DT_BOOL": 11
706
- }
707
375
  },
708
- "Endianness": {
709
- "values": {
710
- "TENSOR_LITTLE_ENDIAN": 0,
711
- "TENSOR_BIG_ENDIAN": 1
712
- }
376
+ "sendReceipts": {
377
+ "type": "bool",
378
+ "id": 6
713
379
  }
714
380
  }
715
381
  },
716
- "BroadbandFrame": {
382
+ "OpticalStimFrame": {
717
383
  "fields": {
718
- "timestampNs": {
384
+ "frameId": {
719
385
  "type": "uint64",
720
386
  "id": 1
721
387
  },
@@ -723,63 +389,99 @@
723
389
  "type": "uint64",
724
390
  "id": 2
725
391
  },
726
- "frameData": {
727
- "rule": "repeated",
728
- "type": "sint32",
392
+ "timestampNs": {
393
+ "type": "uint64",
729
394
  "id": 3
730
395
  },
731
- "sampleRateHz": {
396
+ "rows": {
732
397
  "type": "uint32",
733
398
  "id": 4
734
399
  },
735
- "channelRanges": {
736
- "rule": "repeated",
737
- "type": "ChannelRange",
400
+ "columns": {
401
+ "type": "uint32",
738
402
  "id": 5
739
403
  },
740
- "unixTimestampNs": {
404
+ "intensity": {
405
+ "rule": "repeated",
406
+ "type": "float",
407
+ "id": 6
408
+ },
409
+ "durationUs": {
741
410
  "type": "uint64",
742
- "id": 6
411
+ "id": 7
743
412
  }
744
413
  }
745
414
  },
746
- "Timeseries": {
415
+ "OpticalStimulationStatus": {
747
416
  "fields": {
748
- "id": {
749
- "type": "uint32",
417
+ "framesWritten": {
418
+ "type": "uint64",
750
419
  "id": 1
751
- },
752
- "datapoints": {
753
- "rule": "repeated",
754
- "type": "Datapoint",
755
- "id": 2
756
- }
757
- },
758
- "nested": {
759
- "Datapoint": {
760
- "fields": {
761
- "timestampNs": {
762
- "type": "uint64",
763
- "id": 1
764
- },
765
- "sample": {
766
- "type": "sint32",
767
- "id": 2
768
- }
769
- }
770
420
  }
771
421
  }
772
422
  },
773
- "AnnotatedTensor": {
774
- "fields": {
775
- "tensor": {
776
- "type": "Tensor",
777
- "id": 1
423
+ "SynapseDevice": {
424
+ "methods": {
425
+ "Info": {
426
+ "requestType": "google.protobuf.Empty",
427
+ "responseType": "DeviceInfo"
778
428
  },
779
- "metadata": {
780
- "keyType": "string",
781
- "type": "google.protobuf.Value",
782
- "id": 2
429
+ "Configure": {
430
+ "requestType": "DeviceConfiguration",
431
+ "responseType": "Status"
432
+ },
433
+ "Start": {
434
+ "requestType": "google.protobuf.Empty",
435
+ "responseType": "Status"
436
+ },
437
+ "Stop": {
438
+ "requestType": "google.protobuf.Empty",
439
+ "responseType": "Status"
440
+ },
441
+ "Query": {
442
+ "requestType": "QueryRequest",
443
+ "responseType": "QueryResponse"
444
+ },
445
+ "StreamQuery": {
446
+ "requestType": "StreamQueryRequest",
447
+ "responseType": "StreamQueryResponse",
448
+ "responseStream": true
449
+ },
450
+ "DeployApp": {
451
+ "requestType": "AppPackageChunk",
452
+ "requestStream": true,
453
+ "responseType": "AppDeployResponse",
454
+ "responseStream": true
455
+ },
456
+ "ListFiles": {
457
+ "requestType": "google.protobuf.Empty",
458
+ "responseType": "ListFilesResponse"
459
+ },
460
+ "WriteFile": {
461
+ "requestType": "WriteFileRequest",
462
+ "responseType": "WriteFileResponse"
463
+ },
464
+ "ReadFile": {
465
+ "requestType": "ReadFileRequest",
466
+ "responseType": "ReadFileResponse",
467
+ "responseStream": true
468
+ },
469
+ "DeleteFile": {
470
+ "requestType": "DeleteFileRequest",
471
+ "responseType": "DeleteFileResponse"
472
+ },
473
+ "GetLogs": {
474
+ "requestType": "LogQueryRequest",
475
+ "responseType": "LogQueryResponse"
476
+ },
477
+ "TailLogs": {
478
+ "requestType": "TailLogsRequest",
479
+ "responseType": "LogEntry",
480
+ "responseStream": true
481
+ },
482
+ "UpdateDeviceSettings": {
483
+ "requestType": "UpdateDeviceSettingsRequest",
484
+ "responseType": "UpdateDeviceSettingsResponse"
783
485
  }
784
486
  }
785
487
  },
@@ -1094,6 +796,168 @@
1094
796
  ]
1095
797
  ]
1096
798
  },
799
+ "NodeType": {
800
+ "values": {
801
+ "kNodeTypeUnknown": 0,
802
+ "kBroadbandSource": 3,
803
+ "kElectricalStimulation": 4,
804
+ "kOpticalStimulation": 5,
805
+ "kSpikeDetector": 6,
806
+ "kSpikeSource": 7,
807
+ "kSpectralFilter": 8,
808
+ "kDiskWriter": 9,
809
+ "kSpikeBinner": 10,
810
+ "kApplication": 11
811
+ },
812
+ "reserved": [
813
+ [
814
+ 1,
815
+ 1
816
+ ],
817
+ [
818
+ 2,
819
+ 2
820
+ ]
821
+ ]
822
+ },
823
+ "NodeConfig": {
824
+ "oneofs": {
825
+ "config": {
826
+ "oneof": [
827
+ "broadbandSource",
828
+ "electricalStimulation",
829
+ "opticalStimulation",
830
+ "spikeDetector",
831
+ "spectralFilter",
832
+ "diskWriter",
833
+ "spikeSource",
834
+ "spikeBinner",
835
+ "application"
836
+ ]
837
+ }
838
+ },
839
+ "fields": {
840
+ "type": {
841
+ "type": "NodeType",
842
+ "id": 1
843
+ },
844
+ "id": {
845
+ "type": "uint32",
846
+ "id": 2
847
+ },
848
+ "broadbandSource": {
849
+ "type": "BroadbandSourceConfig",
850
+ "id": 5
851
+ },
852
+ "electricalStimulation": {
853
+ "type": "ElectricalStimulationConfig",
854
+ "id": 6
855
+ },
856
+ "opticalStimulation": {
857
+ "type": "OpticalStimulationConfig",
858
+ "id": 8
859
+ },
860
+ "spikeDetector": {
861
+ "type": "SpikeDetectorConfig",
862
+ "id": 9
863
+ },
864
+ "spectralFilter": {
865
+ "type": "SpectralFilterConfig",
866
+ "id": 10
867
+ },
868
+ "diskWriter": {
869
+ "type": "DiskWriterConfig",
870
+ "id": 11
871
+ },
872
+ "spikeSource": {
873
+ "type": "SpikeSourceConfig",
874
+ "id": 12
875
+ },
876
+ "spikeBinner": {
877
+ "type": "SpikeBinnerConfig",
878
+ "id": 13
879
+ },
880
+ "application": {
881
+ "type": "ApplicationNodeConfig",
882
+ "id": 14
883
+ }
884
+ },
885
+ "reserved": [
886
+ [
887
+ 3,
888
+ 3
889
+ ],
890
+ [
891
+ 4,
892
+ 4
893
+ ]
894
+ ]
895
+ },
896
+ "NodeStatus": {
897
+ "oneofs": {
898
+ "status": {
899
+ "oneof": [
900
+ "broadbandSource",
901
+ "electricalStimulation",
902
+ "application",
903
+ "opticalStimulation",
904
+ "diskWriter"
905
+ ]
906
+ }
907
+ },
908
+ "fields": {
909
+ "type": {
910
+ "type": "NodeType",
911
+ "id": 1
912
+ },
913
+ "id": {
914
+ "type": "uint32",
915
+ "id": 2
916
+ },
917
+ "broadbandSource": {
918
+ "type": "BroadbandSourceStatus",
919
+ "id": 4
920
+ },
921
+ "electricalStimulation": {
922
+ "type": "ElectricalStimulationStatus",
923
+ "id": 6
924
+ },
925
+ "application": {
926
+ "type": "ApplicationNodeStatus",
927
+ "id": 7
928
+ },
929
+ "opticalStimulation": {
930
+ "type": "OpticalStimulationStatus",
931
+ "id": 8
932
+ },
933
+ "diskWriter": {
934
+ "type": "DiskWriterStatus",
935
+ "id": 10
936
+ }
937
+ },
938
+ "reserved": [
939
+ [
940
+ 3,
941
+ 3
942
+ ],
943
+ [
944
+ 5,
945
+ 5
946
+ ]
947
+ ]
948
+ },
949
+ "NodeConnection": {
950
+ "fields": {
951
+ "srcNodeId": {
952
+ "type": "uint32",
953
+ "id": 1
954
+ },
955
+ "dstNodeId": {
956
+ "type": "uint32",
957
+ "id": 2
958
+ }
959
+ }
960
+ },
1097
961
  "TapType": {
1098
962
  "values": {
1099
963
  "TAP_TYPE_UNSPECIFIED": 0,
@@ -1262,71 +1126,41 @@
1262
1126
  }
1263
1127
  }
1264
1128
  },
1265
- "SynapseDevice": {
1266
- "methods": {
1267
- "Info": {
1268
- "requestType": "google.protobuf.Empty",
1269
- "responseType": "DeviceInfo"
1270
- },
1271
- "Configure": {
1272
- "requestType": "DeviceConfiguration",
1273
- "responseType": "Status"
1274
- },
1275
- "Start": {
1276
- "requestType": "google.protobuf.Empty",
1277
- "responseType": "Status"
1278
- },
1279
- "Stop": {
1280
- "requestType": "google.protobuf.Empty",
1281
- "responseType": "Status"
1282
- },
1283
- "Query": {
1284
- "requestType": "QueryRequest",
1285
- "responseType": "QueryResponse"
1286
- },
1287
- "StreamQuery": {
1288
- "requestType": "StreamQueryRequest",
1289
- "responseType": "StreamQueryResponse",
1290
- "responseStream": true
1291
- },
1292
- "DeployApp": {
1293
- "requestType": "AppPackageChunk",
1294
- "requestStream": true,
1295
- "responseType": "AppDeployResponse",
1296
- "responseStream": true
1297
- },
1298
- "ListFiles": {
1299
- "requestType": "google.protobuf.Empty",
1300
- "responseType": "ListFilesResponse"
1301
- },
1302
- "WriteFile": {
1303
- "requestType": "WriteFileRequest",
1304
- "responseType": "WriteFileResponse"
1129
+ "TimeSyncPacket": {
1130
+ "fields": {
1131
+ "clientId": {
1132
+ "type": "fixed32",
1133
+ "id": 1
1305
1134
  },
1306
- "ReadFile": {
1307
- "requestType": "ReadFileRequest",
1308
- "responseType": "ReadFileResponse",
1309
- "responseStream": true
1135
+ "sequence": {
1136
+ "type": "fixed32",
1137
+ "id": 2
1310
1138
  },
1311
- "DeleteFile": {
1312
- "requestType": "DeleteFileRequest",
1313
- "responseType": "DeleteFileResponse"
1139
+ "clientSendTimeNs": {
1140
+ "type": "fixed64",
1141
+ "id": 3
1314
1142
  },
1315
- "GetLogs": {
1316
- "requestType": "LogQueryRequest",
1317
- "responseType": "LogQueryResponse"
1143
+ "serverReceiveTimeNs": {
1144
+ "type": "fixed64",
1145
+ "id": 4
1318
1146
  },
1319
- "TailLogs": {
1320
- "requestType": "TailLogsRequest",
1321
- "responseType": "LogEntry",
1322
- "responseStream": true
1147
+ "serverSendTimeNs": {
1148
+ "type": "fixed64",
1149
+ "id": 5
1323
1150
  },
1324
- "UpdateDeviceSettings": {
1325
- "requestType": "UpdateDeviceSettingsRequest",
1326
- "responseType": "UpdateDeviceSettingsResponse"
1151
+ "clientReceiveTimeNs": {
1152
+ "type": "fixed64",
1153
+ "id": 6
1327
1154
  }
1328
1155
  }
1329
1156
  },
1157
+ "TimeSource": {
1158
+ "values": {
1159
+ "TIME_SOURCE_UNKNOWN": 0,
1160
+ "TIME_SOURCE_STEADY_CLOCK": 1,
1161
+ "TIME_SOURCE_SAMPLE_COUNTER": 2
1162
+ }
1163
+ },
1330
1164
  "ListFilesResponse": {
1331
1165
  "fields": {
1332
1166
  "files": {
@@ -1581,6 +1415,172 @@
1581
1415
  "id": 2
1582
1416
  }
1583
1417
  }
1418
+ },
1419
+ "FunctionProfile": {
1420
+ "fields": {
1421
+ "name": {
1422
+ "type": "string",
1423
+ "id": 1
1424
+ },
1425
+ "callCount": {
1426
+ "type": "uint64",
1427
+ "id": 2
1428
+ },
1429
+ "minDurationNs": {
1430
+ "type": "uint64",
1431
+ "id": 3
1432
+ },
1433
+ "maxDurationNs": {
1434
+ "type": "uint64",
1435
+ "id": 4
1436
+ },
1437
+ "averageDurationNs": {
1438
+ "type": "uint64",
1439
+ "id": 5
1440
+ },
1441
+ "medianDurationNs": {
1442
+ "type": "uint64",
1443
+ "id": 6
1444
+ },
1445
+ "p99DurationNs": {
1446
+ "type": "uint64",
1447
+ "id": 7
1448
+ },
1449
+ "latestDurationNs": {
1450
+ "type": "uint64",
1451
+ "id": 8
1452
+ }
1453
+ }
1454
+ },
1455
+ "DataType": {
1456
+ "values": {
1457
+ "kDataTypeUnknown": 0,
1458
+ "kAny": 1,
1459
+ "kBroadband": 2,
1460
+ "kSpiketrain": 3,
1461
+ "kTimestamps": 4,
1462
+ "kImage": 5,
1463
+ "kWaveforms": 6
1464
+ }
1465
+ },
1466
+ "Tensor": {
1467
+ "fields": {
1468
+ "timestampNs": {
1469
+ "type": "uint64",
1470
+ "id": 1
1471
+ },
1472
+ "shape": {
1473
+ "rule": "repeated",
1474
+ "type": "int32",
1475
+ "id": 2
1476
+ },
1477
+ "dtype": {
1478
+ "type": "DType",
1479
+ "id": 3
1480
+ },
1481
+ "endianness": {
1482
+ "type": "Endianness",
1483
+ "id": 4
1484
+ },
1485
+ "data": {
1486
+ "type": "bytes",
1487
+ "id": 5
1488
+ }
1489
+ },
1490
+ "nested": {
1491
+ "DType": {
1492
+ "values": {
1493
+ "DT_INVALID": 0,
1494
+ "DT_FLOAT": 1,
1495
+ "DT_DOUBLE": 2,
1496
+ "DT_UINT8": 3,
1497
+ "DT_UINT16": 4,
1498
+ "DT_UINT32": 5,
1499
+ "DT_UINT64": 6,
1500
+ "DT_INT8": 7,
1501
+ "DT_INT16": 8,
1502
+ "DT_INT32": 9,
1503
+ "DT_INT64": 10,
1504
+ "DT_BOOL": 11
1505
+ }
1506
+ },
1507
+ "Endianness": {
1508
+ "values": {
1509
+ "TENSOR_LITTLE_ENDIAN": 0,
1510
+ "TENSOR_BIG_ENDIAN": 1
1511
+ }
1512
+ }
1513
+ }
1514
+ },
1515
+ "BroadbandFrame": {
1516
+ "fields": {
1517
+ "timestampNs": {
1518
+ "type": "uint64",
1519
+ "id": 1
1520
+ },
1521
+ "sequenceNumber": {
1522
+ "type": "uint64",
1523
+ "id": 2
1524
+ },
1525
+ "frameData": {
1526
+ "rule": "repeated",
1527
+ "type": "sint32",
1528
+ "id": 3
1529
+ },
1530
+ "sampleRateHz": {
1531
+ "type": "uint32",
1532
+ "id": 4
1533
+ },
1534
+ "channelRanges": {
1535
+ "rule": "repeated",
1536
+ "type": "ChannelRange",
1537
+ "id": 5
1538
+ },
1539
+ "unixTimestampNs": {
1540
+ "type": "uint64",
1541
+ "id": 6
1542
+ }
1543
+ }
1544
+ },
1545
+ "Timeseries": {
1546
+ "fields": {
1547
+ "id": {
1548
+ "type": "uint32",
1549
+ "id": 1
1550
+ },
1551
+ "datapoints": {
1552
+ "rule": "repeated",
1553
+ "type": "Datapoint",
1554
+ "id": 2
1555
+ }
1556
+ },
1557
+ "nested": {
1558
+ "Datapoint": {
1559
+ "fields": {
1560
+ "timestampNs": {
1561
+ "type": "uint64",
1562
+ "id": 1
1563
+ },
1564
+ "sample": {
1565
+ "type": "sint32",
1566
+ "id": 2
1567
+ }
1568
+ }
1569
+ }
1570
+ }
1571
+ },
1572
+ "AnnotatedTensor": {
1573
+ "fields": {
1574
+ "tensor": {
1575
+ "type": "Tensor",
1576
+ "id": 1
1577
+ },
1578
+ "metadata": {
1579
+ "keyType": "string",
1580
+ "type": "google.protobuf.Value",
1581
+ "id": 2
1582
+ }
1583
+ }
1584
1584
  }
1585
1585
  }
1586
1586
  },