@@ -29,6 +29,7 @@ class AvailableData:
29
29
class Camera :
30
30
identifier : Optional [DeviceIdentifier ]
31
31
settings : CameraProperties
32
+
32
33
def __init__ (self , * args : None , ** kwargs : Any ) -> None : ...
33
34
def dict (self ) -> Dict [str , Any ]: ...
34
35
@@ -43,6 +44,7 @@ class CameraCapabilities:
43
44
supported_pixel_types : List [SampleType ]
44
45
digital_lines : DigitalLineCapabilities
45
46
triggers : TriggerCapabilities
47
+
46
48
def dict (self ) -> Dict [str , Any ]: ...
47
49
48
50
@final
@@ -56,35 +58,52 @@ class CameraProperties:
56
58
shape : Tuple [int , int ]
57
59
input_triggers : InputTriggers
58
60
output_triggers : OutputTriggers
61
+
59
62
def __init__ (self , * args : None , ** kwargs : Any ) -> None : ...
60
63
def dict (self ) -> Dict [str , Any ]: ...
61
64
62
65
@final
63
66
class Capabilities :
64
67
video : Tuple [VideoStreamCapabilities , VideoStreamCapabilities ]
68
+
65
69
def __init__ (self , * args : None , ** kwargs : Any ) -> None : ...
66
70
def dict (self ) -> Dict [str , Any ]: ...
67
71
68
72
@final
69
- class ChunkDims :
70
- width : int
71
- height : int
72
- planes : int
73
- def dict (self ) -> Dict [str , Any ]: ...
73
+ class DimensionType :
74
+ """The storage dimension type.
74
75
75
- @final
76
- class ChunkingCapabilities :
77
- is_supported : bool
78
- width : Property
79
- height : Property
80
- planes : Property
81
- def dict (self ) -> Dict [str , Any ]: ...
76
+ Space: spatial dimension.
77
+ Channel: color channel dimension.
78
+ Time: time dimension.
79
+ Other: other dimension.
80
+
81
+ When downsampling, Space and Time dimensions are downsampled by the same factor.
82
+ Channel and Other dimensions are not downsampled.
83
+
84
+ This value is also reflected in the dimension metadata of an OME-Zarr dataset.
85
+ """
86
+
87
+ Space : ClassVar [DimensionType ]
88
+ Channel : ClassVar [DimensionType ]
89
+ Time : ClassVar [DimensionType ]
90
+ Other : ClassVar [DimensionType ]
91
+
92
+ def __init__ (self , * args : None , ** kwargs : Any ) -> None : ...
93
+ def __eq__ (self , other : object ) -> bool : ...
94
+ def __ge__ (self , other : object ) -> bool : ...
95
+ def __gt__ (self , other : object ) -> bool : ...
96
+ def __int__ (self ) -> int : ...
97
+ def __le__ (self , other : object ) -> bool : ...
98
+ def __lt__ (self , other : object ) -> bool : ...
99
+ def __ne__ (self , other : object ) -> bool : ...
82
100
83
101
@final
84
102
class DeviceIdentifier :
85
103
id : Tuple [int , int ]
86
104
kind : DeviceKind
87
105
name : str
106
+
88
107
def __init__ (self , * args : None , ** kwargs : Any ) -> None : ...
89
108
def dict (self ) -> Dict [str , Any ]: ...
90
109
@staticmethod
@@ -103,6 +122,7 @@ class DeviceKind:
103
122
Signals : ClassVar [DeviceKind ]
104
123
StageAxis : ClassVar [DeviceKind ]
105
124
Storage : ClassVar [DeviceKind ]
125
+
106
126
def __init__ (self , * args : None , ** kwargs : Any ) -> None : ...
107
127
def __eq__ (self , other : object ) -> bool : ...
108
128
def __ge__ (self , other : object ) -> bool : ...
@@ -131,6 +151,7 @@ class DeviceState:
131
151
AwaitingConfiguration : ClassVar [DeviceState ]
132
152
Armed : ClassVar [DeviceState ]
133
153
Running : ClassVar [DeviceState ]
154
+
134
155
def __eq__ (self , other : object ) -> bool : ...
135
156
def __ge__ (self , other : object ) -> bool : ...
136
157
def __gt__ (self , other : object ) -> bool : ...
@@ -143,12 +164,14 @@ class DeviceState:
143
164
class DigitalLineCapabilities :
144
165
line_count : int
145
166
names : Tuple [str , str , str , str , str , str , str , str ]
167
+
146
168
def dict (self ) -> Dict [str , Any ]: ...
147
169
148
170
@final
149
171
class Direction :
150
172
Backward : ClassVar [Direction ]
151
173
Forward : ClassVar [Direction ]
174
+
152
175
def __eq__ (self , other : object ) -> bool : ...
153
176
def __ge__ (self , other : object ) -> bool : ...
154
177
def __gt__ (self , other : object ) -> bool : ...
@@ -162,31 +185,30 @@ class InputTriggers:
162
185
acquisition_start : Trigger
163
186
exposure : Trigger
164
187
frame_start : Trigger
165
- def dict (self ) -> Dict [str , Any ]: ...
166
188
167
- @final
168
- class MultiscaleCapabilities :
169
- is_supported : bool
170
189
def dict (self ) -> Dict [str , Any ]: ...
171
190
172
191
@final
173
192
class OffsetShapeCapabilities :
174
193
x : Property
175
194
y : Property
195
+
176
196
def dict (self ) -> Dict [str , Any ]: ...
177
197
178
198
@final
179
199
class OutputTriggers :
180
200
exposure : Trigger
181
201
frame_start : Trigger
182
202
trigger_wait : Trigger
203
+
183
204
def dict (self ) -> Dict [str , Any ]: ...
184
205
185
206
@final
186
207
class PID :
187
208
derivative : float
188
209
integral : float
189
210
proportional : float
211
+
190
212
def __init__ (self , * args : None , ** kwargs : Any ) -> None : ...
191
213
def dict (self ) -> Dict [str , Any ]: ...
192
214
@@ -196,6 +218,7 @@ class Property:
196
218
low : float
197
219
high : float
198
220
kind : PropertyType
221
+
199
222
def __init__ (self , * args : None , ** kwargs : Any ) -> None : ...
200
223
def dict (self ) -> Dict [str , Any ]: ...
201
224
@@ -205,6 +228,7 @@ class PropertyType:
205
228
FloatingPrecision : ClassVar [PropertyType ]
206
229
Enum : ClassVar [PropertyType ]
207
230
String : ClassVar [PropertyType ]
231
+
208
232
def __eq__ (self , other : object ) -> bool : ...
209
233
def __ge__ (self , other : object ) -> bool : ...
210
234
def __gt__ (self , other : object ) -> bool : ...
@@ -216,6 +240,7 @@ class PropertyType:
216
240
@final
217
241
class Properties :
218
242
video : Tuple [VideoStream , VideoStream ]
243
+
219
244
def __init__ (self , * args : None , ** kwargs : Any ) -> None : ...
220
245
def dict (self ) -> Dict [str , Any ]: ...
221
246
@@ -237,6 +262,7 @@ class Runtime:
237
262
class SampleRateHz :
238
263
numerator : int
239
264
denominator : int
265
+
240
266
def __init__ (self , * args : None , ** kwargs : Any ) -> None : ...
241
267
def dict (self ) -> Dict [str , Any ]: ...
242
268
@@ -250,6 +276,7 @@ class SampleType:
250
276
U10 : ClassVar [SampleType ]
251
277
U12 : ClassVar [SampleType ]
252
278
U14 : ClassVar [SampleType ]
279
+
253
280
def __eq__ (self , other : object ) -> bool : ...
254
281
def __ge__ (self , other : object ) -> bool : ...
255
282
def __gt__ (self , other : object ) -> bool : ...
@@ -258,25 +285,11 @@ class SampleType:
258
285
def __lt__ (self , other : object ) -> bool : ...
259
286
def __ne__ (self , other : object ) -> bool : ...
260
287
261
- @final
262
- class ShardDims :
263
- width : int
264
- height : int
265
- planes : int
266
- def dict (self ) -> Dict [str , Any ]: ...
267
-
268
- @final
269
- class ShardingCapabilities :
270
- is_supported : bool
271
- width : Property
272
- height : Property
273
- planes : Property
274
- def dict (self ) -> Dict [str , Any ]: ...
275
-
276
288
@final
277
289
class SignalIOKind :
278
290
Input : ClassVar [SignalIOKind ]
279
291
Output : ClassVar [SignalIOKind ]
292
+
280
293
def __eq__ (self , other : object ) -> bool : ...
281
294
def __ge__ (self , other : object ) -> bool : ...
282
295
def __gt__ (self , other : object ) -> bool : ...
@@ -289,6 +302,7 @@ class SignalIOKind:
289
302
class SignalType :
290
303
Analog : ClassVar [SignalType ]
291
304
Digital : ClassVar [SignalType ]
305
+
292
306
def __eq__ (self , other : object ) -> bool : ...
293
307
def __ge__ (self , other : object ) -> bool : ...
294
308
def __gt__ (self , other : object ) -> bool : ...
@@ -301,13 +315,25 @@ class SignalType:
301
315
class Storage :
302
316
identifier : Optional [DeviceIdentifier ]
303
317
settings : StorageProperties
318
+
304
319
def dict (self ) -> Dict [str , Any ]: ...
305
320
306
321
@final
307
322
class StorageCapabilities :
308
- chunk_dims_px : ChunkingCapabilities
309
- shard_dims_chunks : ShardingCapabilities
310
- multiscale : MultiscaleCapabilities
323
+ chunking_is_supported : bool
324
+ sharding_is_supported : bool
325
+ multiscale_is_supported : bool
326
+
327
+ def dict (self ) -> Dict [str , Any ]: ...
328
+
329
+ @final
330
+ class StorageDimension :
331
+ name : str
332
+ kind : DimensionType
333
+ array_size_px : int
334
+ chunk_size_px : int
335
+ shard_size_chunks : int
336
+
311
337
def dict (self ) -> Dict [str , Any ]: ...
312
338
313
339
@final
@@ -316,9 +342,9 @@ class StorageProperties:
316
342
filename : Optional [str ]
317
343
first_frame_id : int
318
344
pixel_scale_um : Tuple [float , float ]
319
- chunk_dims_px : ChunkDims
320
- shard_dims_chunks : ShardDims
345
+ acquisition_dimensions : List [StorageDimension ]
321
346
enable_multiscale : bool
347
+
322
348
def dict (self ) -> Dict [str , Any ]: ...
323
349
324
350
@final
@@ -327,6 +353,7 @@ class Trigger:
327
353
enable : bool
328
354
line : int
329
355
kind : SignalIOKind
356
+
330
357
def __init__ (self , * args : None , ** kwargs : Any ) -> None : ...
331
358
def dict (self ) -> Dict [str , Any ]: ...
332
359
@@ -335,6 +362,7 @@ class TriggerCapabilities:
335
362
acquisition_start : TriggerInputOutputCapabilities
336
363
exposure : TriggerInputOutputCapabilities
337
364
frame_start : TriggerInputOutputCapabilities
365
+
338
366
def dict (self ) -> Dict [str , Any ]: ...
339
367
340
368
@final
@@ -345,6 +373,7 @@ class TriggerEdge:
345
373
AnyEdge : ClassVar [TriggerEdge ]
346
374
LevelLow : ClassVar [TriggerEdge ]
347
375
LevelHigh : ClassVar [TriggerEdge ]
376
+
348
377
def __eq__ (self , other : object ) -> bool : ...
349
378
def __ge__ (self , other : object ) -> bool : ...
350
379
def __gt__ (self , other : object ) -> bool : ...
@@ -357,6 +386,7 @@ class TriggerEdge:
357
386
class TriggerInputOutputCapabilities :
358
387
input : int
359
388
output : int
389
+
360
390
def dict (self ) -> Dict [str , Any ]: ...
361
391
362
392
@final
@@ -368,12 +398,14 @@ class VideoFrame:
368
398
class VideoFrameMetadata :
369
399
frame_id : int
370
400
timestamps : VideoFrameTimestamps
401
+
371
402
def dict (self ) -> Dict [str , Any ]: ...
372
403
373
404
@final
374
405
class VideoFrameTimestamps :
375
406
hardware : int
376
407
acq_thread : int
408
+
377
409
def dict (self ) -> Dict [str , Any ]: ...
378
410
379
411
@final
@@ -382,6 +414,7 @@ class VideoStream:
382
414
storage : Storage
383
415
max_frame_count : int
384
416
frame_average_count : int
417
+
385
418
def dict (self ) -> Dict [str , Any ]: ...
386
419
387
420
@final
@@ -390,12 +423,14 @@ class VideoStreamCapabilities:
390
423
storage : StorageCapabilities
391
424
max_frame_count : Property
392
425
frame_average_count : Property
426
+
393
427
def dict (self ) -> Dict [str , Any ]: ...
394
428
395
429
@final
396
430
class VoltageRange :
397
431
mn : float
398
432
mx : float
433
+
399
434
@overload
400
435
def __init__ (self ) -> None : ...
401
436
@overload
0 commit comments