@science-corporation/synapse 2.2.9 → 2.3.1

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.
@@ -237,7 +237,8 @@
237
237
  "kSpectralFilter": 8,
238
238
  "kDiskWriter": 9,
239
239
  "kSpikeBinner": 10,
240
- "kApplication": 11
240
+ "kApplication": 11,
241
+ "kCamera": 12
241
242
  },
242
243
  "reserved": [
243
244
  [
@@ -262,7 +263,8 @@
262
263
  "diskWriter",
263
264
  "spikeSource",
264
265
  "spikeBinner",
265
- "application"
266
+ "application",
267
+ "camera"
266
268
  ]
267
269
  }
268
270
  },
@@ -310,6 +312,10 @@
310
312
  "application": {
311
313
  "type": "ApplicationNodeConfig",
312
314
  "id": 14
315
+ },
316
+ "camera": {
317
+ "type": "CameraConfig",
318
+ "id": 15
313
319
  }
314
320
  },
315
321
  "reserved": [
@@ -331,7 +337,8 @@
331
337
  "electricalStimulation",
332
338
  "application",
333
339
  "opticalStimulation",
334
- "diskWriter"
340
+ "diskWriter",
341
+ "camera"
335
342
  ]
336
343
  }
337
344
  },
@@ -363,6 +370,10 @@
363
370
  "diskWriter": {
364
371
  "type": "DiskWriterStatus",
365
372
  "id": 10
373
+ },
374
+ "camera": {
375
+ "type": "CameraStatus",
376
+ "id": 11
366
377
  }
367
378
  },
368
379
  "reserved": [
@@ -810,6 +821,221 @@
810
821
  }
811
822
  }
812
823
  },
824
+ "CameraConfig": {
825
+ "fields": {
826
+ "peripheralId": {
827
+ "type": "uint32",
828
+ "id": 1
829
+ },
830
+ "width": {
831
+ "type": "uint32",
832
+ "id": 2
833
+ },
834
+ "height": {
835
+ "type": "uint32",
836
+ "id": 3
837
+ },
838
+ "format": {
839
+ "type": "PixelFormat",
840
+ "id": 4
841
+ },
842
+ "frameRateHz": {
843
+ "type": "uint32",
844
+ "id": 5
845
+ }
846
+ }
847
+ },
848
+ "CameraStatus": {
849
+ "fields": {
850
+ "framesProduced": {
851
+ "type": "uint64",
852
+ "id": 1
853
+ },
854
+ "framesDropped": {
855
+ "type": "uint64",
856
+ "id": 2
857
+ }
858
+ }
859
+ },
860
+ "DataType": {
861
+ "values": {
862
+ "kDataTypeUnknown": 0,
863
+ "kAny": 1,
864
+ "kBroadband": 2,
865
+ "kSpiketrain": 3,
866
+ "kTimestamps": 4,
867
+ "kImage": 5,
868
+ "kWaveforms": 6
869
+ }
870
+ },
871
+ "Tensor": {
872
+ "fields": {
873
+ "timestampNs": {
874
+ "type": "uint64",
875
+ "id": 1
876
+ },
877
+ "shape": {
878
+ "rule": "repeated",
879
+ "type": "int32",
880
+ "id": 2
881
+ },
882
+ "dtype": {
883
+ "type": "DType",
884
+ "id": 3
885
+ },
886
+ "endianness": {
887
+ "type": "Endianness",
888
+ "id": 4
889
+ },
890
+ "data": {
891
+ "type": "bytes",
892
+ "id": 5
893
+ }
894
+ },
895
+ "nested": {
896
+ "DType": {
897
+ "values": {
898
+ "DT_INVALID": 0,
899
+ "DT_FLOAT": 1,
900
+ "DT_DOUBLE": 2,
901
+ "DT_UINT8": 3,
902
+ "DT_UINT16": 4,
903
+ "DT_UINT32": 5,
904
+ "DT_UINT64": 6,
905
+ "DT_INT8": 7,
906
+ "DT_INT16": 8,
907
+ "DT_INT32": 9,
908
+ "DT_INT64": 10,
909
+ "DT_BOOL": 11
910
+ }
911
+ },
912
+ "Endianness": {
913
+ "values": {
914
+ "TENSOR_LITTLE_ENDIAN": 0,
915
+ "TENSOR_BIG_ENDIAN": 1
916
+ }
917
+ }
918
+ }
919
+ },
920
+ "BroadbandFrame": {
921
+ "fields": {
922
+ "timestampNs": {
923
+ "type": "uint64",
924
+ "id": 1
925
+ },
926
+ "sequenceNumber": {
927
+ "type": "uint64",
928
+ "id": 2
929
+ },
930
+ "frameData": {
931
+ "rule": "repeated",
932
+ "type": "sint32",
933
+ "id": 3
934
+ },
935
+ "sampleRateHz": {
936
+ "type": "uint32",
937
+ "id": 4
938
+ },
939
+ "channelRanges": {
940
+ "rule": "repeated",
941
+ "type": "ChannelRange",
942
+ "id": 5
943
+ },
944
+ "unixTimestampNs": {
945
+ "type": "uint64",
946
+ "id": 6
947
+ }
948
+ }
949
+ },
950
+ "Timeseries": {
951
+ "fields": {
952
+ "id": {
953
+ "type": "uint32",
954
+ "id": 1
955
+ },
956
+ "datapoints": {
957
+ "rule": "repeated",
958
+ "type": "Datapoint",
959
+ "id": 2
960
+ }
961
+ },
962
+ "nested": {
963
+ "Datapoint": {
964
+ "fields": {
965
+ "timestampNs": {
966
+ "type": "uint64",
967
+ "id": 1
968
+ },
969
+ "sample": {
970
+ "type": "sint32",
971
+ "id": 2
972
+ }
973
+ }
974
+ }
975
+ }
976
+ },
977
+ "AnnotatedTensor": {
978
+ "fields": {
979
+ "tensor": {
980
+ "type": "Tensor",
981
+ "id": 1
982
+ },
983
+ "metadata": {
984
+ "keyType": "string",
985
+ "type": "google.protobuf.Value",
986
+ "id": 2
987
+ }
988
+ }
989
+ },
990
+ "PixelFormat": {
991
+ "values": {
992
+ "kPixelFormatUnknown": 0,
993
+ "kYUV420_888": 1,
994
+ "kRGB888": 2,
995
+ "kRGBA8888": 3,
996
+ "kGrayscale8": 4,
997
+ "kRAW10": 5,
998
+ "kRAW16": 6,
999
+ "kNV12": 7,
1000
+ "kNV21": 8
1001
+ }
1002
+ },
1003
+ "ImageFrame": {
1004
+ "fields": {
1005
+ "width": {
1006
+ "type": "uint32",
1007
+ "id": 1
1008
+ },
1009
+ "height": {
1010
+ "type": "uint32",
1011
+ "id": 2
1012
+ },
1013
+ "format": {
1014
+ "type": "PixelFormat",
1015
+ "id": 3
1016
+ },
1017
+ "sampleRateHz": {
1018
+ "type": "uint32",
1019
+ "id": 4
1020
+ },
1021
+ "sequenceNumber": {
1022
+ "type": "uint64",
1023
+ "id": 5
1024
+ },
1025
+ "timestampNs": {
1026
+ "type": "uint64",
1027
+ "id": 6
1028
+ },
1029
+ "unixTimestampNs": {
1030
+ "type": "uint64",
1031
+ "id": 7
1032
+ },
1033
+ "data": {
1034
+ "type": "bytes",
1035
+ "id": 8
1036
+ }
1037
+ }
1038
+ },
813
1039
  "FunctionProfile": {
814
1040
  "fields": {
815
1041
  "name": {
@@ -876,7 +1102,8 @@
876
1102
  "kBroadbandSource": 1,
877
1103
  "kElectricalStimulation": 2,
878
1104
  "kOpticalStimulation": 3,
879
- "kSpikeSource": 4
1105
+ "kSpikeSource": 4,
1106
+ "kCamera": 5
880
1107
  }
881
1108
  }
882
1109
  }
@@ -929,18 +1156,64 @@
929
1156
  }
930
1157
  },
931
1158
  "DeviceSettings": {
1159
+ "fields": {
1160
+ "values": {
1161
+ "type": "google.protobuf.Struct",
1162
+ "id": 4
1163
+ }
1164
+ },
1165
+ "reserved": [
1166
+ [
1167
+ 1,
1168
+ 1
1169
+ ],
1170
+ [
1171
+ 2,
1172
+ 2
1173
+ ],
1174
+ [
1175
+ 3,
1176
+ 3
1177
+ ],
1178
+ "name",
1179
+ "time_source",
1180
+ "fpga_clock_freq_hz"
1181
+ ]
1182
+ },
1183
+ "SettingDescriptor": {
932
1184
  "fields": {
933
1185
  "name": {
934
1186
  "type": "string",
935
1187
  "id": 1
936
1188
  },
937
- "timeSource": {
938
- "type": "TimeSource",
1189
+ "description": {
1190
+ "type": "string",
939
1191
  "id": 2
940
1192
  },
941
- "fpgaClockFreqHz": {
942
- "type": "uint32",
1193
+ "kind": {
1194
+ "type": "Kind",
943
1195
  "id": 3
1196
+ },
1197
+ "defaultValue": {
1198
+ "type": "google.protobuf.Value",
1199
+ "id": 4
1200
+ },
1201
+ "allowedValues": {
1202
+ "rule": "repeated",
1203
+ "type": "google.protobuf.Value",
1204
+ "id": 5
1205
+ }
1206
+ },
1207
+ "nested": {
1208
+ "Kind": {
1209
+ "values": {
1210
+ "kKindUnknown": 0,
1211
+ "kString": 1,
1212
+ "kInt": 2,
1213
+ "kDouble": 3,
1214
+ "kBool": 4,
1215
+ "kEnum": 5
1216
+ }
944
1217
  }
945
1218
  }
946
1219
  },
@@ -952,6 +1225,11 @@
952
1225
  "settings": {
953
1226
  "type": "DeviceSettings",
954
1227
  "id": 1
1228
+ },
1229
+ "schema": {
1230
+ "rule": "repeated",
1231
+ "type": "SettingDescriptor",
1232
+ "id": 2
955
1233
  }
956
1234
  }
957
1235
  },
@@ -975,171 +1253,6 @@
975
1253
  }
976
1254
  }
977
1255
  },
978
- "TimeSyncPacket": {
979
- "fields": {
980
- "clientId": {
981
- "type": "fixed32",
982
- "id": 1
983
- },
984
- "sequence": {
985
- "type": "fixed32",
986
- "id": 2
987
- },
988
- "clientSendTimeNs": {
989
- "type": "fixed64",
990
- "id": 3
991
- },
992
- "serverReceiveTimeNs": {
993
- "type": "fixed64",
994
- "id": 4
995
- },
996
- "serverSendTimeNs": {
997
- "type": "fixed64",
998
- "id": 5
999
- },
1000
- "clientReceiveTimeNs": {
1001
- "type": "fixed64",
1002
- "id": 6
1003
- }
1004
- }
1005
- },
1006
- "TimeSource": {
1007
- "values": {
1008
- "TIME_SOURCE_UNKNOWN": 0,
1009
- "TIME_SOURCE_STEADY_CLOCK": 1,
1010
- "TIME_SOURCE_SAMPLE_COUNTER": 2
1011
- }
1012
- },
1013
- "DataType": {
1014
- "values": {
1015
- "kDataTypeUnknown": 0,
1016
- "kAny": 1,
1017
- "kBroadband": 2,
1018
- "kSpiketrain": 3,
1019
- "kTimestamps": 4,
1020
- "kImage": 5,
1021
- "kWaveforms": 6
1022
- }
1023
- },
1024
- "Tensor": {
1025
- "fields": {
1026
- "timestampNs": {
1027
- "type": "uint64",
1028
- "id": 1
1029
- },
1030
- "shape": {
1031
- "rule": "repeated",
1032
- "type": "int32",
1033
- "id": 2
1034
- },
1035
- "dtype": {
1036
- "type": "DType",
1037
- "id": 3
1038
- },
1039
- "endianness": {
1040
- "type": "Endianness",
1041
- "id": 4
1042
- },
1043
- "data": {
1044
- "type": "bytes",
1045
- "id": 5
1046
- }
1047
- },
1048
- "nested": {
1049
- "DType": {
1050
- "values": {
1051
- "DT_INVALID": 0,
1052
- "DT_FLOAT": 1,
1053
- "DT_DOUBLE": 2,
1054
- "DT_UINT8": 3,
1055
- "DT_UINT16": 4,
1056
- "DT_UINT32": 5,
1057
- "DT_UINT64": 6,
1058
- "DT_INT8": 7,
1059
- "DT_INT16": 8,
1060
- "DT_INT32": 9,
1061
- "DT_INT64": 10,
1062
- "DT_BOOL": 11
1063
- }
1064
- },
1065
- "Endianness": {
1066
- "values": {
1067
- "TENSOR_LITTLE_ENDIAN": 0,
1068
- "TENSOR_BIG_ENDIAN": 1
1069
- }
1070
- }
1071
- }
1072
- },
1073
- "BroadbandFrame": {
1074
- "fields": {
1075
- "timestampNs": {
1076
- "type": "uint64",
1077
- "id": 1
1078
- },
1079
- "sequenceNumber": {
1080
- "type": "uint64",
1081
- "id": 2
1082
- },
1083
- "frameData": {
1084
- "rule": "repeated",
1085
- "type": "sint32",
1086
- "id": 3
1087
- },
1088
- "sampleRateHz": {
1089
- "type": "uint32",
1090
- "id": 4
1091
- },
1092
- "channelRanges": {
1093
- "rule": "repeated",
1094
- "type": "ChannelRange",
1095
- "id": 5
1096
- },
1097
- "unixTimestampNs": {
1098
- "type": "uint64",
1099
- "id": 6
1100
- }
1101
- }
1102
- },
1103
- "Timeseries": {
1104
- "fields": {
1105
- "id": {
1106
- "type": "uint32",
1107
- "id": 1
1108
- },
1109
- "datapoints": {
1110
- "rule": "repeated",
1111
- "type": "Datapoint",
1112
- "id": 2
1113
- }
1114
- },
1115
- "nested": {
1116
- "Datapoint": {
1117
- "fields": {
1118
- "timestampNs": {
1119
- "type": "uint64",
1120
- "id": 1
1121
- },
1122
- "sample": {
1123
- "type": "sint32",
1124
- "id": 2
1125
- }
1126
- }
1127
- }
1128
- }
1129
- },
1130
- "AnnotatedTensor": {
1131
- "fields": {
1132
- "tensor": {
1133
- "type": "Tensor",
1134
- "id": 1
1135
- },
1136
- "metadata": {
1137
- "keyType": "string",
1138
- "type": "google.protobuf.Value",
1139
- "id": 2
1140
- }
1141
- }
1142
- },
1143
1256
  "ListFilesResponse": {
1144
1257
  "fields": {
1145
1258
  "files": {
@@ -1640,6 +1753,41 @@
1640
1753
  "responseType": "UpdateDeviceSettingsResponse"
1641
1754
  }
1642
1755
  }
1756
+ },
1757
+ "TimeSyncPacket": {
1758
+ "fields": {
1759
+ "clientId": {
1760
+ "type": "fixed32",
1761
+ "id": 1
1762
+ },
1763
+ "sequence": {
1764
+ "type": "fixed32",
1765
+ "id": 2
1766
+ },
1767
+ "clientSendTimeNs": {
1768
+ "type": "fixed64",
1769
+ "id": 3
1770
+ },
1771
+ "serverReceiveTimeNs": {
1772
+ "type": "fixed64",
1773
+ "id": 4
1774
+ },
1775
+ "serverSendTimeNs": {
1776
+ "type": "fixed64",
1777
+ "id": 5
1778
+ },
1779
+ "clientReceiveTimeNs": {
1780
+ "type": "fixed64",
1781
+ "id": 6
1782
+ }
1783
+ }
1784
+ },
1785
+ "TimeSource": {
1786
+ "values": {
1787
+ "TIME_SOURCE_UNKNOWN": 0,
1788
+ "TIME_SOURCE_STEADY_CLOCK": 1,
1789
+ "TIME_SOURCE_SAMPLE_COUNTER": 2
1790
+ }
1643
1791
  }
1644
1792
  }
1645
1793
  },